File: D:/Python311/Lib/test/test_importlib/extension/__pycache__/test_path_hook.cpython-311.pyc
�
��Vc� � � � d dl mZ ej d� � Zd dlZ G d� d� � Z ej ee�� � \ ZZe dk r ej
� � dS dS )� )�utilzimportlib.machineryNc � � e Zd ZdZd� Zd� ZdS )�
PathHookTestsz)Test the path hook for extension modules.c �~ � | j j � | j j | j j f� � |� � S )N)� machinery�
FileFinder� path_hook�ExtensionFileLoader�EXTENSION_SUFFIXES)�self�entrys �@D:\Python311\Lib\test\test_importlib\extension\test_path_hook.py�hookzPathHookTests.hook sE � �5�t�~�(�2�2���3���2�4�5� 5�5:�<� <� <� c � � | � t | � t j j � � d� � � � d S )N�find_module)�
assertTrue�hasattrr r �
EXTENSIONS�path)r s r �test_successzPathHookTests.test_success s7 � �
����� � �$�/�*>� ?� ?��O�O�P�P�P�P�Pr N)�__name__�
__module__�__qualname__�__doc__r r � r r r r s= � � � � � �3�3�<� <� <�
Q� Q� Q� Q� Qr r )r �__main__)�test.test_importlibr �import_importlibr �unittestr � test_both�Frozen_PathHooksTests�Source_PathHooksTestsr �mainr r r �<module>r% s� �� $� $� $� $� $� $�!�D�!�"7�8�8� � ����Q� Q� Q� Q� Q� Q� Q� Q�&