Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.12/test/test_importlib/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.12/test/test_importlib/__pycache__/test_zip.cpython-312.opt-2.pyc

�

)Μg���ddlZddlZddlmZddlmZmZmZmZm	Z	m
Z
Gd�dejej�Z
Gd�de
�Zy)	�N�)�fixtures)�PackageNotFoundError�distribution�
distributions�entry_points�files�versionc�H��eZdZ�fd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
�xZS)	�TestZipc�D��t�|��|jd�y)Nzexample-21.12-py3-none-any.whl��super�setUp�_fixture_on_path��self�	__class__s ��9/usr/local/lib/python3.12/test/test_importlib/test_zip.pyrz
TestZip.setUps���
��
�����>�?�c�:�|jtd�d�y)N�example�21.12��assertEqualr
�rs r�test_zip_versionzTestZip.test_zip_version��������+�W�5rc�n�|jt�5td�ddd�y#1swYyxYw)Nzdefinitely-not-installed)�assertRaisesrr
rs r�test_zip_version_does_not_matchz'TestZip.test_zip_version_does_not_matchs&��
�
�
�3�
4��.�/�5�
4�
4�s�+�4c��td��}|d}|j|jd�|d}|j|jd�y)N�console_scripts)�grouprzexample:main�Example)rr�value)r�scripts�entry_points   r�test_zip_entry_pointszTestZip.test_zip_entry_pointssM���%6�7���i�(������*�*�N�;��i�(������*�*�N�;rc�V�|jtd�jd��y)Nrzdoes not exist)�assertIsNoner�	read_textrs r�test_missing_metadatazTestZip.test_missing_metadata"s!�����,�y�1�;�;�<L�M�Nrc�:�|jtd�d�y)Nr%rrrs r�test_case_insensitivezTestZip.test_case_insensitive%rrc�l�td�D]&}t|jj|��}�(y�Nr�r	�str�dist�locate_file�r�file�paths   r�
test_fileszTestZip.test_files(�*���)�$�D��t�y�y�,�,�T�2�3�D�%rc�P�tttjdd���}y)Nr)r8)�listr�sysr8)r�distss  r�test_one_distributionzTestZip.test_one_distribution-s���]�����!��5�6�r)�__name__�
__module__�__qualname__rrr!r)r-r/r9r?�
__classcell__�rs@rrrs-���@�6�0�<�O�6�)�
rrc�*��eZdZ�fd�Zd�Zd�Z�xZS)�TestEggc�D��t�|��|jd�y)Nzexample-21.12-py3.6.eggrrs �rrz
TestEgg.setUp3s���
��
�����7�8rc�l�td�D]&}t|jj|��}�(yr1r2r6s   rr9zTestEgg.test_files7r:rc��td�}yr1)r)rr4s  r�test_normalized_namezTestEgg.test_normalized_name<s���I�&�r)r@rArBrr9rJrCrDs@rrFrF2s���9�)�
2rrF)r=�unittest�r�importlib.metadatarrrrr	r
�ZipFixtures�TestCaserrF�rr�<module>rQs?��
����� �h�"�"�H�$5�$5� �F2�g�2r

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists