Your IP : 216.73.217.32


Current Path : /opt/alt/python35/lib64/python3.5/test/test_importlib/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/test/test_importlib/__pycache__/abc.cpython-35.opt-1.pyc



��Yf��@sTddlZddlZGdd�ddej�ZGdd�ddej�ZdS)�Nc@s�eZdZdZejdd��Zejdd��Zejdd��Zejdd	��Z	ejd
d��Z
ejdd
��ZdS)�FinderTestsz!Basic tests for a finder to pass.cCsdS)N�)�selfrr�</opt/alt/python35/lib64/python3.5/test/test_importlib/abc.py�test_module	szFinderTests.test_modulecCsdS)Nr)rrrr�test_packageszFinderTests.test_packagecCsdS)Nr)rrrr�test_module_in_packagesz"FinderTests.test_module_in_packagecCsdS)Nr)rrrr�test_package_in_packagesz#FinderTests.test_package_in_packagecCsdS)Nr)rrrr�test_package_over_modulesz$FinderTests.test_package_over_modulecCsdS)Nr)rrrr�test_failure$szFinderTests.test_failureN)�__name__�
__module__�__qualname__�__doc__�abc�abstractmethodrrrr	r
rrrrrrsr�	metaclassc@syeZdZejdd��Zejdd��Zejdd��Zejdd��Zejd	d
��Z	dS)�LoaderTestscCsdS)z�A module should load without issue.

        After the loader returns the module should be in sys.modules.

        Attributes to verify:

            * __file__
            * __loader__
            * __name__
            * No __path__

        Nr)rrrrr,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__

        Nr)rrrrr<szLoaderTests.test_packagecCsdS)zOA loader should not be dependent on it's parent package being
        imported.Nr)rrrr�test_lacking_parentMszLoaderTests.test_lacking_parentcCsdS)z�If 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.Nr)rrrr�test_state_after_failureSsz$LoaderTests.test_state_after_failurecCsdS)zVTest ImportError is raised when the loader is asked to load a module
        it can't.Nr)rrrr�test_unloadableZszLoaderTests.test_unloadableN)
rr
rrrrrrrrrrrrr*s
r)rZunittest�ABCMetarrrrrr�<module>s%