HEX
Server: Apache
System: Linux bd12.noc223.com 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User: handcraf (1693)
PHP: 8.1.28
Disabled: NONE
Upload Files
File: //opt/alt/python312/lib64/python3.12/test/__pycache__/test_lzma.cpython-312.opt-2.pyc
�

�h�e�a���ddlZddlZddlmZmZmZddlZddlZddlZddl	Z	ddl
Z
ddlmZddl
Z
ddlmZmZddlmZddlmZmZed�ZddlmZmZmZmZGd	�d
e
j6�ZGd�de
j6�ZGd
�d�ZGd�de
j6�ZGd�de
j6�Z Gd�de
j6�Z!dZ"dZ#dZ$dZ%ejLdd�gZ'dZ(ejRdd�ejLejTejVzd�gZ,dZ-ej\dd �d!ejLigZ/d"Z0ejRd#d�ejbd$d �ejLd#dd%�gZ2d&Z3d'Z4e5d(k(re
jl�yy))�N)�BytesIO�UnsupportedOperation�DEFAULT_BUFFER_SIZE)�support)�_4G�
bigmemtest)�
import_module)�TESTFN�unlink�lzma)�LZMACompressor�LZMADecompressor�	LZMAError�LZMAFilec�n�eZdZd�Zd�Zd�Zd�Zd'd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zej@e!e"dzd��d ���Z#ej@e!e"dzd!��d"���Z$d#�Z%ejLd$��Z'd%�Z(y&)(�CompressorDecompressorTestCasec�f�|jttg�|jttd��|jttd��|jttd��|jttd��|jtttj
��|jt�5td	d
tjig��ddd�|jttd�|jttd
��|jt�5ttjd��ddd�|jt�5ttjd��ddd�|jttt��|jt�5ttjt��ddd�|jt�5ttjt��ddd�t�}|jt|j�|jt|jdd�|jt|jd�|j�}|jt|jd�|jt|j�t�}|jt|j�|jt|jdd�|j|�|jt|jd�y#1swY���xYw#1swY��'xYw#1swY���xYw#1swY���xYw#1swY��{xYw)Ng������@��format���check�asdf��preset���filters��id�rr�sqw��memlimit�zzz��rr�foo�barsblahsquux)�assertRaises�	TypeErrorr
�
ValueErrorr�FORMAT_AUTO�FILTER_LZMA2r�
FORMAT_RAW�
FILTERS_RAW_1�	FORMAT_XZ�FORMAT_ALONE�compress�flush�
decompress�EOFError)�self�lzc�empty�lzds    �5/opt/alt/python312/lib64/python3.12/test/test_lzma.py�test_simple_bad_argsz3CompressorDecompressorTestCase.test_simple_bad_argss������)�^�R�8����)�^�D��A����)�^�2��>����)�^�F��C����)�^�Q��?����*�n�T�=M�=M��N�
�
�
�z�
*�	J��!�t�T�5F�5F�.G�-H�I�	J�	
���)�%5�r�:����)�%5���F�
�
�
�y�
)�	=��T�_�_�e�<�	=��
�
�z�
*�	B��T�_�_�y�A�	B�	
���*�&6�
��N�
�
�
�z�
*�	K��D�N�N�M�J�	K�
�
�
�z�
*�	N��D�$5�$5�}�M�	N�������)�S�\�\�2����)�S�\�\�6�6�B����)�S�Y�Y��8��	�	������*�c�l�l�G�<����*�c�i�i�0�� �����)�S�^�^�4����)�S�^�^�V�V�D����u�����(�C�N�N�G�<�;	J�	J��
	=�	=��	B�	B��	K�	K��	N�	N�s<�M2�>M?�7N� N�
 N&�2M<�?N	�N�N#�&N0c�j�|jttdg��|jttddig��|jttddig��|jt�5ttj
dd�g��ddd�|jt�5ttjdd�g��ddd�|jt�5ttjdd�g��ddd�y#1swY��xYw#1swY�RxYw#1swYyxYw)	N�wobsiter�xyzzyrr �́r�r �foo)r*r+r
r,rr.�FILTER_DELTA�
FILTER_X86�r7s r;�test_bad_filter_specz3CompressorDecompressorTestCase.test_bad_filter_specBs
�����)�^�j�\��J����*�n���|�n��M����*�n��e�}�o��N�
�
�
�z�
*�	J��4�+<�+<�Q�$G�#H�I�	J�
�
�
�z�
*�	J��4�+<�+<�Q�$G�#H�I�	J�
�
�
�z�
*�	H��4�?�?�1�$E�#F�G�	H�	H�		J�	J��	J�	J��	H�	H�s$�1D�-D�)D)�D�D&�)D2c��t�}|jt�|jt|jd�y)Nsnyan)rr5�
COMPRESSED_XZr*r6�r7r:s  r;�test_decompressor_after_eofz:CompressorDecompressorTestCase.test_decompressor_after_eofMs,��� �����}�%����(�C�N�N�G�<�c�f�td��}|jt|jt�tt
jd��}|jt|jt�tt
jd��}|jt|jt�y)N�r#)	rr*rr5rHrr1r2�COMPRESSED_ALONErIs  r;�test_decompressor_memlimitz9CompressorDecompressorTestCase.test_decompressor_memlimitRsq����-�����)�S�^�^�]�C��t�~�~��=�����)�S�^�^�]�C��t�0�0�4�@�����)�S�^�^�5E�FrKc�.�|j|j�|j|�}|j|t�|j|j
|�|j
|j�|j|j|�y�N)�assertFalse�eofr5�assertEqual�INPUTr�
assertTrue�unused_data)r7r:�datarrW�outs      r;�_test_decompressorz1CompressorDecompressorTestCase._test_decompressor^sj��������!��n�n�T�"������e�$�������E�*������� �������+�6rKc��t�}|j|ttj�t�}|j|t
tj�yrQ)rrZrHr�CHECK_CRC64rN�
CHECK_NONErIs  r;�test_decompressor_autoz5CompressorDecompressorTestCase.test_decompressor_autofsA��� ������]�D�4D�4D�E�� ������%5�t���GrKc��ttj�}|j|ttj
�yrQ)rrr1rZrHr\rIs  r;�test_decompressor_xzz3CompressorDecompressorTestCase.test_decompressor_xzms(���t�~�~�.������]�D�4D�4D�ErKc��ttj�}|j|ttj
�yrQ)rrr2rZrNr]rIs  r;�test_decompressor_alonez6CompressorDecompressorTestCase.test_decompressor_aloneqs)���t�0�0�1������%5�t���GrKc��ttjt��}|j	|t
tj�y�Nr)rrr/r0rZ�COMPRESSED_RAW_1r]rIs  r;�test_decompressor_raw_1z6CompressorDecompressorTestCase.test_decompressor_raw_1u�)���t���
�F������%5�t���GrKc��ttjt��}|j	|t
tj�yrd)rrr/�
FILTERS_RAW_2rZ�COMPRESSED_RAW_2r]rIs  r;�test_decompressor_raw_2z6CompressorDecompressorTestCase.test_decompressor_raw_2yrgrKc��ttjt��}|j	|t
tj�yrd)rrr/�
FILTERS_RAW_3rZ�COMPRESSED_RAW_3r]rIs  r;�test_decompressor_raw_3z6CompressorDecompressorTestCase.test_decompressor_raw_3}rgrKc��ttjt��}|j	|t
tj�yrd)rrr/�
FILTERS_RAW_4rZ�COMPRESSED_RAW_4r]rIs  r;�test_decompressor_raw_4z6CompressorDecompressorTestCase.test_decompressor_raw_4�rgrKc	���t�}g}tdtt�d�D]G}|j	|j
�|j
|jt||dz���Idj|�}|j|t�|j|jtj�|j|j
�|j|jd�y�Nr�
rK�r�range�lenrHrRrS�appendr5�joinrTrUrrr\rVrW�r7r:rY�is    r;�test_decompressor_chunksz7CompressorDecompressorTestCase.test_decompressor_chunks�s���� �����q�#�m�,�b�1�	>�A����S�W�W�%��J�J�s�~�~�m�A�a��d�&;�<�=�	>��h�h�s�m������e�$�������D�$4�$4�5������� �������#�.rKc	��t�}g}tdtt�d�D]�}|j	|j
�|j
|jd��|j
|jd��|j
|jd��|j
|jt||dz����dj|�}|j|t�|j|jtj�|j|j
�|j|jd�yrurwr|s    r;�test_decompressor_chunks_emptyz=CompressorDecompressorTestCase.test_decompressor_chunks_empty�s���� �����q�#�m�,�b�1�	>�A����S�W�W�%��J�J�s�~�~�c�*�+��J�J�s�~�~�c�*�+��J�J�s�~�~�c�*�+��J�J�s�~�~�m�A�a��d�&;�<�=�	>��h�h�s�m������e�$�������D�$4�$4�5������� �������#�.rKc���t�}d}g}tt�dz}|j|j	td||���|j|j�|jt|d�|�|j|j	d|���|j|j�|jt|d�|�|j|j	t|d|���|jt|d�|�|jsM|j|j	d|���|jt|d�|�|js�Mdj|�}|j|t�|j|jtj�|j|jd�y)N�d���
max_length���rK)rryrHrzr5rR�needs_inputrT�assertLessEqualrSr{rUrrr\rW)r7r:r�rY�len_s     r;� test_decompressor_chunks_maxsizez?CompressorDecompressorTestCase.test_decompressor_chunks_maxsize�s���� ���
����=�!�Q�&���
�
�3�>�>�-���"6�-7�"�9�	:�������)�����S��W��z�2�	�
�
�3�>�>�#�*�>�=�>�������)�����S��W��z�2�	�
�
�3�>�>�-���"6�-7�"�9�	:����S��R��\�:�6��'�'��J�J�s�~�~�c�j�~�A�B�� � ��S��W��z�:��'�'��h�h�s�m������e�$�������D�$4�$4�5�������#�.rKc��t�}g}|j|jtddd��d�|j	|jdd��|j	|jtddd��|j	|jtdd��|jdj|�t�y)Nr�rr�rKr��i��rrTr5rHrzr{rU�r7r:rYs   r;�test_decompressor_inputbuf_1z;CompressorDecompressorTestCase.test_decompressor_inputbuf_1�s���� ����	
������
�d�s�(;�34�(�6�7:�	<�
	�
�
�3�>�>�#�q�)�*�	�
�
�3�>�>�-��C�"8�"�=�>�	�
�
�3�>�>�-���"5�6�7�������#���.rKc���t�}g}|j|jtddd��d�|j	|jd��|j	|jtddd��|j	|jtddd��|j	|jtdd��|jdj|�t�y)N��rr�rKir��,r�r�s   r;�test_decompressor_inputbuf_2z;CompressorDecompressorTestCase.test_decompressor_inputbuf_2�s���� ����	
������
�d�s�(;�34�(�6�7:�	<��
�
�3�>�>�#�&�'�	�
�
�3�>�>�-��C�"8�!�<�=�	�
�
�3�>�>�-��C�"8�!�<�=�	�
�
�3�>�>�-���"5�6�7�������#���.rKc�T�t�}g}|j|jtddd��|j|jtddd��|j|jtdd��|j	dj|�t�y)Nr��r�rK)rrzr5rHrTr{rUr�s   r;�test_decompressor_inputbuf_3z;CompressorDecompressorTestCase.test_decompressor_inputbuf_3�s���� ����	�
�
�3�>�>�-���"5�q�9�:�	�
�
�3�>�>�-��C�"8�!�<�=�	�
�
�3�>�>�-���"5�6�7�������#���.rKc�p�t�}d}|j|t|ztj|��y)Ns	fooblibar�rW)rrZrHrr\)r7r:�extras   r;�test_decompressor_unused_dataz<CompressorDecompressorTestCase.test_decompressor_unused_data�s6��� ��������]�U�%:�D�<L�<L�,1�	 �	3rKc���t�}|jt|jt�tt
j�}|jt|jt�tt
j�}|jt|jt�tt
jt��}|jt|jt�yrd)rr*rr5rerr1rNr2rHr/r0rIs  r;�test_decompressor_bad_inputz:CompressorDecompressorTestCase.test_decompressor_bad_inputs���� �����)�S�^�^�5E�F��t�~�~�.�����)�S�^�^�5E�F��t�0�0�1�����)�S�^�^�]�C��t���
�F�����)�S�^�^�]�CrKc��t�}|jt|jt�|jt|jt�yrQ)rr*rr5rerIs  r;�test_decompressor_bug_28275z:CompressorDecompressorTestCase.test_decompressor_bug_28275s8��� �����)�S�^�^�5E�F����)�S�^�^�5E�FrKc��t�}|jt�|j�z}t	�}|j||tj�yrQ)r
r3rUr4rrZrr\�r7r8�cdatar:s    r;�test_roundtrip_xzz0CompressorDecompressorTestCase.test_roundtrip_xzsC��������U�#�c�i�i�k�1��� ������U�D�,<�,<�=rKc���ttj�}|jt�|j�z}t
�}|j||tj�yrQ)	r
rr2r3rUr4rrZr]r�s    r;�test_roundtrip_alonez3CompressorDecompressorTestCase.test_roundtrip_alonesI���T�.�.�/�����U�#�c�i�i�k�1��� ������U�D�O�O�<rKc��ttjt��}|j	t
�|j
�z}ttjt��}|j||tj�yrd�
r
rr/rqr3rUr4rrZr]r�s    r;�test_roundtrip_rawz1CompressorDecompressorTestCase.test_roundtrip_raw#sQ���T�_�_�m�D�����U�#�c�i�i�k�1���t���
�F������U�D�O�O�<rKc��ttjt��}|j	t
�}||j	d�z
}||j	d�z
}||j	d�z
}||j
�z
}ttjt��}|j||tj�y)NrrKr�r�s    r;�test_roundtrip_raw_emptyz7CompressorDecompressorTestCase.test_roundtrip_raw_empty)s����T�_�_�m�D�����U�#��
����c�"�"��
����c�"�"��
����c�"�"��
��������t���
�F������U�D�O�O�<rKc	�d�t�}g}tdtt�d�D],}|j	|jt||dz���.|j	|j
��dj|�}t�}|j||tj�yru�r
rxryrUrzr3r4r{rrZrr\�r7r8r�r}r:s     r;�test_roundtrip_chunksz4CompressorDecompressorTestCase.test_roundtrip_chunks3s���������q�#�e�*�b�)�	6�A��L�L����e�A�a��d�m�4�5�	6�
���S�Y�Y�[�!�������� ������U�D�,<�,<�=rKc	�$�t�}g}tdtt�d�D]�}|j	|jt||dz��|j	|jd��|j	|jd��|j	|jd����|j	|j
��dj|�}t�}|j||tj�yrur�r�s     r;�test_roundtrip_empty_chunksz:CompressorDecompressorTestCase.test_roundtrip_empty_chunks=s���������q�#�e�*�b�)�	,�A��L�L����e�A�a��d�m�4�5��L�L����c�*�+��L�L����c�*�+��L�L����c�*�+�		,�
	���S�Y�Y�[�!�������� ������U�D�,<�,<�=rKc�|�t�}|j|ttztj
