a  ze@s4ddlZGdddejdZGdddejdZdS)Nc@sdeZdZdZejddZejddZejddZejdd Z ejd d Z ejd d Z dS) FinderTestsz!Basic tests for a finder to pass.cCsdSNselfrrK/opt/bitninja-python-dojo/embedded/lib/python3.9/test/test_importlib/abc.py test_moduleszFinderTests.test_modulecCsdSrrrrrr test_package szFinderTests.test_packagecCsdSrrrrrrtest_module_in_packagesz"FinderTests.test_module_in_packagecCsdSrrrrrrtest_package_in_packagesz#FinderTests.test_package_in_packagecCsdSrrrrrrtest_package_over_modulesz$FinderTests.test_package_over_modulecCsdSrrrrrr test_failure#szFinderTests.test_failureN) __name__ __module__ __qualname____doc__abcabstractmethodrr r r r r rrrrrs     r) metaclassc@sReZdZejddZejddZejddZejddZejd d Z d S) LoaderTestscCsdS)zA module should load without issue. After the loader returns the module should be in sys.modules. Attributes to verify: * __file__ * __loader__ * __name__ * No __path__ Nrrrrrr+szLoaderTests.test_modulecCsdS)aLoading a package should work. After the loader returns the module should be in sys.modules. Attributes to verify: * __name__ * __file__ * __package__ * __path__ * __loader__ Nrrrrrr ;szLoaderTests.test_packagecCsdS)zOA loader should not be dependent on it's parent package being imported.Nrrrrrtest_lacking_parentLszLoaderTests.test_lacking_parentcCsdS)zIf a module is already in sys.modules and a reload fails (e.g. a SyntaxError), the module should be in the state it was before the reload began.Nrrrrrtest_state_after_failureRsz$LoaderTests.test_state_after_failurecCsdS)zVTest ImportError is raised when the loader is asked to load a module it can't.Nrrrrrtest_unloadableYszLoaderTests.test_unloadableN) rrrrrrr rrrrrrrr)s    r)rABCMetarrrrrrs%