%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/python/test/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/python/test/__pycache__/test_zippath.cpython-312.pyc |
� Ϫ�f? � �v � d Z ddlmZ ddlZddlZddlmZ ddlmZ ddl m Z mZ ddlm Z dd�Z G d � d e � Zy)z0 Test cases covering L{twisted.python.zippath}. � )�annotationsN)�Union)�_coerceToFilesystemEncoding)� ZipArchive�ZipPath)�AbstractFilePathTestsc � � t d| � }t d|� }t j |d� 5 }t j |� D ]n \ }}}|D ]c }t j j ||� } t j j ||� t | � dz d } |j | | � �e �p ddd� y# 1 sw Y yxY w)zI Create a zipfile on zfname, containing the contents of dirname' � �w� N) r �zipfile�ZipFile�os�walk�path�join�len�write)�dirname�zfname�coercedDirname� coercedZfname�zf�root�ignored�files�fname�fspath�arcpaths �B/usr/lib/python3/dist-packages/twisted/python/test/test_zippath.py�zipitr! s� � � 1��W�=�N�/��F�;�M� ����� ,� *�� �W�W�^� $� *� ����� *�������d�E�2���'�'�,�,�t�U�3�C��L�1�4D�4F�G�������)� *� *� *� *� *�s �BC � C c �N � e Zd ZU dZded<