HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/test/test_importlib/__pycache__/test_zip.cpython-311.pyc
�

��Vc@���ddlZddlZddlmZddlmZmZmZmZm	Z	m
Z
Gd�dejej��Z
Gd�de
��ZdS)	�N�)�fixtures)�PackageNotFoundError�distribution�
distributions�entry_points�files�versionc�H��eZdZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
�xZS)	�TestZipc�r��t�����|�d��dS)Nzexample-21.12-py3-none-any.whl��super�setUp�_fixture_on_path��self�	__class__s ��0D:\Python311\Lib\test\test_importlib\test_zip.pyrz
TestZip.setUps/���
���
�
�������>�?�?�?�?�?�c�L�|�td��d��dS)N�example�21.12��assertEqualr
�rs r�test_zip_versionzTestZip.test_zip_version�&�������+�+�W�5�5�5�5�5rc��|�t��5td��ddd��dS#1swxYwYdS)Nzdefinitely-not-installed)�assertRaisesrr
rs r�test_zip_version_does_not_matchz'TestZip.test_zip_version_does_not_matchs���
�
�
�3�
4�
4�	0�	0��.�/�/�/�	0�	0�	0�	0�	0�	0�	0�	0�	0�	0�	0�	0����	0�	0�	0�	0�	0�	0s�8�<�<c��td���}|d}|�|jd��|d}|�|jd��dS)N�console_scripts)�grouprzexample:main�Example)rr�value)r�scripts�entry_points   r�test_zip_entry_pointszTestZip.test_zip_entry_pointss_���%6�7�7�7���i�(������*�N�;�;�;��i�(������*�N�;�;�;�;�;rc�p�|�td���d����dS)Nrzdoes not exist)�assertIsNoner�	read_textrs r�test_missing_metadatazTestZip.test_missing_metadata"s3�����,�y�1�1�;�;�<L�M�M�N�N�N�N�Nrc�L�|�td��d��dS)Nr%rrrs r�test_case_insensitivezTestZip.test_case_insensitive%rrc��td��D]7}t|j�|����}d|vs
J|����8dS)Nrz.whl/�r	�str�dist�locate_file�r�file�paths   r�
test_fileszTestZip.test_files(�[���)�$�$�	)�	)�D��t�y�,�,�T�2�2�3�3�D��d�?�(�(�D�(�(�(�(�	)�	)rc��tttjdd������}t	|��dksJ�dS)Nr)r7)�listr�sysr7�len)r�distss  r�test_one_distributionzTestZip.test_one_distribution-s@���]����!���5�5�5�6�6���5�z�z�Q������r)�__name__�
__module__�__qualname__rrr!r)r-r/r8r?�
__classcell__�rs@rrrs��������@�@�@�@�@�6�6�6�0�0�0�<�<�<�O�O�O�6�6�6�)�)�)�
������rrc�*��eZdZ�fd�Zd�Zd�Z�xZS)�TestEggc�r��t�����|�d��dS)Nzexample-21.12-py3.6.eggrrs �rrz
TestEgg.setUp3s/���
���
�
�������7�8�8�8�8�8rc��td��D]7}t|j�|����}d|vs
J|����8dS)Nrz.egg/r1r5s   rr8zTestEgg.test_files7r9rc�>�td��}|jdksJ�dS)Nr)r�_normalized_name)rr3s  r�test_normalized_namezTestEgg.test_normalized_name<s)���I�&�&���$�	�1�1�1�1�1�1r)r@rArBrr8rKrCrDs@rrFrF2sV�������9�9�9�9�9�)�)�)�
2�2�2�2�2�2�2rrF)r<�unittest�r�importlib.metadatarrrrr	r
�ZipFixtures�TestCaserrF�rr�<module>rRs���
�
�
�
��������������������������� � � � � �h�"�H�$5� � � �F2�2�2�2�2�g�2�2�2�2�2r