You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the defines unit test, no spec is found and so the module from spec fails.
When testing with the simulator, the spec is found and the exec_module succeeds, but:
the module doesn't have the same attributes as the module instance returned from imp.load_module
it looks like when using imp.load_module an alias is used based on the name defined in the YAML, whereas when using importlib I have to give the package name (i.e. name of the directory where the module(s) are located) and I don't see how to substitute it
The imp module is deprecated and needs replacing with importlib:
This is a bit more involved than just a straight replacement. This may help: https://stackoverflow.com/questions/67631/how-to-import-a-module-given-the-full-path
The text was updated successfully, but these errors were encountered: