
    3hh                     X    S SK r  " S S\ R                  S9r " S S\ R                  S9rg)    Nc                       \ rS rSrSr\R                  S 5       r\R                  S 5       r\R                  S 5       r	\R                  S 5       r
\R                  S 5       r\R                  S 5       rS	rg
)FinderTests   z!Basic tests for a finder to pass.c                     g N selfs    @/opt/python-3.13.8/usr/lib/python3.13/test/test_importlib/abc.pytest_moduleFinderTests.test_module        	    c                     g r   r   r	   s    r   test_packageFinderTests.test_package   r   r   c                     g r   r   r	   s    r   test_module_in_package"FinderTests.test_module_in_package        	r   c                     g r   r   r	   s    r   test_package_in_package#FinderTests.test_package_in_package   r   r   c                     g r   r   r	   s    r   test_package_over_module$FinderTests.test_package_over_module   r   r   c                     g r   r   r	   s    r   test_failureFinderTests.test_failure#   r   r   r   N)__name__
__module____qualname____firstlineno____doc__abcabstractmethodr   r   r   r   r   r   __static_attributes__r   r   r   r   r      s    +  	  	 
 	 
 	  	 r   r   )	metaclassc                       \ rS rSr\R
                  S 5       r\R
                  S 5       r\R
                  S 5       r\R
                  S 5       r	\R
                  S 5       r
Srg)	LoaderTests)   c                     g)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__

Nr   r	   s    r   r   LoaderTests.test_module+   s     	r   c                     g)zLoading a package should work.

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

Attributes to verify:

    * __name__
    * __file__
    * __package__
    * __path__
    * __loader__

Nr   r	   s    r   r   LoaderTests.test_package;   s     	r   c                     g)zGA loader should not be dependent on it's parent package being
imported.Nr   r	   s    r   test_lacking_parentLoaderTests.test_lacking_parentL   r   r   c                     g)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.Nr   r	   s    r   test_state_after_failure$LoaderTests.test_state_after_failureR   s    
 	r   c                     g)zNTest ImportError is raised when the loader is asked to load a module
it can't.Nr   r	   s    r   test_unloadableLoaderTests.test_unloadableY   r   r   r   N)r    r!   r"   r#   r%   r&   r   r   r1   r4   r7   r'   r   r   r   r*   r*   )   s      	   	 
 	  	 r   r*   )r%   ABCMetar   r*   r   r   r   <module>r:      s)    
"CKK "J4CKK 4r   