t��y)Nr�)rrZrHrNrr\rIs  r;�test_decompressor_multistreamz<CompressorDecompressorTestCase.test_decompressor_multistreamLs4��� ������]�5E�%E� $� 0� 0�>N�	 �	PrKr�r�)�size�memusec�*�t�}|jd|z�|j�z}tj	|�}	|jt
|�|�|jt
|jd��d�d}y#d}wxYw)N�xr)r
r3r4rr5rTry�strip)r7r�r8r��ddatas     r;�test_compressor_bigmemz5CompressorDecompressorTestCase.test_compressor_bigmemSsy��������T�D�[�)�C�I�I�K�7������&��	����S��Z��.����S����T�!2�3�Q�7��E��D�E�s
�AB�Brc�
�t�}td|�}tj|�}	||dz
|zdzz}tj|�}|j
|�}|j||�dx}x}}y#dx}x}}wxYw)Ni��)r�min�random�	randbytesrr3r5rT)r7r�r:�	blocksize�block�inputr�r�s        r;�test_decompressor_bigmemz7CompressorDecompressorTestCase.test_decompressor_bigmem_s���� ���(�$�/�	�� � ��+��	)��d�1�f��2�Q�6�7�E��M�M�%�(�E��N�N�5�)�E����U�E�*�$(�(�E�(�E�E��D�(�E�(�E�E�s�AA:�:Bc�f�ttjdz�D]z}|jt�5tj
t
�|�ddd�|jt�5tj
t�|�ddd��|y#1swY�HxYw#1swY��xYw�Nr�)rx�pickle�HIGHEST_PROTOCOLr*r+�dumpsr
r)r7�protos  r;�test_picklez*CompressorDecompressorTestCase.test_pickleos����6�2�2�Q�6�7�	8�E��"�"�9�-�
6����^�-�u�5�
6��"�"�9�-�
8����-�/��7�
8�
8�	8�
6�
6��
8�
8�s�B�1B'�B$	�'B0	c���tjtd�}t�}|�}t	d�D]}|j��|j
|�|z
dd��y)N�gettotalrefcountr�rrv)�delta)r�
get_attribute�sysrrx�__init__�assertAlmostEqual)r7r�r:�refs_beforer}s     r;�&test_refleaks_in_decompressor___init__zECompressorDecompressorTestCase.test_refleaks_in_decompressor___init__vs`��"�0�0��6H�I��� ��&�(���s��	�A��L�L�N�	����/�1�K�?��"��MrKc��|jtjt�jt	��d�y�NrK)rTr�__new__r5�bytesrEs r;�)test_uninitialized_LZMADecompressor_crashzHCompressorDecompressorTestCase.test_uninitialized_LZMADecompressor_crashs-�����)�1�1�2B�C�#��E�G�,�c�	3rKN�rK))�__name__�
__module__�__qualname__r<rFrJrOrZr^r`rbrfrkrorsr~r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�skip_if_pgo_taskrrr�r�r��
refcount_testr�r�r"rKr;rrs��&=�P	H�=�
G�7�H�F�H�H�H�H�H�
/�
/�/�@/�,/�*/� 3�D�G�>�=�=�=�>�>�P�
����S�3�Y�q�)��*���
����S�3�Y�q�)�
)�*��
)�8�
���N��N�3rKrc�B�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zy
)�"CompressDecompressFunctionTestCasec��|jttj�|jttjg�|jttjdd��|jttjdd��|jttjdd��|jttjdd�	�|jt�5tjdd
dtj
ig��ddd�|jttj�|jttjg�|jttjdd
��|jttjdd��|jt�5tj
dtji��ddd�|jt�5tj
dtjd��ddd�|jt�5tj
dt�	�ddd�|jt�5tj
dtjt��ddd�|jt�5tj
dtjt��ddd�y#1swY���xYw#1swY��%xYw#1swY��xYw#1swY��xYw#1swY��xYw#1swYyxYw)NrK�xzr�noner�blahrrMrrr r!rg��1�Ar#r'r&�rr$)r*r+rr3r,r.r5r/r0r1r2rEs r;�
test_bad_argsz0CompressDecompressFunctionTestCase.test_bad_args�s{�����)�T�]�]�3����)�T�]�]�B�7����)�T�]�]�C���E����)�T�]�]�C�v��F����)�T�]�]�C���G����)�T�]�]�C���F�
�
�
�z�
*�	N��M�M�#�a�4��9J�9J�2K�1L�M�M�	N�	
���)�T�_�_�5����)�T�_�_�b�9����)�T�_�_�c�&��I����)�T�_�_�c�E��J�
�
�
�y�
)�	E��O�O�C�����O�D�	E��
�
�z�
*�	M��O�O�C����)�O�L�	M��
�
�z�
*�	8��O�O�C��O�7�	8�
�
�
�z�
*�	O��O�O�C����
�O�N�	O�
�
�
�z�
*�	J��O�O��� 1� 1�=�
�
J�	J�	J�#	N�	N��	E�	E��	M�	M��	8�	8��	O�	O��	J�	J�sH�;*L�'L#�'L0�!L<�+M�"+M�L �#L-�0L9�<M�M�Mc���|jt�5tjtd��ddd�|jt�5tjttj
d��ddd�|jt�5tjttjd��ddd�y#1swY��xYw#1swY�^xYw#1swYyxYw)NrMr#r�)r*rrr5rHr1rNr2rEs r;�test_decompress_memlimitz;CompressDecompressFunctionTestCase.test_decompress_memlimit�s���
�
�
�y�
)�	:��O�O�M�D�O�9�	:�
�
�
�y�
)�	I��O�O�!�$�.�.�4�
�
I�	I��
�
�y�
)�	O��O�O�$�T�->�->��
�
O�	O�	O�	:�	:��	I�	I��	O�	O�s#�C�+C�+C#�C�C �#C,c���tjt�}|j|t�tjt
�}|j|t�tjttj�}|j|t�tjt
tj�}|j|t�tjttjt��}|j|t�tjttjt��}|j|t�tjttjt��}|j|t�tjttjt ��}|j|t�yrd)rr5rHrTrUrNr1r2rer/r0rjrirnrmrrrq�r7r�s  r;�test_decompress_good_inputz=CompressDecompressFunctionTestCase.test_decompress_good_input�sF�����
�.�������&���� 0�1�������&����
�t�~�~�>�������&���� 0�$�2C�2C�D�������&���� �$�/�/�=� �J�������&���� �$�/�/�=� �J�������&���� �$�/�/�=� �J�������&���� �$�/�/�=� �J�������&rKc��|jttjtdd�|jttjt
dd�|jttjtddtjt��|jttjtddtjt��|jttjtddtjt��|jttjtddtjt��y)N�r')r*rrr5rHrNrer/r0rjrirnrmrrrqrEs r;� test_decompress_incomplete_inputzCCompressDecompressFunctionTestCase.test_decompress_incomplete_input�s������)�T�_�_�m�D�S�6I�J����)�T�_�_�6F�t��6L�M����)�T�_�_�6F�t��6L�!%���-�	�	I����)�T�_�_�6F�t��6L�!%���-�	�	I����)�T�_�_�6F�t��6L�!%���-�	�	I����)�T�_�_�6F�t��6L�!%���-�	�	IrKc��|jt�5tjt�ddd�|jt�5tjt
�ddd�|jt�5tjttj��ddd�|jt�5tjttj��ddd�|jt�5tjttjt��ddd�y#1swY��xYw#1swY��xYw#1swY��xYw#1swY�{xYw#1swYyxYw�Nrr')r*rrr5�COMPRESSED_BOGUSrerNr1rHr2r/r0rEs r;�test_decompress_bad_inputz<CompressDecompressFunctionTestCase.test_decompress_bad_input�s��
�
�
�y�
)�	.��O�O�,�-�	.�
�
�
�y�
)�	.��O�O�,�-�	.�
�
�
�y�
)�	E��O�O�,�T�^�^�O�D�	E�
�
�
�y�
)�	E��O�O�M�$�2C�2C�O�D�	E�
�
�
�y�
)�	3��O�O�M�$�/�/�$1�
�
3�	3�	3�	.�	.��	.�	.��	E�	E��	E�	E��	3�	3�s;�E
�
E�*E#�*E/�/E;�
E�E �#E,�/E8�;Fc��tjt�}tj|�}|j	|t�tjttj
�}tj|�}|j	|t�tjttj�}tj|�}|j	|t�tjttjt��}tj|tjt��}|j	|t�yrd)	rr3rUr5rTr1r2r/rq)r7r�r�s   r;�test_roundtripz1CompressDecompressFunctionTestCase.test_roundtrip�s����
�
�e�$������&�������&��
�
�e�T�^�^�4������&�������&��
�
�e�T�%6�%6�7������&�������&��
�
�e�T�_�_�m�
�L������t���
��N�������&rKc�v�tjttz�}|j	|t
dz�y)Nr�)rr5rHrNrTrUr�s  r;�test_decompress_multistreamz>CompressDecompressFunctionTestCase.test_decompress_multistream�s*�����
�0@� @�A��������	�*rKc�p�tjttz�}|j	|t
�yrQ�rr5rHr�rTrUr�s  r;�test_decompress_trailing_junkz@CompressDecompressFunctionTestCase.test_decompress_trailing_junks&�����
�0@� @�A�������&rKc�|�tjtdztz�}|j	|t
dz�y)Nrr�r�s  r;�)test_decompress_multistream_trailing_junkzLCompressDecompressFunctionTestCase.test_decompress_multistream_trailing_junks/�����
�� 1�4D� D�E��������	�*rKN)r�r�r�r�r�r�r�r�r�r�r�r�r"rKr;r�r��s2��J�:O�'�:
I�3�'�&+�'�+rKr�c�"�eZdZ	dd�Zd�Zd�Zy)�TempFilec� �||_||_yrQ)�filenamerX)r7r�rXs   r;r�zTempFile.__init__s�� ��
���	rKc��t|jd�5}|j|j�ddd�y#1swYyxYw)N�wb)�openr��writerX�r7�fs  r;�	__enter__zTempFile.__enter__s7��
�$�-�-��
&�	�!�
�G�G�D�I�I��	�	�	�s	�<�Ac�.�t|j�yrQ)rr�)r7�argss  r;�__exit__zTempFile.__exit__s���t�}�}�rKNr�)r�r�r�r�rrr"rKr;r�r�s��G���rKr�c��eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z!d �Z"d!�Z#d"�Z$d#�Z%d$�Z&d%�Z'd&�Z(d'�Z)d(�Z*d)�Z+d*�Z,d+�Z-d,�Z.d-�Z/d.�Z0d/�Z1d0�Z2d1�Z3d2�Z4d3�Z5d4�Z6d5�Z7d6�Z8d7�Z9d8�Z:d9�Z;d:�Z<d;�Z=d<�Z>d=�Z?d>�Z@y?)@�FileTestCasec�\�ttt��5}	ddd�tt�d�5}	ddd�tt�d�5}	ddd�tt�d�5}	ddd�y#1swY�dxYw#1swY�RxYw#1swY�@xYw#1swYyxYw)N�w�x�a)rrrHrs  r;�	test_initzFileTestCase.test_inits���
�g�m�,�
-�	���	�
�g�i��
%�	���	�
�g�i��
%�	���	�
�g�i��
%�	���	�	�
	�	��	�	��	�	��	�	�s.�A>�B
�B�3B"�>B�
B�B�"B+c��tjt�}t|t�5t|�5}|j
|j�t�ddd�t|d�5}|jt�ddd�t|�5}|j
|j�tdz�ddd�ddd�y#1swY�wxYw#1swY�YxYw#1swY�*xYw#1swYyxYw)Nrr�)
�pathlib�Pathr
r�rHrrT�readrUr)r7r�rs   r;� test_init_with_PathLike_filenamez-FileTestCase.test_init_with_PathLike_filename&s����<�<��'��
�h�
�
.�	6��(�#�
2�q�� � �����5�1�
2��(�C�(�
�A������
��(�#�
6�q�� � �����5�1�9�5�
6�	6�	6�
2�
2��
�
��
6�
6��	6�	6�sR�C5�%C�C5�/C�C5�(C)�C5�C	�C5�C&	�"C5�)C2	�.C5�5C>c�8�ttt�5tt�5}	ddd�ttd�5}	ddd�ttd�5}	ddd�ddd�y#1swY�FxYw#1swY�8xYw#1swY�*xYw#1swYyxYw)Nrr)r�r
rHrrs  r;�test_init_with_filenamez$FileTestCase.test_init_with_filename0s���
�f�m�
,�	��&�!�
�Q��
��&�#�&�
�!��
��&�#�&�
�!��
�	�	�
�
��
�
��
�
��	�	�sP�B�A,�B�A8�B�B�B�,A5	�1B�8B	�=B�B
	�	B�Bc��tt�5ttd�5	ddd�ttd�5	ddd�ttd�5	ddd�ttd�5	ddd�ttd�5	ddd�ttd�5	ddd�ddd�y#1swY��xYw#1swY��xYw#1swY�xxYw#1swY�jxYw#1swY�\xYw#1swY�NxYw#1swYyxYw)N�r�rbrrr�ab)r�r
rrEs r;�test_init_modezFileTestCase.test_init_mode9s���
�f�
�	��&�#�&�
��
��&�$�'�
��
��&�#�&�
��
��&�$�'�
��
��&�#�&�
��
��&�$�'�
��
�	�	�
�
��
�
��
�
��
�
��
�
��
�
��	�	�s��C>�B6�C>�C�C>�C�C>�/C�1C>�	C&�C>�#C2�%C>�6B?	�;C>�C	�C>�C	�C>�C#	�C>�&C/	�+C>�2C;	�7C>�>Dc�P�|jtt�dD]c}tt�tt|�5	ddd�|j	t
�5tt|�5	ddd�ddd��ey#1swY�DxYw#1swY� xYw#1swY��xYw)N)r
�xb)�
addCleanuprr
rr*�FileExistsError)r7�modes  r;�test_init_with_x_modez"FileTestCase.test_init_with_x_modeHs��������'��	�D��6�N��&�$�'�
��
��"�"�?�3�
��f�d�+����
�
�		�
�
�����
�
�s/�B�B�/B�1B�B
	�B�B�B%	c���|jt�5ttt�d�ddd�|jt�5ttt�d�ddd�|jt�5ttt�d�ddd�|jt�5ttt�d�ddd�|jt�5ttt�d�ddd�|jt�5ttt�d�ddd�|jt�5ttt�d�ddd�|jt�5ttt�d�ddd�|jt�5ttt�d	�ddd�|jt�5ttt�d
�ddd�|jt�5ttt�d�ddd�y#1swY��1xYw#1swY��xYw#1swY���xYw#1swY���xYw#1swY���xYw#1swY��_xYw#1swY��5xYw#1swY��xYw#1swY��xYw#1swY��xYw#1swYyxYw)N)rr
r�xtzx+�rx�wx�rtzr+�wtzw+�rw)r*r,rrrHrEs r;�test_init_bad_modezFileTestCase.test_init_bad_modeRs-��
�
�
�z�
*�	7��W�]�+�X�6�	7�
�
�
�z�
*�	1��W�]�+�R�0�	1�
�
�
�z�
*�	3��W�]�+�T�2�	3�
�
�
�z�
*�	3��W�]�+�T�2�	3�
�
�
�z�
*�	3��W�]�+�T�2�	3�
�
�
�z�
*�	3��W�]�+�T�2�	3�
�
�
�z�
*�	3��W�]�+�T�2�	3�
�
�
�z�
*�	3��W�]�+�T�2�	3�
�
�
�z�
*�	3��W�]�+�T�2�	3�
�
�
�z�
*�	3��W�]�+�T�2�	3�
�
�
�z�
*�	3��W�]�+�T�2�	3�	3�)	7�	7��	1�	1��	3�	3��	3�	3��	3�	3��	3�	3��	3�	3��	3�	3��	3�	3��	3�	3��	3�	3�s��I�
I,�I9�;J�2J�)J � J-�J:�K�K�<K�I)�,I6�9J�J�J� J*�-J7�:K�K�K�K(c��|jt�5tt�dd��ddd�|jt�5tt�dt
j��ddd�|jt�5tt�dt
jdz��ddd�|jt�5ttt�t
j��ddd�|jt�5ttt�t
j��ddd�|jt�5ttt�t
j��ddd�|jt�5ttt�t
j��ddd�|jt�5ttt�t
j��ddd�y#1swY���xYw#1swY���xYw#1swY���xYw#1swY��JxYw#1swY��xYw#1swY��xYw#1swY��xYw#1swYyxYw)Nrsasdrr)r*r+rrrr�
CHECK_UNKNOWN�CHECK_ID_MAXr,rHr]�CHECK_CRC32r\�CHECK_SHA256rEs r;�test_init_bad_checkz FileTestCase.test_init_bad_checkjs���
�
�
�y�
)�	3��W�Y��6�2�	3��
�
�y�
)�	?��W�Y��4�+=�+=�>�	?�
�
�
�y�
)�	B��W�Y��4�+<�+<�q�+@�A�	B��
�
�z�
*�	D��W�]�+�4�?�?�C�	D�
�
�
�z�
*�	E��W�]�+�4�3C�3C�D�	E�
�
�
�z�
*�	E��W�]�+�4�3C�3C�D�	E�
�
�
�z�
*�	F��W�]�+�4�3D�3D�E�	F�
�
�
�z�
*�	G��W�]�+�4�3E�3E�F�	G�	G�!	3�	3��	?�	?��	B�	B��	D�	D��	E�	E��	E�	E��	F�	F��	G�	G�s_�H�
%H(�(H5�)I�)I�)I�#)I(�))I4�H%�(H2�5H?�I�I�I%�(I1�4I=c��|jt�5tt�dd��ddd�|jt�5tt�dd��ddd�|jt�5tt�dd��ddd�|jt
�5tt�dd��ddd�|jt
�5tt�dd��ddd�|jt�5tt�dd��ddd�|jt�5ttt�d	��ddd�y#1swY��GxYw#1swY�� xYw#1swY��xYw#1swY��xYw#1swY��xYw#1swY��xYw#1swYyxYw)
Nrg��(\�@rrv�r�i����rBr)r*r+rrr�
OverflowErrorr,rHrEs r;�test_init_bad_presetz!FileTestCase.test_init_bad_preset~sa��
�
�
�y�
)�	2��W�Y��D�1�	2�
�
�
�y�
)�	0��W�Y��B�/�	0�
�
�
�y�
)�	0��W�Y��B�/�	0�
�
�
�}�
-�	0��W�Y��B�/�	0�
�
�
�}�
-�	0��W�Y��B�/�	0�
�
�
�y�
)�	3��W�Y��E�2�	3��
�
�z�
*�	7��W�]�+�A�6�	7�	7�	2�	2��	0�	0��	0�	0��	0�	0��	0�	0��	3�	3��	7�	7�sS�E2�
E?�>F�2F�&F$�F0�F<�2E<�?F	�F�F!�$F-�0F9�<Gc��|jt�5tt�ddg��ddd�|jt�5tt�dddig��ddd�|jt�5tt�dddig��ddd�|jt�5tt�dt
jdd	�g��ddd�|jt�5tt�dt
jdd	�g��ddd�|jt�5tt�dt
jdd	�g��ddd�y#1swY��KxYw#1swY��!xYw#1swY��xYw#1swY��xYw#1swY��xYw#1swYyxYw)
Nrr>rr?rr r@rrA)	r*r+rrr,rr.rCrDrEs r;�test_init_bad_filter_specz&FileTestCase.test_init_bad_filter_spec�s���
�
�
�y�
)�	;��W�Y��j�\�:�	;�
�
�
�z�
*�	=��W�Y��w��l�^�<�	=�
�
�
�z�
*�	>��W�Y��t�U�m�_�=�	>�
�
�
�z�
*�	D��W�Y��%)�%6�%6�q�A�B�
D�	D��
�
�z�
*�	D��W�Y��%)�%6�%6�q�A�B�
D�	D��
�
�z�
*�	B��W�Y��%)�_�_�Q�?�@�
B�	B�	B�	;�	;��	=�	=��	>�	>��	D�	D��	D�	D��	B�	B�sG�E7�F�F�9)F�?)F)�)F5�7F�F�F�F&�)F2�5F>c��|jt�5tt�dtj
dt��ddd�y#1swYyxYw)Nr�)rrr)r*r,rrrr/r0rEs r;�!test_init_with_preset_and_filtersz.FileTestCase.test_init_with_preset_and_filters�s>��
�
�
�z�
*�	6��W�Y��D�O�O��}�
6�	6�	6�	6�s�+A
�
Ac��tt�5}t|�}|j�|j	|j
�|j�|j	|j
�ddd�t
tt�5tt�}|j}|j�|j|j
�|j�ddd�y#1swY�}xYw#1swYyxYwrQ)
rrHr�closerR�closedr�r
�_fprV)r7�srcr�fps    r;�
test_closezFileTestCase.test_close�s���
�]�
#�	)�s���
�A�
�G�G�I����S�Z�Z�(�
�G�G�I����S�Z�Z�(�	)��f�m�
,�	��� �A����B�
�G�G�I��O�O�B�I�I�&�
�G�G�I�	�	�	)�	)��	�	�s�A"C.�AC:�.C7�:Dc�"�ttt��}	|j|j�|j�|j|j�|j
�|j|j�tt�d�}	|j|j�|j
�|j|j�y#|j
�wxYw#|j
�wxYw�Nr)rrrHrRr;rr:rVrs  r;�test_closedzFileTestCase.test_closed�s����W�]�+�,��	����Q�X�X�&�
�F�F�H����Q�X�X�&�
�G�G�I�������!��W�Y��$��	����Q�X�X�&�
�G�G�I�������!��
�G�G�I��
�G�G�I�s�AC'� C<�'C9�<Dc��ttt��}	|jt|j
�|j
�|jt|j
�ttt�5tt�}	|j|j�|jj��|j|j�t�|j
�	ddd�|jt|j
�y#|j
�wxYw#|j
�wxYw#1swY�TxYwrQ)rrrHr*r�filenor:r,r�r
rTr<�assertIsInstance�intrs  r;�test_filenozFileTestCase.test_fileno�s����W�]�+�,��	����2�A�H�H�=�
�G�G�I����*�a�h�h�/�
�f�m�
,�	��� �A�
�� � �����Q�U�U�\�\�^�<��%�%�a�h�h�j�#�6����	�
	�	
���*�a�h�h�/��
�G�G�I�����	��
	�	�s0� D%�>E�AD:�+E�%D7�:E�E�Ec�\�ttt��}	|j|j	��|j�|j|j	��|j
�|jt|j�tt�d�}	|j|j	��|j
�|jt|j�tt�}d�|_t|�}	|j|j	��|j
�|jt|j�y#|j
�wxYw#|j
�wxYw#|j
�wxYw)Nrc��y)NFr"r"rKr;�<lambda>z,FileTestCase.test_seekable.<locals>.<lambda>�s�rK)
rrrHrV�seekablerr:r*r,rR)r7rr=s   r;�
test_seekablezFileTestCase.test_seekable�s���W�]�+�,��	��O�O�A�J�J�L�)�
�F�F�H��O�O�A�J�J�L�)�
�G�G�I����*�a�j�j�1��W�Y��$��	����Q�Z�Z�\�*�
�G�G�I����*�a�j�j�1��m�$��$����S�M��	����Q�Z�Z�\�*�
�G�G�I����*�a�j�j�1��#
�G�G�I��
�G�G�I��
�G�G�I�s$�AE/�-F�F�/F�F�F+c�N�ttt��}	|j|j	��|j�|j|j	��|j
�|jt|j�tt�d�}	|j|j	��|j
�|jt|j�y#|j
�wxYw#|j
�wxYwrA)
rrrHrV�readablerr:r*r,rRrs  r;�
test_readablezFileTestCase.test_readable�s����W�]�+�,��	��O�O�A�J�J�L�)�
�F�F�H��O�O�A�J�J�L�)�
�G�G�I����*�a�j�j�1��W�Y��$��	����Q�Z�Z�\�*�
�G�G�I����*�a�j�j�1��
�G�G�I��
�G�G�I���AC=�-D�=D�D$c�N�ttt��}	|j|j	��|j�|j|j	��|j
�|jt|j�tt�d�}	|j|j	��|j
�|jt|j�y#|j
�wxYw#|j
�wxYwrA)
rrrHrR�writablerr:r*r,rVrs  r;�
test_writablezFileTestCase.test_writables����W�]�+�,��	����Q�Z�Z�\�*�
�F�F�H����Q�Z�Z�\�*�
�G�G�I����*�a�j�j�1��W�Y��$��	��O�O�A�J�J�L�)�
�G�G�I����*�a�j�j�1��
�G�G�I��
�G�G�I�rPc���ttt��5}|j|j	�t
�|j|j	�d�ddd�ttt��5}|j|j	�t
�ddd�ttt�tj��5}|j|j	�t
�|j|j	�d�ddd�ttt�tj��5}|j|j	�t
�|j|j	�d�ddd�ttt�tjt��5}|j|j	�t
�|j|j	�d�ddd�ttt�tjt��5}|j|j	�t
�|j|j	�d�ddd�ttt�tjt ��5}|j|j	�t
�|j|j	�d�ddd�ttt"�tjt$��5}|j|j	�t
�|j|j	�d�ddd�y#1swY��"xYw#1swY���xYw#1swY���xYw#1swY��xYw#1swY���xYw#1swY��@xYw#1swY��xYw#1swYyxYw)NrKrr')rrrHrTrrUrNrr1r2rer/r0rjrirnrmrrrqrs  r;�	test_readzFileTestCase.test_reads���
�g�m�,�
-�	,�����Q�V�V�X�u�-����Q�V�V�X�s�+�	,��g�.�/�
0�	.�A����Q�V�V�X�u�-�	.�
�g�m�,�T�^�^�
D�	,�����Q�V�V�X�u�-����Q�V�V�X�s�+�	,��g�.�/��8I�8I�
J�	,�a����Q�V�V�X�u�-����Q�V�V�X�s�+�	,��g�.�/�!�_�_�m�E�	,�HI����Q�V�V�X�u�-����Q�V�V�X�s�+�	,��g�.�/�!�_�_�m�E�	,�HI����Q�V�V�X�u�-����Q�V�V�X�s�+�	,��g�.�/�!�_�_�m�E�	,�HI����Q�V�V�X�u�-����Q�V�V�X�s�+�	,��g�.�/�!�_�_�m�E�	,�HI����Q�V�V�X�u�-����Q�V�V�X�s�+�	,�	,�/	,�	,��	.�	.��	,�	,��	,�	,��	,�	,��	,�	,��	,�	,��	,�	,�sf�AM>�>%N�AN�AN%�AN2�<AN?�6AO�0AO�>N�N�N"�%N/�2N<�?O	�O�O!c��ttt��5}|j|j	d�d�ddd�ttt
��5}|j|j	d�d�ddd�ttt�tj��5}|j|j	d�d�ddd�ttt
�tj��5}|j|j	d�d�ddd�y#1swY��xYw#1swY��xYw#1swY�txYw#1swYyxYw)NrrKr)	rrrHrTrrNrr1r2rs  r;�test_read_0zFileTestCase.test_read_03s��
�g�m�,�
-�	-�����Q�V�V�A�Y��,�	-�
�g�.�/�
0�	-�A����Q�V�V�A�Y��,�	-�
�g�m�,�T�^�^�
D�	-�����Q�V�V�A�Y��,�	-�
�g�.�/��8I�8I�
J�	-�a����Q�V�V�A�Y��,�	-�	-�
	-�	-��	-�	-��	-�	-��	-�	-�s/�"D*�"D6�-"E�?"E�*D3�6D?�E�Ec�R�ttt��5}g}|jd�x}r@|j	t|�d�|j
|�|jd�x}r�@|jdj|�t�ddd�y#1swYyxYw�NrvrK)
rrrHrr�ryrzrTr{rU)r7r�chunks�results    r;�test_read_10zFileTestCase.test_read_10=s���
�g�m�,�
-�	6���F��F�F�2�J�&�&�&��$�$�S��[�"�5��
�
�f�%��F�F�2�J�&�&�&�
���S�X�X�f�-�u�5�	6�	6�	6�s�AB�/%B�B&c�@�tttdz��5}|j|j	�t
dz�ddd�ttttz��5}|j|j	�t
dz�ddd�tttdz�tjt��5}|j|j	�t
dz�ddd�y#1swY��xYw#1swY�vxYw#1swYyxYw)Nr�r��r')rrrHrTrrUrNrnrr/rmrs  r;�test_read_multistreamz"FileTestCase.test_read_multistreamEs���
�g�m�a�/�0�
1�	2�Q����Q�V�V�X�u�q�y�1�	2�
�g�m�.>�>�?�
@�	2�A����Q�V�V�X�u�q�y�1�	2�
�g�.��2�3�!�_�_�m�E�	2�HI����Q�V�V�X�u�q�y�1�	2�	2�		2�	2��	2�	2��	2�	2�s#�(C<�+(D�(D�<D�D�Dc�:�tj}tt�t_	t	ttdz��5}|j
|j�tdz�ddd�|t_y#1swY�xYw#|t_wxYw�Nr�)	�_compression�BUFFER_SIZEryrHrrrTrrU)r7�saved_buffer_sizers   r;�)test_read_multistream_buffer_size_alignedz6FileTestCase.test_read_multistream_buffer_size_alignedNsz��)�4�4��#&�}�#5�� �	9��'�-�1�"4�5�6�
6�!�� � �����5�1�9�5�
6�(9�L�$�
6�
6��(9�L�$�s#�B
�(B�-B
�B
�B
�

Bc��ttttz��5}|j	|j�t�ddd�y#1swYyxYwrQ�rrrHr�rTrrUrs  r;�test_read_trailing_junkz$FileTestCase.test_read_trailing_junkYsB��
�g�m�.>�>�?�
@�	.�A����Q�V�V�X�u�-�	.�	.�	.�s�%A�Ac��tttdztz��5}|j	|j�tdz�ddd�y#1swYyxYwrargrs  r;�#test_read_multistream_trailing_junkz0FileTestCase.test_read_multistream_trailing_junk]sK��
�g�m�a�/�2B�B�C�
D�	2�����Q�V�V�X�u�q�y�1�	2�	2�	2�s�(A�Ac�&�ttt�5tt�5}|j	|j�t�|j	|j�d�ddd�ddd�y#1swY�xYw#1swYyxYwr�)r�r
rHrrTrrUrs  r;�test_read_from_filez FileTestCase.test_read_from_fileasq��
�f�m�
,�	0��&�!�
0�Q�� � �����5�1�� � �����3�/�
0�	0�	0�
0�
0��	0�	0�s#�B�AA;�*B�;B	�B�Bc��	tjd�}t	tt
�5t
�5}|j|j�t�|j|j�d�ddd�ddd�y#t$r|jd�Y��wxYw#1swY�2xYw#1swYyxYw)N�ascii�%Temporary file name needs to be ASCIIrK)
r
�encode�UnicodeEncodeError�skipTestr�rHrrTrrU)r7�bytes_filenamers   r;�'test_read_from_file_with_bytes_filenamez4FileTestCase.test_read_from_file_with_bytes_filenamegs���	C�#�]�]�7�3�N��f�m�
,�	0��.�)�
0�Q�� � �����5�1�� � �����3�/�
0�	0�	0��"�	C��M�M�A�B�	C��
0�
0��	0�	0�s4�B
�B9�AB-�<B9�
B*�)B*�-B6	�2B9�9Cc��tttdd��5}|jt|j
�ddd�y#1swYyxYw)Nr�)rrrHr*r6rrs  r;�test_read_incompletez!FileTestCase.test_read_incompleteqsA��
�g�m�D�S�1�2�
3�	0�q����h����/�	0�	0�	0�s�!A�Ac�Z�tdd}tt|��5}|jt|j
�ddd�tt|��5}|j
|jtt��t�|jt|j
d�ddd�td�D]C}tt|d|��5}|jt|j
d�ddd��Ey#1swY��xYw#1swY�gxYw#1swY�hxYw)Ni�r��)
rHrrr*r6rrTryrUrx)r7�	truncatedrr}s    r;�test_read_truncatedz FileTestCase.test_read_truncatedus���"�$�3�'�	�
�g�i�(�
)�	0�Q����h����/�	0�
�g�i�(�
)�	3�Q����Q�V�V�C��J�/��7����h�����2�	3��r��	7�A��'�)�B�Q�-�0�1�
7�Q��!�!�(�A�F�F�A�6�
7�
7�	7�
	0�	0��	3�	3��

7�
7�s$�!D	�AD�"D!�	D�D�!D*	c���ttt��}|j�|j	t
|j�tt�d�5}|j	t
|j�ddd�ttt��5}|j	t|jt��ddd�y#1swY�TxYw#1swYyxYwrA)	rrrHr:r*r,rr+�floatrs  r;�test_read_bad_argszFileTestCase.test_read_bad_args�s����W�]�+�,��	���	����*�a�f�f�-�
�g�i��
%�	2�����j�!�&�&�1�	2�
�g�m�,�
-�	:�����i������9�	:�	:�	2�	2��	:�	:�s�!C�*C�C�C&c��ttt��5}|jt|j
�ddd�y#1swYyxYwrQ)rrr�r*rrrs  r;�test_read_bad_datazFileTestCase.test_read_bad_data�s;��
�g�.�/�
0�	1�A����i����0�	1�	1�	1�s�!A�Ac�X�ttt��5}g}|j�x}r$|j	|�|j�x}r�$|jdj
|�t�|j|j�d�ddd�y#1swYyxYwr��rrrH�read1rzrTr{rU�r7r�blocksr[s    r;�
test_read1zFileTestCase.test_read1�s���
�g�m�,�
-�	-���F��G�G�I�%�&�%��
�
�f�%��G�G�I�%�&�%����S�X�X�f�-�u�5����Q�W�W�Y��,�	-�	-�	-�s�8B �AB � B)c��ttt��5}|j|j	d�d�ddd�y#1swYyxYw)NrrK)rrrHrTr�rs  r;�test_read1_0zFileTestCase.test_read1_0�s>��
�g�m�,�
-�	.�����Q�W�W�Q�Z��-�	.�	.�	.�s�"A�A
c�\�ttt��5}g}|jd�x}r%|j	|�|jd�x}r�%|jdj
|�t�|j|j�d�ddd�y#1swYyxYwrYr�r�s    r;�
test_read1_10zFileTestCase.test_read1_10�s���
�g�m�,�
-�	-���F��G�G�B�K�'�&�'��
�
�f�%��G�G�B�K�'�&�'����S�X�X�f�-�u�5����Q�W�W�Y��,�	-�	-�	-�s�:B"�AB"�"B+c�d�tttdz��5}g}|j�x}r$|j	|�|j�x}r�$|jdj
|�tdz�|j|j�d�ddd�y#1swYyxYw)Nr�rKr�r�s    r;�test_read1_multistreamz#FileTestCase.test_read1_multistream�s���
�g�m�a�/�0�
1�	-�Q��F��G�G�I�%�&�%��
�
�f�%��G�G�I�%�&�%����S�X�X�f�-�u�q�y�9����Q�W�W�Y��,�	-�	-�	-�s�8B&�AB&�&B/c���ttt��}|j�|j	t
|j�tt�d�5}|j	t
|j�ddd�ttt��5}|j	t|jd�ddd�y#1swY�LxYw#1swYyxYwrA)rrrHr:r*r,r�r+rs  r;�test_read1_bad_argsz FileTestCase.test_read1_bad_args�s����W�]�+�,��	���	����*�a�g�g�.�
�g�i��
%�	3�����j�!�'�'�2�	3�
�g�m�,�
-�	8�����i����$�7�	8�	8�	3�	3��	8�	8�s�!C	�"C�	C�Cc��ttt��5}|j�}|j	t|�d�|j
tj|��|j|j�t�ddd�ttt��5}|jd�}|j	t|�d�|j
tj|��|j|j�t�ddd�y#1swY��xYw#1swYyxYw)Nrrv)rrrH�peek�
assertGreaterryrVrU�
startswithrTr)r7rr[s   r;�	test_peekzFileTestCase.test_peek�s���
�g�m�,�
-�	.���V�V�X�F����s�6�{�A�.��O�O�E�,�,�V�4�5����Q�V�V�X�u�-�		.�
�g�m�,�
-�	.���V�V�B�Z�F����s�6�{�A�.��O�O�E�,�,�V�4�5����Q�V�V�X�u�-�		.�	.�	.�	.��
	.�	.�s�A4D+�-A5D7�+D4�7Ec��tt�d�5}|jt|j�ddd�y#1swYyxYwrA)rrr*r,r�rs  r;�test_peek_bad_argszFileTestCase.test_peek_bad_args�s9��
�g�i��
%�	2�����j�!�&�&�1�	2�	2�	2�s	�!?�Ac��tt�5}|j�}ddd�ttt��5}|jt
t|���ddd�ttt��5}|jt
t|���ddd�ttt�tj��5}|jt
t|���ddd�ttt�tj��5}|jt
t|���ddd�ttt�tjt��5}|jt
t|���ddd�y#1swY���xYw#1swY��axYw#1swY��)xYw#1swY��xYw#1swY��xYw#1swYyxYwr�)rrU�	readlinesrrH�assertListEqual�list�iterrNrr1r2rjr/ri�r7r�liness   r;�
test_iteratorzFileTestCase.test_iterator�sz��
�U�^�	"�q��K�K�M�E�	"�
�g�m�,�
-�	7��� � ��d�1�g���6�	7�
�g�.�/�
0�	7�A�� � ��d�1�g���6�	7�
�g�m�,�T�^�^�
D�	7��� � ��d�1�g���6�	7�
�g�.�/��8I�8I�
J�	7�a�� � ��d�1�g���6�	7�
�g�.�/�!�_�_�m�E�	7�HI�� � ��d�1�g���6�	7�	7�	"�	"��	7�	7��	7�	7��	7�	7��	7�	7��	7�	7�sG�F8�%G�%G�%G�0%G+�
%G7�8G�G�G�G(�+G4�7Hc��tt�5}|j�}ddd�ttt��5}D]"}|j|j
�|��$	ddd�y#1swY�SxYw#1swYyxYwrQ)rrUr�rrHrT�readline)r7rr��lines    r;�
test_readlinezFileTestCase.test_readline�sy��
�U�^�	"�q��K�K�M�E�	"�
�g�m�,�
-�	5���
5��� � �����t�4�
5�	5�	5�	"�	"��	5�	5�s�A3�(A?�3A<�?Bc��tt�5}|j�}ddd�ttt��5}|j|j��ddd�y#1swY�KxYw#1swYyxYwrQ)rrUr�rrHr�r�s   r;�test_readlineszFileTestCase.test_readlines�sj��
�U�^�	"�q��K�K�M�E�	"�
�g�m�,�
-�	7��� � ������6�	7�	7�	"�	"��	7�	7�s�A+�!A7�+A4�7Bc��	tjdtd�zd��}|jt	|�t
j�tt|��}|j|jd�d�dtz}|j|jjj�|d�y)N�g��>Ar7rr�z)Excessive amount of data was decompressed)rr3rF�
assertLessryrbrcrrrTrrr��_buffer�raw�tell)r7�bomb�decomp�
max_decomps    r;�test_decompress_limitedz$FileTestCase.test_decompress_limited�s���;��}�}�U�S��X�-�a�}�8������D�	�<�#;�#;�<��'�$�-�(��������Q���/��,�,�
����V�^�^�/�/�4�4�6�
�7�	9rKc�R�t�5}t|d�5}|jt�ddd�tjt�}|j
|j�|�ddd�t�5}t|dtj��5}|jt�ddd�tjttj��}|j
|j�|�ddd�t�5}t|dtj��5}|jt�ddd�tjttj��}|j
|j�|�ddd�t�5}t|dtjt��5}|jt�ddd�tjttjt��}|j
|j�|�ddd�y#1swY��xYw#1swY���xYw#1swY���xYw#1swY��hxYw#1swY��0xYw#1swY��xYw#1swY��xYw#1swYyxYw)Nrrr')rrrrUrr3rT�getvaluer1r2r/ri)r7�dstr�expecteds    r;�
test_writezFileTestCase.test_write�s���
�Y�	7�#��#�s�#�
�q������
��}�}�U�+�H����S�\�\�^�X�6�		7�
�Y�	7�#��#�s�4�>�>�:�
�a������
��}�}�U�4�>�>�}�B�H����S�\�\�^�X�6�		7�
�Y�	7�#��#�s�4�+<�+<�=�
�������
��}�}�U�4�3D�3D�}�E�H����S�\�\�^�X�6�		7�
�Y�	7�#��#�s�4�?�?�"/�1�
�45������
��}�}�U�4�?�?�-:�%�<�H����S�\�\�^�X�6�
	7�	7�
�
��	7�	7��
�
��	7�	7��
�
��	7�	7��
�
��	7�	7�s��
I�I�AI�I+�I�4AI+�J�4I8�
AJ�-"J�J�%AJ�I	�	I�I�I(	�#I+�+I5�8J	�=J�J�J	�J�J&c	�l�t�5}t|d�5}tdtt�d�D]}|jt||dz��	ddd�tjt�}|j|j�|�ddd�y#1swY�KxYw#1swYyxYw)Nrrrv)
rrrxryrUrrr3rTr�)r7r�r�startr�s     r;�
test_write_10zFileTestCase.test_write_10s���
�Y�	7�#��#�s�#�
3�q�"�1�c�%�j�"�5�3�E��G�G�E�%��b��1�2�3�
3��}�}�U�+�H����S�\�\�^�X�6�	7�	7�
3�
3��	7�	7�s#�
B*�;B�AB*�B'	�#B*�*B3c��tdd}tdd}tdd}djd�|||fD��}t�5}t|d�5}|j	|�ddd�t|d�5}|j	|�ddd�t|d�5}|j	|�ddd�|j|j
�|�ddd�y#1swY�~xYw#1swY�dxYw#1swY�JxYw#1swYyxYw)NrM�rKc3�FK�|]}tj|����y�wrQ�rr3��.0r
s  r;�	<genexpr>z1FileTestCase.test_write_append.<locals>.<genexpr>�����L��D�M�M�!�,�L���!rr)rUr{rrrrTr�)r7�part1�part2�part3r�r�rs       r;�test_write_appendzFileTestCase.test_write_appends����e�t����d�4� ���d�e����8�8�L�u�e�U�6K�L�L��
�Y�	7�#��#�s�#�
�q������
��#�s�#�
�q������
��#�s�#�
�q������
����S�\�\�^�X�6�	7�	7�
�
��
�
��
�
��	7�	7�sT�
D�C� D�4C)�D�C5�,(D�C&	�"D�)C2	�.D�5C>	�:D�D
c�|�	ttd�5}|jt�ddd�tjt�}t
td�5}|j|j�|�ddd�tt�y#1swY�kxYw#1swY�%xYw#tt�wxYw)Nrr)
rr
rrUrr3rrTrr)r7rr�s   r;�test_write_to_filezFileTestCase.test_write_to_files���	��&�#�&�
�!������
��}�}�U�+�H��f�d�#�
5�q�� � �����8�4�
5�
�6�N�

�
��
5�
5��
�6�N�s9�B*�B�1B*�!B�:B*�B�B*�B'�#B*�*B;c���	tjd�}	t	d�5}|jt�ddd�tjt�}ttd�5}|j|j�|�ddd�tt�y#t$r|jd�Y��wxYw#1swY��xYw#1swY�ExYw#tt�wxYw)Nrnrorr)
r
rprqrrrrrUrr3rrTrr)r7rsrr�s    r;�&test_write_to_file_with_bytes_filenamez3FileTestCase.test_write_to_file_with_bytes_filename$s���	C�#�]�]�7�3�N�	��.�#�.�
�!������
��}�}�U�+�H��f�d�#�
5�q�� � �����8�4�
5�
�6�N��"�	C��M�M�A�B�	C��
�
��
5�
5��
�6�N�sJ�B$�C�C�1C�+!C�C�$C�C�C
�	C�C�C�C-c��tdd}tdd}tdd}djd�|||fD��}	ttd�5}|j	|�ddd�ttd�5}|j	|�ddd�ttd�5}|j	|�ddd�ttd�5}|j
|j�|�ddd�tt�y#1swY��xYw#1swY��xYw#1swY�jxYw#1swY�=xYw#tt�wxYw)NrMr�rKc3�FK�|]}tj|����y�wrQr�r�s  r;r�z9FileTestCase.test_write_append_to_file.<locals>.<genexpr>6r�r�rrr)	rUr{rr
rrrTrr)r7r�r�r�r�rs      r;�test_write_append_to_filez&FileTestCase.test_write_append_to_file2s���e�t����d�4� ���d�e����8�8�L�u�e�U�6K�L�L��
	��&�#�&�
�!������
��&�#�&�
�!������
��&�#�&�
�!������
��f�d�#�
5�q�� � �����8�4�
5�
�6�N�
�
��
�
��
�
��
5�
5��
�6�N�sk�D/�C?�D/�2D�D/�D�.D/�!D#�'D/�?D�D/�D�D/�D �D/�#D,�(D/�/Ec�D�tt�d�}|j�|jt|j
d�ttt�d�5}|jt|j
d�ddd�tt�d�5}|jt|j
d�|jt|j
d�|jt|j
d�ddd�y#1swY��xYw#1swYyxYw)Nrr(rr)�texti)rrr:r*r,rrHr+rs  r;�test_write_bad_argsz FileTestCase.test_write_bad_argsCs����W�Y��$��	���	����*�a�g�g�v�6�
�g�m�,�c�
2�	;�a����j�!�'�'�6�:�	;�
�g�i��
%�	7�����i����$�7����i����&�9����i����#�6�	7�	7�	;�	;��	7�	7�s�"D
�A$D�
D�Dc��tt�5}|j�}ddd�t�5}t|d�5}|j	�ddd�t
j
t�}|j|j�|�ddd�y#1swY�|xYw#1swY�WxYw#1swYyxYwrA)	rrUr�r�
writelinesrr3rTr�)r7rr�r�r�s     r;�test_writelineszFileTestCase.test_writelinesNs���
�U�^�	"�q��K�K�M�E�	"�
�Y�	7�#��#�s�#�
$�q����U�#�
$��}�}�U�+�H����S�\�\�^�X�6�		7�	7�	"�	"��
$�
$��	7�	7�s/�B�
B4�B(�AB4�B%�(B1	�-B4�4B=c���ttt��5}|jd�|j	|j�tdd�ddd�y#1swYyxYw)Ni+�rrrH�seekrTrrUrs  r;�test_seek_forwardzFileTestCase.test_seek_forwardWsM��
�g�m�,�
-�	4��
�F�F�3�K����Q�V�V�X�u�S�T�{�3�	4�	4�	4�s�9A�A$c���tttdz��5}|jt	t
�dz�|j
|j�t
dd�ddd�y#1swYyxYw)Nr��{)rrrHr�ryrUrTrrs  r;� test_seek_forward_across_streamsz-FileTestCase.test_seek_forward_across_streams\s\��
�g�m�a�/�0�
1�	4�Q�
�F�F�3�u�:��#�$����Q�V�V�X�u�S�T�{�3�	4�	4�	4�s�A	A.�.A7c���ttt��5}|jd�|j	dd�|j|j�tdd�ddd�y#1swYyxYw)Nr�i�r�i8�rrrHrr�rTrUrs  r;�%test_seek_forward_relative_to_currentz2FileTestCase.test_seek_forward_relative_to_currentasZ��
�g�m�,�
-�	5��
�F�F�3�K�
�F�F�4��O����Q�V�V�X�u�T�U�|�4�	5�	5�	5�s�AA-�-A6c���ttt��5}|jdd�|j	|j�tdd�ddd�y#1swYyxYw)Ni���r�r�rs  r;�!test_seek_forward_relative_to_endz.FileTestCase.test_seek_forward_relative_to_endg�O��
�g�m�,�
-�	5��
�F�F�4��O����Q�V�V�X�u�T�U�|�4�	5�	5�	5���:A�A%c���ttt��5}|jd�|j	d�|j|j�tdd�ddd�y#1swYyxYw)Ni���r�rs  r;�test_seek_backwardzFileTestCase.test_seek_backwardlsX��
�g�m�,�
-�	4��
�F�F�4�L�
�F�F�3�K����Q�V�V�X�u�S�T�{�3�	4�	4�	4�s�A
A,�,A5c�$�tttdz��5}|jt	t
�dz�|j
d�|j|j�t
ddt
z�ddd�y#1swYyxYw)Nr�iMi�)rrrHrryrUr�rTrs  r;�!test_seek_backward_across_streamsz.FileTestCase.test_seek_backward_across_streamsrsl��
�g�m�a�/�0�
1�	<�Q�
�F�F�3�u�:��#�$�
�F�F�3�K����Q�V�V�X�u�S�T�{�U�':�;�	<�	<�	<�s�A!B�Bc���ttt��5}|jdd�|j	|j�tdd�ddd�y#1swYyxYw)Nij���r�r�rs  r;�"test_seek_backward_relative_to_endz/FileTestCase.test_seek_backward_relative_to_endxr�r�c�:�ttt��5}|jt	t
�dz�|j
|j�t	t
��|j
|j�d�ddd�y#1swYyxYw)N�)#rK)	rrrHr�ryrUrTr�rrs  r;�test_seek_past_endzFileTestCase.test_seek_past_end}sk��
�g�m�,�
-�	,��
�F�F�3�u�:��$�%����Q�V�V�X�s�5�z�2����Q�V�V�X�s�+�	,�	,�	,�s�A/B�Bc��ttt��5}|jd�|j	|j�d�|j	|j
�t�ddd�y#1swYyxYw)Ni����r)rrrHr�rTr�rrUrs  r;�test_seek_past_startz!FileTestCase.test_seek_past_start�s]��
�g�m�,�
-�	.��
�F�F�3�K����Q�V�V�X�q�)����Q�V�V�X�u�-�	.�	.�	.�s�AA8�8Bc��ttt��}|j�|j	t
|jd�tt�d�5}|j	t
|jd�ddd�ttt��5}|j	t
|jdd�|j	tt
f|jdd�|j	t|jd�|j	t|jd�ddd�y#1swY��xYw#1swYyxYw)Nrrr�	r"sderp)rrrHr:r*r,r�r+rs  r;�test_seek_bad_argszFileTestCase.test_seek_bad_args�s����W�]�+�,��	���	����*�a�f�f�a�0�
�g�i��
%�	5�����j�!�&�&�!�4�	5�
�g�m�,�
-�	:�����j�!�&�&�!�Q�7����y�*�5�q�v�v�q�"�E����i�����6����i�����9�	:�	:�	5�	5��	:�	:�s�"D6� B
E�6D?�Ec��ttt��5}d}	|j|j	�|�|jd�}|sn|t
|�z
}�C|j|j	�t
t��ddd�tt�d�5}tdt
t�d�D]=}|j|j	�|�|jt||dz��?|j|j	�t
t��ddd�y#1swY��xYw#1swYyxYw)Nr�r�)
rrrHrTr�rryrUrxr)r7r�posr[s    r;�	test_tellzFileTestCase.test_tell�s��
�g�m�,�
-�	3���C��� � �����3�/����������s�6�{�"���
���Q�V�V�X�s�5�z�2�	3��g�i��
%�	3���Q��E�
�C�0�
,��� � �����3�/�����c�#�c�'�*�+�
,�
���Q�V�V�X�s�5�z�2�		3�	3�	3�	3��	3�	3�s�A4D:�)BE�:E�Ec��ttt��}|j�|j	t
|j�yrQ)rrrHr:r*r,r�rs  r;�test_tell_bad_argszFileTestCase.test_tell_bad_args�s.���W�]�+�,��	���	����*�a�f�f�-rKc��t�}|jtd��}|jt	|�d�|j|j�t�}|jtd��}|j|j�|j|j�|jd�}|jt	|�d�|j|j�|j||z|�y)Nr�r�ih3i]3rK�)	rr5�ISSUE_21872_DATrTryrVrSrRr�)r7�d1�entire�d2�out1�out2s      r;�test_issue21872zFileTestCase.test_issue21872�s����
������2��>������V��e�,��������
�
��
�}�}�_��}�?��������(������� ��}�}�S�!������T��B�'��������������f�-rKc�8�tjdgd��}t|�|jz}tt	�d�5}|j|j
|�|�|j|j�|�ddd�y#1swYyxYw)N�Q)r�r�rr^r�r)�arrayry�itemsizerrrTrr�)r7�q�LENGTHrs    r;�test_issue44439zFileTestCase.test_issue44439�su���K�K��_�-���Q��!�*�*�$��
�g�i��
%�	/�����Q�W�W�Q�Z��0����Q�V�V�X�v�.�	/�	/�	/�s
�AB�BN)Ar�r�r�rrrrr!r)r/r3r5r8r?rBrGrLrOrSrUrWr\r_rerhrjrlrtrvrzr}rr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rr"rKr;r
r
s:���6��
��3�0G�(7�"B�"6�
�("�"0� 2�42�"2�",�:-�6�2�	9�.�2�0�0�0�7�:�1�-�.�-�-�8�
.�2�
7�5�7�	9�7�07�7����"	7�7�4�
4�
5�5�
4�<�5�
,�.�:�3� .�
.�</rKr
c�H�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zy)�OpenTestCasec���tjtt�d�5}|j	|j�t�ddd�t�5}tj|d�5}|jt�ddd�tj|j��}|j	|t�tj|d�5}|jt�ddd�tj|j��}|j	|tdz�ddd�y#1swY��xYw#1swY��xYw#1swY�fxYw#1swYyxYw)Nrrrr�)
rrrrHrTrrUrr5r�)r7r�bio�	file_datas    r;�test_binary_modeszOpenTestCase.test_binary_modes�s��
�Y�Y�w�}�-�t�
4�	.�����Q�V�V�X�u�-�	.�
�Y�	3�#����3��%�
�������
��������7�I����Y��.����3��%�
�������
��������7�I����Y���	�2�	3�	3�	.�	.��
�
��
�
��	3�	3�sI�%E�E&�2E�AE&�E�5AE&�E�E	�E&�E#	�E&�&E/c�p�tjd�}|jdtj�}t
j
tt�dd��5}|j|j�|�ddd�t�5}t
j
|dd��5}|j|�ddd�t
j|j��jd�}|j||�t
j
|dd��5}|j|�ddd�t
j|j��jd�}|j||dz�ddd�y#1swY��
xYw#1swY��xYw#1swY�rxYw#1swYyxYw)Nrn�
r&��encodingr'�atr�)rU�decode�replace�os�lineseprrrrHrTrrr5r�)r7�uncompressed�uncompressed_rawrrrs      r;�test_text_modeszOpenTestCase.test_text_modes�s[���|�|�G�,��'�/�/��b�j�j�A��
�Y�Y�w�}�-�t�g�Y�
F�	5�!����Q�V�V�X�|�4�	5�
�Y�	>�#����3��w��7�
&�1�����%�
&��������7�>�>�w�G�I����Y�(8�9����3��w��7�
&�1�����%�
&��������7�>�>�w�G�I����Y�(8�1�(<�=�	>�	>�	5�	5��
&�
&��
&�
&��	>�	>�sJ�!F�F,�'F�9A$F,�F �/AF,�F�F	�F,� F)	�%F,�,F5c�l�tt�5tjtd�5}|j	t
�ddd�ttd�5}tj
|j��}|j|t
�ddd�tjtd�5}|j|j�t
�ddd�tjtd�5}|j	t
�ddd�tjtd�5}|j|j�t
dz�ddd�ddd�y#1swY��.xYw#1swY��xYw#1swY��xYw#1swY��xYw#1swY�CxYw#1swYyxYw)Nrrrr�)	r�r
rrrrUr5rrT)r7rrs   r;�
test_filenamezOpenTestCase.test_filename�sE��
�f�
�	6����6�4�(�
�A������
��f�d�#�
3�q� �O�O�A�F�F�H�5�	�� � ��E�2�
3����6�4�(�
2�A�� � �����5�1�
2����6�4�(�
�A������
����6�4�(�
6�A�� � �����5�1�9�5�
6�	6�	6�
�
��
3�
3��
2�
2��
�
��
6�
6��	6�	6�s��F*�E-�F*�:E:�"F*�5%F�"F*�<F�"F*�4(F�F*�-E7	�2F*�:F	�?F*�F	�F*�F	�F*�F'	�#F*�*F3c�H�tjt�}t|�5tj|d�5}|j
t�ddd�t|d�5}tj|j��}|j|t�ddd�tj|d�5}|j|j�t�ddd�ddd�y#1swY��xYw#1swY�axYw#1swY�*xYw#1swYyxYw)Nrr)rrr
r�rrrrUr5rrT)r7r�rrs    r;�test_with_pathlike_filenamez(OpenTestCase.test_with_pathlike_filename�s����<�<��'��
�h�
�	2����8�T�*�
�a������
��h��%�
3�� �O�O�A�F�F�H�5�	�� � ��E�2�
3����8�T�*�
2�a�� � �����5�1�
2�
	2�	2�
�
��
3�
3��
2�
2��
	2�	2�sR�D�C4�D�&:D� D�>%D�#D�4C=	�9D�D		�D�D	�D�D!c��|jt�5tjtd�ddd�|jt�5tjtd�ddd�|jt�5tjtdd��ddd�|jt�5tjtdd��ddd�|jt�5tjtdd�	�ddd�y#1swY��xYw#1swY��xYw#1swY��xYw#1swY�hxYw#1swYyxYw)
Nr�rbtrzutf-8r�ignore)�errorsr
)�newline)r*r,rrr
rEs r;�test_bad_paramszOpenTestCase.test_bad_params	s��
�
�
�z�
*�	"��I�I�f�b�!�	"�
�
�
�z�
*�	%��I�I�f�e�$�	%�
�
�
�z�
*�	6��I�I�f�d�W�I�5�	6�
�
�
�z�
*�	5��I�I�f�d�8�I�4�	5�
�
�
�z�
*�	2��I�I�f�d�D�I�1�	2�	2�	"�	"��	%�	%��	6�	6��	5�	5��	2�	2�s;�D �D,�D8�E�:E� D)�,D5�8E�E
�Ec� �tjtd�}tjt	t
�dfi|��5}|j
|j�t�ddd�t	�5}tj|dfi|��5}|jt�ddd�tj|j�fi|��}|j
|t�ddd�y#1swY��xYw#1swY�XxYw#1swYyxYw)Nr'rr)rr/r0rrrerTrrUrr5r�)r7�optionsrrrs     r;�test_format_and_filtersz$OpenTestCase.test_format_and_filterss���!�_�_��G��
�Y�Y�w�/�0�$�
B�'�
B�	.�a����Q�V�V�X�u�-�	.�
�Y�	/�#����3��0��0�
�A������
��������B�'�B�I����Y��.�		/�	/�	.�	.��
�
��	/�	/�s0�%C,�3D�C8�!AD�,C5�8D	�=D�D
c�l�tjd�}|jdtj�}t�5}tj|dd��5}|j|�ddd�tj|j��jd�}|j||�|jd�tj|dd��5}|j|j�|�ddd�ddd�y#1swY��xYw#1swY�xYw#1swYyxYw)Nrnr
r'z	utf-16-lerrr&)rUrrrrrrrrr5r�rTr�r)r7rrrrrs      r;�
test_encodingzOpenTestCase.test_encoding!s����|�|�G�,��'�/�/��b�j�j�A��
�Y�	9�#����3��{��;�
&�q�����%�
&��������7�>�>�{�K�I����Y�(8�9��H�H�Q�K����3��{��;�
9�q�� � �����<�8�
9�
	9�	9�
&�
&��

9�
9��
	9�	9�s=�D*�D�+A5D*� !D�D*�D	�D*�D'	�#D*�*D3c��ttjd��5}tj|ddd��5}|j	|j�d�ddd�ddd�y#1swY�xYw#1swYyxYw)Nsfoo�barr&rnr)rr�foobar)rrr3rrTr)r7rrs   r;�test_encoding_error_handlerz(OpenTestCase.test_encoding_error_handler.sp��
�T�]�]�=�1�
2�	5�c����3��w�x��H�
5�A�� � �����8�4�
5�	5�	5�
5�
5��	5�	5�s"�A7�!A+�A7�+A4	�0A7�7Bc��tjd�}t�5}tj	|ddd��5}|j|�ddd�|j
d�tj	|ddd��5}|j|j�|g�ddd�ddd�y#1swY�fxYw#1swY�xYw#1swYyxYw)Nrnr'r
)rrrr&�
)	rUrrrrrr�rTr�)r7r�rrs    r;�test_newlinezOpenTestCase.test_newline4s����|�|�G�$��
�Y�	8�#����3��w���E�
������
�
��H�H�Q�K����3��w���E�
8��� � �������7�
8�		8�	8�
�
��
8�
8��		8�	8�s:�C	�B1�2C	�>"B=� C	�1B:	�6C	�=C	�C	�	Cc��|jtt�dD]�}tt�d|vrdnd}tj	t||��5	ddd�|jt�5tj	t|�5	ddd�ddd���y#1swY�NxYw#1swY� xYw#1swY��xYw)N)r
rr#�trnr)rrr
rrr*r)r7r rs   r;�test_x_modezOpenTestCase.test_x_mode>s��������'�%�	�D��6�N�"%��+�w�4�H����6�4�(��;�
��
��"�"�?�3�
��Y�Y�v�t�,����
�
�	�
�
�����
�
�s0�B"�2B:�
B.�B:�"B+	�.B7�3B:�:C	N)
r�r�r�rrrrrr!r#r&r)r,r"rKr;rr�s4��3�
>�6�	2�2�	/�9�5�8�	rKrc�$�eZdZd�Zd�Zd�Zd�Zy)�MiscellaneousTestCasec��|jtjtj��|jtjtj��|jtjtjdz��|jtjtj��yr�)rVr�is_check_supportedr]r-rRr,r+rEs r;�test_is_check_supportedz-MiscellaneousTestCase.test_is_check_supportedLs���	
����/�/����@�A�����/�/��0@�0@�A�B�	
����0�0��1B�1B�Q�1F�G�H�	
����0�0��1C�1C�D�ErKc���|jt�5tjd�ddd�|jt�5tjddi�ddd�|jt�5tjtj
dd��ddd�|jtj�5tjtjdd��ddd�tjtjdd	d
dd��}|j|d
�y#1swY��
xYw#1swY��xYw#1swY��xYw#1swY�jxYw)Ns
not a dictr �rx)r �junkr��r �distr�rr��)r �pb�lp�lc�	dict_size�]�)
r*r+r�_encode_filter_propertiesr,r.rrC�FILTER_LZMA1rT)r7�propss  r;�test__encode_filter_propertiesz4MiscellaneousTestCase.test__encode_filter_propertiesXs,��
�
�
�y�
)�	:��*�*�=�9�	:�
�
�
�z�
*�	:��*�*�D�%�=�9�	:�
�
�
�z�
*�	R��*�*�$�2C�2C�R�+P�Q�	R�
�
�
�t�~�~�
.�	:��*�*�$�2C�2C�37�,9�
:�	:�
�.�.��'�'����$�0���	
���� 4�5�%	:�	:��	:�	:��	R�	R��	:�	:�s/�D7�	E�>'E�'E�7E�E
�E�E%c��|jt�5tjtjdt
i�ddd�|jtj�5tjtjd�ddd�tjtjd�}|j|dtj�|j|dd�|j|dd�|j|d	d
�|j|dd�tjtjtjtjtjtjg}|D],}tj|d
�}|j|d|i��.y#1swY��xYw#1swY��@xYw)Nz	should bestoo longr<r r8r�r9rr:rr;r7rK)r*r+r�_decode_filter_propertiesrDr�rrCr>rT�FILTER_POWERPC�FILTER_IA64�
FILTER_ARM�FILTER_ARMTHUMB�FILTER_SPARC)r7�
filterspecrrs    r;�test__decode_filter_propertiesz4MiscellaneousTestCase.test__decode_filter_propertiesms��
�
�
�y�
)�	R��*�*�4�?�?�[�%�<P�Q�	R�
�
�
�t�~�~�
.�	K��*�*�4�+<�+<�k�J�	K��3�3��!�!�#7�9�
�����D�)�4�+<�+<�=�����D�)�1�-�����D�)�1�-�����D�)�1�-�����K�0�'�:��?�?�D�$7�$7��#�#�T�_�_��'�'��):�):�<���	4�A��7�7��3�?�J����Z�$���3�	4�%	R�	R��	K�	K�s�+F>�(%G�>G�Gc���tjtjd�}tj|�}tjtj|�}|j	||�y)Nr<)rrBr>r=rT)r7�spec1�	reencoded�spec2s    r;� test_filter_properties_roundtripz6MiscellaneousTestCase.test_filter_properties_roundtrip�sV���.�.��!�!�#7�9���2�2�5�9�	��.�.�t�/@�/@�)�L�������&rKN)r�r�r�r1r@rIrNr"rKr;r.r.Js��
F�6�*4�.'rKr.s�
LAERTES

       O, fear me not.
       I stay too long: but here my father comes.

       Enter POLONIUS

       A double blessing is a double grace,
       Occasion smiles upon a second leave.

