When running unit tests via $ python -m unittest discover I get the error message 'FrozenImporter' has no attribute 'get_filename'. This is because pkgutil.get_loader() can return different types of loaders.
Expected Behavior
The unit test should pass.
Actual Behavior
I get the error message 'FrozenImporter' has no attribute 'get_filename'.
Description
When running unit tests via
$ python -m unittest discover
I get the error message'FrozenImporter' has no attribute 'get_filename'
. This is because pkgutil.get_loader() can return different types of loaders.Expected Behavior
The unit test should pass.
Actual Behavior
I get the error message
'FrozenImporter' has no attribute 'get_filename'
.