| Server IP : 121.121.20.254 / Your IP : 216.73.216.41 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/test/test_importlib/extension/__pycache__/ |
Upload File : |
�
���g- � �$ � d dl mZ ej d� Zd dlZ ej
ej du xs ej j du d� G d� d� � Z ej ee�� \ Z
Zedk( r ej � yy) � )�utilzimportlib.machineryNz:dynamic loading not supported or test module not availablec � � e Zd ZdZd� Zd� Zy)�
PathHookTestsz)Test the path hook for extension modules.c � � | j j j | j j | j j f� |� S )N)� machinery�
FileFinder� path_hook�ExtensionFileLoader�EXTENSION_SUFFIXES)�self�entrys �AC:\Python312\\Lib\test\test_importlib\extension\test_path_hook.py�hookzPathHookTests.hook sJ � �5�t�~�~�(�(�2�2����3�3����2�2�4�5�5:�<� <� c � � | j t | j t j j
� d� � y )N� find_spec)�
assertTrue�hasattrr r �
EXTENSIONS�path)r s r �test_successzPathHookTests.test_success s* � �
����� � �$�/�/�*>�*>� ?��M�Nr N)�__name__�
__module__�__qualname__�__doc__r r � r r r r s � � 4�<�
Or r )r �__main__)�test.test_importlibr �import_importlibr �unittest�skipIfr �filenamer � test_both�Frozen_PathHooksTests�Source_PathHooksTestsr �mainr r r �<module>r'