File: D:/Python311/Lib/test/test_importlib/__pycache__/test_metadata_api.cpython-311.pyc
�
��Vc
/ � �j � d dl Z d dlZd dlZd dlZd dlZd dlZddlmZ d dlm Z m
Z
mZmZm
Z
mZmZmZ ej d� � � Z G d� dej ej ej ej ej � � Z G d� d ej ej � � Z G d
� dej ej � � Z G d� d
ej � � ZdS )� N� )�fixtures)�Distribution�PackageNotFoundError�distribution�entry_points�files�metadata�requires�versionc # � K � t j d�� � 5 } t j dt �� � | V � d d d � � d S # 1 swxY w Y d S )NT)�record�default)�category)�warnings�catch_warnings�simplefilter�DeprecationWarning)�ctxs �9D:\Python311\Lib\test\test_importlib\test_metadata_api.py�suppress_known_deprecationr s� � � � � � �� -� -� -� ����i�2D�E�E�E�E�� � � �� � � � � � � � � � � ���� � � � � � s � A�A �A c �� � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z d� Z
d � Zd
� Zd� Z
d� Zd
� Zd� Zd� Zd� Zd� Zd� Zd� Zed� � � Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z!d� Z"d � Z#d!S )"�APITestsz\d+\.\d+(\.\d)?c � � t d� � }t |t � � sJ �t j | j |� � sJ �d S �N�egginfo-pkg�r �
isinstance�str�re�match�version_pattern��self�pkg_versions r �test_retrieves_version_of_selfz'APITests.test_retrieves_version_of_self&