File: //opt/alt/python312/lib64/python3.12/test/test_importlib/__pycache__/test_zip.cpython-312.opt-2.pyc
�
h�e � � � d dl Z d dlZddlmZ d dlmZmZmZmZm Z m
Z
G d� dej ej � Z
G d� de
� Zy) � N� )�fixtures)�PackageNotFoundError�distribution�
distributions�entry_points�files�versionc �H � � e Zd Z� fd�Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z
� xZS ) �TestZipc �D �� t �| � � | j d� y )Nzexample-21.12-py3-none-any.whl��super�setUp�_fixture_on_path��self� __class__s ��C/opt/alt/python312/lib64/python3.12/test/test_importlib/test_zip.pyr z
TestZip.setUp s �� �
��
�����>�?� c �: � | j t d� d� y )N�example�21.12��assertEqualr
�r s r �test_zip_versionzTestZip.test_zip_version � � ������+�W�5r c �n � | j t � 5 t d� d d d � y # 1 sw Y y xY w)Nzdefinitely-not-installed)�assertRaisesr r
r s r �test_zip_version_does_not_matchz'TestZip.test_zip_version_does_not_match s/ � �
�
�
�3�
4� 0��.�/� 0� 0� 0�s �+�4c � � t d�� }|d }| j |j d� |d }| j |j d� y )N�console_scripts)�groupr zexample:main�Example)r r �value)r �scripts�entry_points r �test_zip_entry_pointszTestZip.test_zip_entry_points sM � ��%6�7���i�(������*�*�N�;��i�(������*�*�N�;r c �V � | j t d� j d� � y )Nr zdoes not exist)�assertIsNoner � read_textr s r �test_missing_metadatazTestZip.test_missing_metadata"