LORD POLONIUS

       Yet here, Laertes! aboard, aboard, for shame!
       The wind sits in the shoulder of your sail,
       And you are stay'd for. There; my blessing with thee!
       And these few precepts in thy memory
       See thou character. Give thy thoughts no tongue,
       Nor any unproportioned thought his act.
       Be thou familiar, but by no means vulgar.
       Those friends thou hast, and their adoption tried,
       Grapple them to thy soul with hoops of steel;
       But do not dull thy palm with entertainment
       Of each new-hatch'd, unfledged comrade. Beware
       Of entrance to a quarrel, but being in,
       Bear't that the opposed may beware of thee.
       Give every man thy ear, but few thy voice;
       Take each man's censure, but reserve thy judgment.
       Costly thy habit as thy purse can buy,
       But not express'd in fancy; rich, not gaudy;
       For the apparel oft proclaims the man,
       And they in France of the best rank and station
       Are of a most select and generous chief in that.
       Neither a borrower nor a lender be;
       For loan oft loses both itself and friend,
       And borrowing dulls the edge of husbandry.
       This above all: to thine ownself be true,
       And it must follow, as the night the day,
       Thou canst not then be false to any man.
       Farewell: my blessing season this in thee!

LAERTES

       Most humbly do I take my leave, my lord.

LORD POLONIUS

       The time invites you; go; your servants tend.

LAERTES

       Farewell, Ophelia; and remember well
       What I have said to you.

OPHELIA

       'Tis in my memory lock'd,
       And you yourself shall keep the key of it.

LAERTES

       Farewell.
