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
This can shadow bugs where a module is accessed as an attribute of a package. Is there a way to "unport" modules? Deleting them from sys.modules leaves the attributes intact.
The text was updated successfully, but these errors were encountered:
I'm not sure if it is sanely possible to "unimport" in Python. Perhaps the default scanning should be limited to packages named 'tests' (including subpackages). This goes against the original ideals of Attest but might be sensible for a default. This is really only about when you run "attest" with no arguments specifying the location of the tests.
This can shadow bugs where a module is accessed as an attribute of a package. Is there a way to "unport" modules? Deleting them from sys.modules leaves the attributes intact.
The text was updated successfully, but these errors were encountered: