Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
setuptools
/
tests
/
__pycache__
[ HOME ]
Exec
Submit
test_archive_util.cpython-311.pyc
� �� hM � � � d dl Z d dlZd dlZd dlmZ ej d� � � Zej � d�� � d� � � Z dS )� N)�archive_utilc � � t j � � }t j |d�� � 5 }d}d}t j |� � }t |� � |_ |� |t j |� � � � ddd� � n# 1 swxY w Y | dz }t t |� � d�� � 5 }|� |� � � � � ddd� � n# 1 swxY w Y t |� � S ) ul Create a tarfile containing only a file whose name is a zero byte file called testimäge.png. zw:gz)�fileobj�mode� u testimäge.pngNzunicode-pkg-1.0.tar.gz�wb)r )�io�BytesIO�tarfile�open�TarInfo�len�size�addfile�str�write�getvalue)�tmpdir�tarobj�tgz�data�filename�t�target�tfs �s/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/setuptools/tests/test_archive_util.py�tarfile_with_unicoder sZ � � �Z�\�\�F� ��f�6� 2� 2� 2� )�c���$���O�H�%�%���T��������A�r�z�$�'�'�(�(�(�)� )� )� )� )� )� )� )� )� )� )���� )� )� )� )� �.� .�F� �c�&�k�k�� %� %� %� $�� ������"�"�#�#�#�$� $� $� $� $� $� $� $� $� $� $���� $� $� $� $��v�;�;�s$ �AB�B�B�9(C-�-C1�4C1z #710 and #712)�reasonc �T � |dz }t j | t |� � � � d S )N�out)r �unpack_archiver )r r r s r �test_unicode_filesr"