sthis is not a valid lzma streams �7zXZ�ִF!t/����]bX��n�䴝o��
�2h�\������6�(�wd�"u.n�򎍏/�=��/M��ާz-]���rZ����o��#z/��F��M��t�6 BF$�Q����l��,bnԨ��NȆ3�x2�O@Q�/��O��o��z��S�t<�I#�ud�6Y����]��-Pe�e:	��7
�p�J���V���%G��=?�(΂=�I�3R��
�i����sP��X�2j�L��b���c-H�oJl�iQ�k��������?@���x�H12P���uw㾪i�WЀ�#cb5��]�d���Wl�UG��yF�7�v�5��h8W��5:?rD������5@���7��cԗi�tS�k�Kvy���6T�e
�]:k�l��a�4�r�}r���*�z�8h��Ӽl�-��K����Z��L�3Ϝ������!��^�9w �P�PKd��Z}����%$��/��&,�qh{Q�)�q�À����o�!�[Ԋw�t����`^�??\���RԎ��X�a����Ы������S�>ɕH��	
%��$.o��Rb��U�^�S��/���v�r�̢Gkzʀ�Ћ��Ix�y�-0�z^�֏_�P�i��萄ܿ�ky�܁��+���\�����Y�Y�h���w̴� �|�ej��z�`��A叩	�=��_�%voZO��	�M-�<"CM�g~b����|�'��x�!J�F�u8�7y��u�_���@��qc�#��5�)_
�3]o]5�my��K+��b� ��t����0���ȏ׮�+iܹk�>f�
��$�{pƈ0����_���h6�Z%'�
��"�冟7X=mNX[�FUɆ0��a+* �_$��_��ޯ46q�ɒ���`��}������ʮ`w�جVe�Z���#��d{w
����B:�^V�aH��
\X���u#%�*�v��!	4Vj?uLU���tw�P��g�YZs�]���������bX��n�䴝o��
�2h�\������6�(�wd�"u.n�򎍏/�=��/M��ާz-]���rZ����o��#z/��F��M��t�6 BF$�Q����l��,bnԨ��NȆ3�x2�O@Q�/��O��o��z��S�t<�I#�ud�6Y����]��-Pe�e:	��7
�p�J���V���%G��=?�(΂=�I�3R��
�i����sP��X�2j�L��b�pl�jr�=	�3!E�vV�F�״�P~��E�7�ƻ�c%�I�;�砋�Z�(���o>`᪨١�}獃4T���㘼DMA@���ȓ��Sa�śTJE}��g#ZVɝc�>0�S�/y_�(�r���?��@��:�z����BeyX�� :	��xD\&G�Y�J�v{���)A�o5����F?v��VtTf�����'k���\Y��|w��d�d������ �� ,�X��s��v�}���%
ߢ.�6
��h
� �Bl�U}�s�H�pB�8���Z��A��;z��{5!���A���$�qg��/|�r�^����=�n�6{>8
�:�'�.�
���:݂'[�"wD$�w�q�,1��,�2w�$Jdmg��A��&�8i��;�NQrh�eL;�m�Q�����N����[���j�EOli�B^���R]����.��-�e����iN�wbQ�~餈4�kM�)T�3�)��B���^��..��	�H�5�#�NV��$Kk�
�t�'�R��2�-LH��0~?SO�E]��<Z0a*?�r����nG�d^��8�uEI�
Vⳕ���i!�&1F�DP� SO3D!w�_G+�.��]�>�#h;5J�K�^-[��\�ʯ�ԡ�ĸp���r���r.l []��+0�gaKY�I�,
���V�_#���>w�W,�
�63�J�2=kT�Uti�_���lh�f���xr)r rs���]bX��n�cyq���m�'��� �Q��I���VL8_�뼥�
W$=R;�k8	�{��+��c��S3����m����b�4*���+�.�9�b�ZrA�0s"r�G�ސcu�۩.Al�<��Oi�Ŵ��g4t6"��o�?^}�}[:��
[�lg�2���n��7@��6T�u�	��8�[4�PCV�"��x~�N�K���%�k:{6�����è\�@�F_Ȑ�sU��8�7J�Mг;X�﮳eO,�z,dy�jlB�8#�6��PK�P؈ҡC?۔_�"��eޛ��>H�;�#��4�ź%v�9�A�"��2�i���3߾�Dm7���o:J�ہ6�O���	Q펕S/M�S�J�������d�=^B��E�͑��G�.��b&ٟ�j���\Cv�Ҋ?^H��>����IqY��K7�D�W���O���l�5�U�{��ϣk{�����O*��B-�(R�@E��:�V�Y��]�ĥ�gX���3]n콣Y���u�*�T�A$A�A����iw젇�%��=����D���ѻq����Cqp�L��� �"�t����~���c�ix���)l)�@l��ynD�:Җ��?������%_����
h�#�7QD�hnѣ_?q���17��_�|�ʷ�S�W��t�9L�|�W��s�L�_�$����F��kvf�hî�1�Q��G���5��yI�cw�rIp:p_�v�a"�ّ�e����ëH*m}��}>l%΄��d�ӂ��5fOg���^&	@ΟJ����{�����r�z�M�ho�^��������U7�\!��k�Ud~�熊z;��PG��w�^ı����3Sf ��@�売����s�xRD�`W���ϑ
TZ-X�����|�������^��[��7֢		Q5/@S�5�VhAKVC
���M�xO�O�<�e*�Hk6�G+�)͜l�����K}�5��u�*F�2r�r5s����]-Ԩd?ᆵH�2�.�g�����5z���	[}W�mH��g��Q�R�A�5���
v~�:o:J�Cc��*o��\l�E
��2aU{׸wܾ�8���8\����[_9�%�����fs#=�<�\t���=�7ft\��Q��8�Ԫ�آ>-ӎ�#��ArAm�J~��B����(`WK��kaj �����S�%��i�X�B�;E�e����T�bg�
�jу�]"M�r�\�j~PGH�N*Z.�	pE��1�ͩ��H�������P�~��0����JK�]�9���F���_�[�ԋ�6뿻�$kS{��,f:Sjz��殘�Q~r�?��&ˀ	��|x���|�dhh+'Ł�3�q���`Z#܊����I�l{�6���ճx�hz%��ݘ!��RUa���X�1�=R��0㤚�bd�$]B��h2c�L`4�x�Z�
]T^؉�
;�Y�9z�o�)f�]$n
p����������;�Q����K� @�:UcX
!��"=.6�g=�Wn����O���T���D��W3pnt�VOj�M�i��$3�܊f��Y
���K��hwO��2^&�V�
�i=yZ�o�ƶ���
��w�%�c�`]���8�m�Q���h`[q���0g�"N��R�)(�0\��G!���x��z������H�y�M
\A	ar�M��ꄛ!��~
�H��oڇh颾�qN��!WGڡ�A��`j���?5B�~E�!^�ݨy}�)�)����D��2f�uɗ��x4_6�$t�9�=˿v\���8jk�)ff�nĩ�����M����I�E���5��T�p��Ӊ3�/�֏ou;��PR����Fj�$�h��K(�c�7��)ݲ,���.yQi��`h-���	��^��[!�M��.���-S+�8,� �ë~�$e���P]i�o�g^
E�����k`�~�y�+�^D��"!�ҧ�T��5Y�4Z�H���f]όx����3��TUH���y�7��X�� �( /��\����J�vP8��~�4kA�y��P��J�N���aO�����:���e�q�ACmw�	�u���CwUP��8L4w!�L2 ����j�;V��ːlv@E�����Z[��E`>�ޡbZ�Щ`{�;�f��k1.��N��(���u���!L����Г����Bjc_�}d�àY��/��,�bl@�p��8�q�uH�X���}OX�ݾ����e�O`CF=K�$I_�X�J'v�+�.v�Tv�5ṑ�S��"(�x�CX����pS��'J�!��G	��2oS���d��y���,�f�
ߞE��\L��h��}���W#\�o�z�r3)r �start_offsetr s����]bX��n�䴝o��
�2h�\������6�(�wd�"u.n�򎍏/�=��/M��ާz-]���rZ����o��#z/��F��M��t�6 BF$�Q����l��,bnԨ��NȆ3�x2�O@Q�/��O��o��z��S�t<�I#�ud�6Y����]��-Pe�e:	��7
�p�J���V���%G��=?�(΂=�I�3R��
�i����sP��X�2j�L��b���c-H�oJl�iQ�k��������?@���x�H12P���uw㾪i�WЀ�#cb5��]�d���Wl�UG��yF�7�v�5��h8W��5:?rD������5@���7��cԗi�tS�k�Kvy���6T�e
�]:k�l��a�4�r�}r���*�z�8h��Ӽl�-��K����Z��L�3Ϝ������!��^�9w �P�PKd��Z}����%$��/��&,�qh{Q�)�q�À����o�!�[Ԋw�t����`^�??\���RԎ��X�a����Ы������S�>ɕH��	
%��$.o��Rb��U�^�S��/���v�r�̢Gkzʀ�Ћ��Ix�y�-0�z^�֏_�P�i��萄ܿ�ky�܁��+���\�����Y�Y�h���w̴� �|�ej��z�`��A叩	�=��_�%voZO��	�M-�<"CM�g~b����|�'��x�!J�F�u8�7y��u�_���@��qc�#��5�)_
�3]o]5�my��K+��b� ��t����0���ȏ׮�+iܹk�>f�
��$�{pƈ0����_���h6�Z%'�
��"�冟7X=mNX[�FUɆ0��a+* �_$��_��ޯ46q�ɒ���`��}������ʮ`w�جVe�Z���#��d{w
����B:�^V�aH��
\X���u#%�*�v��!	4r^�@)r rr:s��\bW�h��'֐,�vJq l��xB�f=&fx�
>Tn���F��v_�?�V<�#�w�����؞��*�]c�~��]Eg��"8��=~�W��D��Ǚ��1�u�9���hw|��l�k�6o7��{Y_b��$�=��w�Z@�kmE���*ح���{�j,)mB<�ca�(� ���-���c��'B�`װ����]�Bܖ��6D�Ճ1��&5� PZ&j��ŏ�Sӥ�u�$̗o�V~�����xW�p4��HDY�)�t�"��F���ߥ�"�x���Ȓ
�[l*Yر@�o�7r�u�5�$U{	}Q�xN��XX�`���v-f�/\��)B�g�#2B2444q	�93?mPX��a�)d����j���w��2�A\�C3��!��o[�:0�.��@\4��Jv��4�k�kf�ss�^�e�a�=&�r�p�EՀy���k�T�H�oŌ�0��-e\����������>���k���	��!��^�qA�<EG��񶹂��s�a��̒ҶU�نa��TG@	7*�޼]6N�񄞟���'�<ߙsqН���%p4�{����=M�H:��֤�0�D�Ө�S� `���W� 7�N#
�	��1������a���l�	jA�:��\=D�3]����eZ�A��dgFQ����qB�r�����o仴��@����d�Q
�/ظS5�:�g��D��zڐ�5H!	�u�R�l�Q���O����b�	R���A� �-IGE��$���j��Ѫ��I2s�5���3��D0�%�P}JO^h��lV.�o��wඤ�*�r�G+��i[w�@_�y��W.��-��mU6g�SA(��=ޒ�,D�������nE�\��Y��ˌ�����~�
E�uV�ƙ�m<[u�1
�w�%!�[·�B�,%d�f�"�g.�3�XY+4�qA
=9�*�/�s�1b@���FQ\�������,E�7[����!mA}��3R5�F�H�)cc�n{IJB���`w&`�}@Oxe	�����|�e���g@�Y�8����8��N�J�!�q��q��W��k*7��J��m�q��
:�`.�+�)ހX��Qm�cPA�'ɬ��)�t��ZR�������`]�gR�FT��HS��<���P���e�J^��[�����c~']��A���,�K{���Mx�Q�3���=��a��9a�2����s���b�E"��dD�IJ!�d�G��m�_r��NBq�PΧ���eP!|�6ͿIir�e�jP�q�wS7hM�ʆ?�P}y~�I��<Q�8ߔ�>r�k���v⹊�q�I���s���"㩥>D��;��33��'e�.�;�Hq�W�~����2�x
6�	�����;�j[��������-%@������2\ǯ¡Oth�������_��A_
��W&�D�����܅;X�,�>-7S��)p�QBL��d��su�ȕ��*)�v�{FW�l��js]@h3`D��ѻZ^�3+����g�-1F���%-�p��s8�,��|*xТ�b!c�هU�n �VJ�"�8�%_`?@*‚�^�&��g���ɯ'�}F��N�\�Mz-˚�O@�gƥw
nG'���GI������rυy[���/������_�MQ+x�F�]��&,�f���Hgr�v��qxY��F�9��'���F���d<�\�����ka�i� C�"4)֧`�����y�|j�X�!��NDžj�v���]c�5�ՙ�i^�G��l�:�,�'4���$���Y���w���k�kņ>�~����G5��]�0d��w#(3ʡ�bX����������r+m�3qŞ��*����6�s�-�r?��CgJN'M�
Q
�`m�N�q�l�:qG�T�!0�~�4�J8�2���7A���t]��5M�K����,j7��(���l2�ڕ(�0B���hp��J�	�g�o?�?�}���όV:�вk�k��=Ǎ/���`.�X*~�j�"��;V`���t0��d��)�}�\bJ��
+V!�ޘ��K�7����`�
�ā~؍��m�Y�)/����P�m[�z�Z���Ӌ���Pf�0�ЕJ{��W�op��e�]��ڷ5<�g!̱�\72Mc���35
0�L-�˖�U�ʰ̉*��P��.~9o?�
��}��P��
;m���|��#0�3<���^�HiֳTF��q}�&ĮΜU�̶drw�N��z�s�R���l�5^e��VYٟ�*Ĩ6+ֈ[�_rc�f���x|����~L/���ۘ��C��i��O��t����<Q`%5k
7�I�<#)&��C�`!˩��F���M�u�ʕe��b�Xa�Of;�C�r�bٜ�i]<z�T�9pF����Pw堔��a���q�&Wo5q8�t����4-H	�d��Q��J��s.�"�pN����g}�|���d3X[�E�����+W�v�G/I<L\1�O��{�mW�~�^�@
�D@�A��9;�BO���u��tN��J5����Z�O�6[7�o*[�ɷa�'��u��q�+y��a��Mļ�0'pQ�H����K����=n�������F��OY���0	�|�������P�y~�h0��d[_v�c�I3�`W�yrkB���iŊ^�ԁ���>"�v`��$��^�2.�d�d@��Y|��j�}�riV��X4rB�NPS[���I����(�;9�|�^0;.*[�l�_X�f!�������4��3D{����t]�5�Uf��b
�,Q��	�@��<,-�3�7	K�7�*X��~��O�kz"��3sL�;�^��⽪Z�fڦ�:]}�a?���5M�
}M��
2��������Yo�ī�T��U���"���u�n�A̐�i���~4��*J�t��uוZ��G�~ST,�
C���`2�>Q��ś�������hu ��b��VKc�� ޅ-:���*��;`�ݗ�g��S}�5e7�/�!�Y��'��
��C��(��bTD_���E�֘{�\fz��9�˥��bqW!;z~��i�����s+5k�h��t�Uޣ�ˆ��j
���C�?0�Jj;���0d#�;���c�&8?�J��n��cb4����l��h�n�Z����e��,B-�c��|&�LL��8��6�bVi����F�̎4�/^W�?܄(dO�D64�,S�J�c^�0	�D[�憰��n�^븸�)������a ��@�+
/���h�3���`��+���P��-�B���n^�/��w�<M�!��E���Y�<�٦Bǃ�"�D|&��d��œ`�7��0�o��喤��v;]���'hA�&�9�~@��t�<�4���)�=:&�6�A+�������<�k\d�v��^l5C?ԠMCȀ
�3����BPjy���zE�[�oT
'�*H�
�M��7f;����'wM ��帷 D+P�gn��kc�ƐV�UovfZ��3^�翬v��x�J����j�n*o>��_+D{�s��HAG��ݭ�7q+�W�g"X��~��4�`��q)�K�sV��5�s*�;�{�<@�Gj�L�ؒ&�	u5]���\�A|I���C�e�Q�*�~�u�XyP�
��fZEu>��'`����cZ��8j��U��o���e>�R�b#�H-�!ޝ�k�w�{��/K)A���:�UM̻����{9� �((6i��u؞��q��7-�B�Q8�v�A�Cd��!�'�ͮ�ؓ�ިb��2K�l�	�|DU��>�w�7�}W�|g|1�� �m@�6+�	�D� Mҵ'��~Co���	�f��I�1���φ��`������͂�wc�d���C�UE�MJH�=�*I�"
^�S6=�@�,�Gr�[��>n��<�(���}���~4����s�tf�f��	�/)��
ײw����Q�n��s��Ʒ��(G<6�[~H ������~����
:���e����(��_(�c̟gv��S=S�>���
YR�G�A�������O��d�c�P������ܟ�"[Q~䈡#�CϾ�H��ؾm�WFQ(XDK�B�.-՞|��N]�Z�=�)M��LTi���N�?���4�O��&����u7�0�ؓ�BNE����yϘDʚ��L��_�]ܩ1 �cؿ��p�-����N(��#2�I�l�r�__main__)7rbr��iorrrrrr�r�r��testr�unittest�test.supportrr�test.support.import_helperr	�test.support.os_helperr
rrr
rrr�TestCaserr�r�r
rr.rUr�rHrNr.r0rerC�PRESET_DEFAULT�PRESET_EXTREMErirjrDrmrnrDrqrrr�r��mainr"rKr;�<module>r\s�����A�A�	��
�
�
���(�4���V���F�F�k3�X�%6�%6�k3�\D+��):�):�D+�N��u
/�8�$�$�u
/�pu�8�$�$�u�p?'�H�-�-�?'�H>	��@6��+4��`("��X�)�)�Q�7�8�
�*��\�)�)�1�5��)�)� �/�/�$�2E�2E�E�G�H�
�:&��|�(�(�%�@���)�)�*�,�
�)��Z�)�)�1�5�����>��)�)�Q�a�@�B�
�?��HA%��L�z���H�M�M�O�rK