Your IP : 216.73.216.213


Current Path : /opt/alt/python39/lib64/python3.9/test/test_importlib/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/test/test_importlib/__pycache__/test_path.cpython-39.pyc

a

XC?h��@s�ddlZddlmZddlmZddlmZGdd�dejej�ZGdd	�d	�Z	Gd
d�de	ej�Z
Gdd
�d
e	ejej�Ze
dkr�e��dS)�N)�	resources�)�data01)�utilc@seZdZdd�ZdS)�CommonTestscCs0t�||��Wd�n1s"0YdS)N)r�path)�self�packager�r
�B/opt/alt/python39/lib64/python3.9/test/test_importlib/test_path.py�execute	szCommonTests.executeN)�__name__�
__module__�__qualname__rr
r
r
rrsrc@seZdZdd�ZdS)�	PathTestsc	Cs�t�|jd��j}|�|j�d�t|��|jddd��}|��}Wd�n1sT0Y|�	d|�Wd�n1s~0YdS)N�
utf-8.file�rzutf-8)�encodingzHello, UTF-8 world!
)
rr�dataZ
assertTrue�name�endswith�repr�open�readZassertEqual)rr�file�textr
r
r�test_readings
&zPathTests.test_readingN)r
rrrr
r
r
rrsrc@seZdZeZdS)�
PathDiskTestsN)r
rrrrr
r
r
rrsrc@seZdZdd�ZdS)�PathZipTestscCs:t�|jd��}|��Wd�n1s,0YdS)Nr)rrr�unlink)rrr
r
r�test_remove_in_context_manager sz+PathZipTests.test_remove_in_context_managerN)r
rrr r
r
r
rrsr�__main__)Zunittest�	importlibr�rrZCommonResourceTestsZTestCaserrrZZipSetuprr
�mainr
r
r
r�<module>s