Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 13.59.35.247
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_lzma.cpython-310.pyc
o

ab�`�@s�ddlZddlZddlmZmZmZddlZddlZddlZddl	Z	ddl
Z
ddlmZddl
Z
ddlmZmZddlmZddlmZmZed�ZddlmZmZmZmZGd	d
�d
e
j�ZGdd�de
j�ZGd
d�d�ZGdd�de
j�ZGdd�de
j�Z Gdd�de
j�Z!dZ"dZ#dZ$dZ%ej&dd�gZ'dZ(ej)dd�ej&ej*ej+Bd�gZ,dZ-ej.dd �d!ej&igZ/d"Z0ej)d#d�ej1d$d �ej&d#dd%�gZ2d&Z3d'Z4e5d(kr�e
�6�dSdS))�N)�BytesIO�UnsupportedOperation�DEFAULT_BUFFER_SIZE)�support)�_4G�
bigmemtest)�
import_module)�TESTFN�unlink�lzma)�LZMACompressor�LZMADecompressor�	LZMAError�LZMAFilec@s@eZdZdd�Zdd�Zdd�Zdd�ZdGd
d�Zdd
�Zdd�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*d+�Zd,d-�Zd.d/�Zd0d1�Zd2d3�Zd4d5�Zd6d7�Zd8d9�Zej e!e"d:d;d<�d=d>���Z#ej e!e"d:d?d<�d@dA���Z$dBdC�Z%ej&dDdE��Z'dFS)H�CompressorDecompressorTestCasecCsL|�ttg�|jttdd�|jttdd�|jttdd�|jttdd�|jtttjd�|�t��td	d
tjigd�Wd�n1sJwY|�ttd�|jttd
d�|�t��ttjdd�Wd�n1suwY|�t��ttjdd�Wd�n1s�wY|jttt	d�|�t��ttj
t	d�Wd�n1s�wY|�t��ttjt	d�Wd�n1s�wYt�}|�t|j�|�t|jdd�|�t|j
d�|�
�}|�t|jd�|�t|j
�t�}|�t|j�|�t|jdd�|�|�|�t|jd�dS)Ng������@��format���checkZasdf��preset���filters��id�rr�sqw��memlimitZzzz��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�lzdrr�7/usr/local/python-3.10/lib/python3.10/test/test_lzma.py�test_simple_bad_argssH�����
z3CompressorDecompressorTestCase.test_simple_bad_argscCs�|jttdgd�|jttddigd�|jttddigd�|�t��ttjdd�gd�Wd�n1s9wY|�t��ttjdd�gd�Wd�n1sXwY|�t��ttjdd�gd�Wd�dS1sxwYdS)	N�wobsiter�xyzzyrr�́r�r�foo)r%r&rr'rr)�FILTER_DELTA�
FILTER_X86�r2rrr6�test_bad_filter_specBs��"�z3CompressorDecompressorTestCase.test_bad_filter_speccCs$t�}|�t�|�t|jd�dS)Nsnyan)r
r0�
COMPRESSED_XZr%r1�r2r5rrr6�test_decompressor_after_eofMs
z:CompressorDecompressorTestCase.test_decompressor_after_eofcCsZtdd�}|�t|jt�ttjdd�}|�t|jt�ttjdd�}|�t|jt�dS)N�r)	r
r%rr0rArr,r-�COMPRESSED_ALONErBrrr6�test_decompressor_memlimitRs
z9CompressorDecompressorTestCase.test_decompressor_memlimit�cCsN|�|j�|�|�}|�|t�|�|j|�|�|j�|�|j|�dS�N)�assertFalse�eofr0�assertEqual�INPUTr�
assertTrue�unused_data)r2r5�datarrN�outrrr6�_test_decompressor^s
z1CompressorDecompressorTestCase._test_decompressorcCs0t�}|�|ttj�t�}|�|ttj�dSrH)r
rQrAr�CHECK_CRC64rE�
CHECK_NONErBrrr6�test_decompressor_autofsz5CompressorDecompressorTestCase.test_decompressor_autocC�ttj�}|�|ttj�dSrH)r
rr,rQrArRrBrrr6�test_decompressor_xzm�
z3CompressorDecompressorTestCase.test_decompressor_xzcCrUrH)r
rr-rQrErSrBrrr6�test_decompressor_aloneqrWz6CompressorDecompressorTestCase.test_decompressor_alonecC�"ttjtd�}|�|ttj�dS�Nr)r
rr*r+rQ�COMPRESSED_RAW_1rSrBrrr6�test_decompressor_raw_1u�z6CompressorDecompressorTestCase.test_decompressor_raw_1cCrYrZ)r
rr*�
FILTERS_RAW_2rQ�COMPRESSED_RAW_2rSrBrrr6�test_decompressor_raw_2yr]z6CompressorDecompressorTestCase.test_decompressor_raw_2cCrYrZ)r
rr*�
FILTERS_RAW_3rQ�COMPRESSED_RAW_3rSrBrrr6�test_decompressor_raw_3}r]z6CompressorDecompressorTestCase.test_decompressor_raw_3cCrYrZ)r
rr*�
FILTERS_RAW_4rQ�COMPRESSED_RAW_4rSrBrrr6�test_decompressor_raw_4�r]z6CompressorDecompressorTestCase.test_decompressor_raw_4c	Cs�t�}g}tdtt�d�D]}|�|j�|�|�t||d���q
d�|�}|�	|t
�|�	|jtj
�|�|j�|�	|jd�dS�Nr�
rG�r
�range�lenrArIrJ�appendr0�joinrKrLrrrRrMrN�r2r5rP�irrr6�test_decompressor_chunks�s
z7CompressorDecompressorTestCase.test_decompressor_chunksc	Cs�t�}g}tdtt�d�D].}|�|j�|�|�d��|�|�d��|�|�d��|�|�t||d���q
d�|�}|�	|t
�|�	|jtj
�|�|j�|�	|jd�dSrgrirnrrr6�test_decompressor_chunks_empty�s
z=CompressorDecompressorTestCase.test_decompressor_chunks_emptycCs&t�}d}g}tt�d}|�|jtd|�|d��|�|j�|�t|d�|�|�|jd|d��|�|j�|�t|d�|�|�|jt|d�|d��|�t|d�|�|j	sw|�|jd|d��|�t|d�|�|j	r`d�
|�}|�|t�|�|jt
j�|�|jd�dS)N�d���
max_length���rG)r
rkrArlr0rI�needs_inputrK�assertLessEqualrJrmrLrrrRrN)r2r5rurPZlen_rrr6� test_decompressor_chunks_maxsize�s0���
z?CompressorDecompressorTestCase.test_decompressor_chunks_maxsizecCs�t�}g}|�|jtdd�dd�d�|�|�dd��|�|�tdd�d��|�|�tdd���|�d�|�t�dS)NrrrrtrGrs�i��r
rKr0rArlrmrL�r2r5rPrrr6�test_decompressor_inputbuf_1�s��z;CompressorDecompressorTestCase.test_decompressor_inputbuf_1cCs�t�}g}|�|jtdd�dd�d�|�|�d��|�|�tdd�d��|�|�tdd�d��|�|�tdd���|�d�|�t�dS)N��rrtrGirs�,r|r}rrr6�test_decompressor_inputbuf_2�s��z;CompressorDecompressorTestCase.test_decompressor_inputbuf_2cCslt�}g}|�|�tdd�d��|�|�tdd�d��|�|�tdd���|�d�|�t�dS)Nr�r�rG)r
rlr0rArKrmrLr}rrr6�test_decompressor_inputbuf_3�sz;CompressorDecompressorTestCase.test_decompressor_inputbuf_3cCs&t�}d}|j|t|tj|d�dS)Ns	fooblibar�rN)r
rQrArrR)r2r5�extrarrr6�test_decompressor_unused_data�s

�z<CompressorDecompressorTestCase.test_decompressor_unused_datacCslt�}|�t|jt�ttj�}|�t|jt�ttj�}|�t|jt	�ttj
td�}|�t|jt	�dSrZ)r
r%rr0r[rr,rEr-rAr*r+rBrrr6�test_decompressor_bad_inputs

z:CompressorDecompressorTestCase.test_decompressor_bad_inputcCs*t�}|�t|jt�|�t|jt�dSrH)r
r%rr0r[rBrrr6�test_decompressor_bug_28275sz:CompressorDecompressorTestCase.test_decompressor_bug_28275cCs2t�}|�t�|��}t�}|�||tj�dSrH)rr.rLr/r
rQrrR�r2r3�cdatar5rrr6�test_roundtrip_xzsz0CompressorDecompressorTestCase.test_roundtrip_xzcCs6ttj�}|�t�|��}t�}|�||tj�dSrH)	rrr-r.rLr/r
rQrSr�rrr6�test_roundtrip_alones
z3CompressorDecompressorTestCase.test_roundtrip_alonecCsBttjtd�}|�t�|��}ttjtd�}|�||tj	�dSrZ�
rrr*rdr.rLr/r
rQrSr�rrr6�test_roundtrip_raw#sz1CompressorDecompressorTestCase.test_roundtrip_rawcCspttjtd�}|�t�}||�d�7}||�d�7}||�d�7}||��7}ttjtd�}|�||tj	�dS)NrrGr�r�rrr6�test_roundtrip_raw_empty)s
z7CompressorDecompressorTestCase.test_roundtrip_raw_emptyc	Csnt�}g}tdtt�d�D]}|�|�t||d���q
|�|���d�|�}t�}|�	||t
j�dSrg�rrjrkrLrlr.r/rmr
rQrrR�r2r3r�ror5rrr6�test_roundtrip_chunks3s
z4CompressorDecompressorTestCase.test_roundtrip_chunksc	Cs�t�}g}tdtt�d�D](}|�|�t||d���|�|�d��|�|�d��|�|�d��q
|�|���d�|�}t�}|�	||t
j�dSrgr�r�rrr6�test_roundtrip_empty_chunks=s
z:CompressorDecompressorTestCase.test_roundtrip_empty_chunkscCs"t�}|j|tttjtd�dS)Nr�)r
rQrArErrRrBrrr6�test_decompressor_multistreamLs
�z<CompressorDecompressorTestCase.test_decompressor_multistreamrrrs)�sizeZmemusecCs^t�}|�d|�|��}t�|�}z|�t|�|�|�t|�d��d�Wd}dSd}w)N�xr)rr.r/rr0rKrk�strip)r2r�r3r��ddatarrr6�test_compressor_bigmemSs
z5CompressorDecompressorTestCase.test_compressor_bigmemrcCsft�}d}t�|�}z!|||d}t�|�}|�|�}|�||�Wd}}}dSd}}}w)Ni��)r
�random�	randbytesrr.r0rK)r2r�r5�	blocksize�block�inputr�r�rrr6�test_decompressor_bigmem_s


z7CompressorDecompressorTestCase.test_decompressor_bigmemc	Cs�ttjd�D]:}|�t��t�t�|�Wd�n1s wY|�t��t�t�|�Wd�n1s<wYqdS�Nr�)rj�pickle�HIGHEST_PROTOCOLr%r&�dumpsrr
)r2�protorrr6�test_pickleos����z*CompressorDecompressorTestCase.test_picklecCsHt�td�}t�}|�}td�D]}|��q|j|�|ddd�dS)N�gettotalrefcountrrrrh)Zdelta)rZ
get_attribute�sysr
rj�__init__ZassertAlmostEqual)r2r�r5Zrefs_beforerorrr6�&test_refleaks_in_decompressor___init__vs
zECompressorDecompressorTestCase.test_refleaks_in_decompressor___init__N�rG)(�__name__�
__module__�__qualname__r7r@rCrFrQrTrVrXr\r`rcrfrprqryr~r�r�r�r�r�r�r�r�r�r�r�r�rZskip_if_pgo_taskrrr�r�r�Z
refcount_testr�rrrr6rsL(
 
	


rc@sTeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�ZdS)�"CompressDecompressFunctionTestCasecCs&|�ttj�|�ttjg�|jttjddd�|jttjddd�|jttjddd�|jttjddd	�|�t��tjdd
dtjigd�Wd�n1sSwY|�ttj�|�ttjg�|jttjdd
d�|jttjddd�|�t��tjdtjid�Wd�n1s�wY|�t��tjdtjdd�Wd�n1s�wY|�t��tjdtd	�Wd�n1s�wY|�t��tjdtj	td�Wd�n1s�wY|�t��tjdtj
td�Wd�dS1�swYdS)NrG�xzrZnonerZblahrrDrrrrrg��1�Arr"r!�rr )r%r&rr.r'r)r0r*r+r,r-r?rrr6�
test_bad_args�s<������$�z0CompressDecompressFunctionTestCase.test_bad_argscCs�|�t��tjtdd�Wd�n1swY|�t��tjttjdd�Wd�n1s5wY|�t��tjttjdd�Wd�dS1sTwYdS)NrDrr�)r%rrr0rAr,rEr-r?rrr6�test_decompress_memlimit�s����"�z;CompressDecompressFunctionTestCase.test_decompress_memlimitcCs�t�t�}|�|t�t�t�}|�|t�t�ttj�}|�|t�t�ttj�}|�|t�tjttj	t
d�}|�|t�tjttj	td�}|�|t�tjt
tj	td�}|�|t�tjttj	td�}|�|t�dSrZ)rr0rArKrLrEr,r-r[r*r+r_r^rbrarerd�r2r�rrr6�test_decompress_good_input�s0

����z=CompressDecompressFunctionTestCase.test_decompress_good_inputcCs�|�ttjtdd��|�ttjtdd��|jttjtdd�tjtd�|jttjt	dd�tjt
d�|jttjtdd�tjtd�|jttjt
dd�tjtd�dS)N�r")r%rrr0rArEr[r*r+r_r^rbrarerdr?rrr6� test_decompress_incomplete_input�s���
�zCCompressDecompressFunctionTestCase.test_decompress_incomplete_inputcCs|�t��
t�t�Wd�n1swY|�t��
t�t�Wd�n1s/wY|�t��tjttjd�Wd�n1sLwY|�t��tjttj	d�Wd�n1siwY|�t��tjttj
td�Wd�dS1s�wYdS�Nrr")r%rrr0�COMPRESSED_BOGUSr[rEr,rAr-r*r+r?rrr6�test_decompress_bad_input�s"����
�"�z<CompressDecompressFunctionTestCase.test_decompress_bad_inputcCs�t�t�}t�|�}|�|t�t�ttj�}t�|�}|�|t�t�ttj�}t�|�}|�|t�tjttjtd�}tj|tjtd�}|�|t�dSrZ)	rr.rLr0rKr,r-r*rd)r2r�r�rrr6�test_roundtrip�s



z1CompressDecompressFunctionTestCase.test_roundtripcCs"t�tt�}|�|td�dS)Nrs)rr0rArErKrLr�rrr6�test_decompress_multistream�r]z>CompressDecompressFunctionTestCase.test_decompress_multistreamcCst�tt�}|�|t�dSrH�rr0rAr�rKrLr�rrr6�test_decompress_trailing_junk�sz@CompressDecompressFunctionTestCase.test_decompress_trailing_junkcCs&t�tdt�}|�|td�dS)Nrr�r�rrr6�)test_decompress_multistream_trailing_junkszLCompressDecompressFunctionTestCase.test_decompress_multistream_trailing_junkN)r�r�r�r�r�r�r�r�r�r�r�r�rrrr6r��sr�c@s*eZdZdZd
dd�Zdd�Zdd�Zd	S)�TempFilez=Context manager - creates a file, and deletes it on __exit__.rGcCs||_||_dSrH)�filenamerO)r2r�rOrrr6r�
s
zTempFile.__init__cCs>t|jd��}|�|j�Wd�dS1swYdS)N�wb)�openr��writerO�r2�frrr6�	__enter__s"�zTempFile.__enter__cGst|j�dSrH)r
r�)r2�argsrrr6�__exit__szTempFile.__exit__Nr�)r�r�r��__doc__r�r�r�rrrr6r�s

r�c@s�eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zdd�Zdd �Zd!d"�Zd#d$�Zd%d&�Zd'd(�Zd)d*�Zd+d,�Zd-d.�Zd/d0�Zd1d2�Zd3d4�Zd5d6�Zd7d8�Zd9d:�Zd;d<�Z d=d>�Z!d?d@�Z"dAdB�Z#dCdD�Z$dEdF�Z%dGdH�Z&dIdJ�Z'dKdL�Z(dMdN�Z)dOdP�Z*dQdR�Z+dSdT�Z,dUdV�Z-dWdX�Z.dYdZ�Z/d[d\�Z0d]d^�Z1d_d`�Z2dadb�Z3dcdd�Z4dedf�Z5dgdh�Z6didj�Z7dkdl�Z8dmdn�Z9dodp�Z:dqdr�Z;dsdt�Z<dudv�Z=dwdx�Z>dydz�Z?d{d|�Z@d}S)~�FileTestCasecCs�ttt���}Wd�n1swYtt�d��}Wd�n1s'wYtt�d��}Wd�n1s=wYtt�d��	}Wd�dS1sTwYdS)N�w�x�a)rrrAr�rrr6�	test_inits���"�zFileTestCase.test_initc	Cs�t�t�}t|t��et|��}|�|��t�Wd�n1s"wYt|d��
}|�	t�Wd�n1s<wYt|��}|�|��td�Wd�n1sZwYWd�dSWd�dS1srwYdS)Nr�rs)
�pathlib�Pathr	r�rArrK�readrLr�)r2r�r�rrr6� test_init_with_PathLike_filename"s

��
��"�z-FileTestCase.test_init_with_PathLike_filenamec	Cs�ttt��Ott��}Wd�n1swYttd��}Wd�n1s*wYttd��}Wd�n1s?wYWd�dSWd�dS1sWwYdS)Nr�r�)r�r	rArr�rrr6�test_init_with_filename,s
����"�z$FileTestCase.test_init_with_filenamec	Cs:tt���ttd��Wd�n1swYttd��Wd�n1s*wYttd��Wd�n1s?wYttd��Wd�n1sTwYttd��Wd�n1siwYttd��Wd�n1s~wYWd�dSWd�dS1s�wYdS)N�r�rbr�r�r��ab)r�r	rr?rrr6�test_init_mode5s,
�������"�zFileTestCase.test_init_modec
Cs�|�tt�dD]E}tt�tt|��Wd�n1swY|�t��tt|��Wd�n1s9wYWd�n1sHwYqdS)N)r��xb)�
addCleanupr
r	rr%�FileExistsError)r2�moderrr6�test_init_with_x_modeDs������z"FileTestCase.test_init_with_x_modecCsr|�t��ttt�d�Wd�n1swY|�t��ttt�d�Wd�n1s3wY|�t��ttt�d�Wd�n1sOwY|�t��ttt�d�Wd�n1skwY|�t��ttt�d�Wd�n1s�wY|�t��ttt�d�Wd�n1s�wY|�t��ttt�d�Wd�n1s�wY|�t��ttt�d�Wd�n1s�wY|�t��ttt�d	�Wd�n1s�wY|�t��ttt�d
�Wd�n	1�swY|�t��ttt�d�Wd�dS1�s2wYdS)N)rr�r�xtzx+�rxZwx�rtzr+�wtzw+�rw)r%r'rrrAr?rrr6�test_init_bad_modeNsB����������$�zFileTestCase.test_init_bad_modecCs�|�t��tt�ddd�Wd�n1swY|�t��tt�dtjd�Wd�n1s6wY|�t��tt�dtjdd�Wd�n1sVwY|�t��ttt	�tj
d�Wd�n1stwY|�t��ttt	�tjd�Wd�n1s�wY|�t��ttt	�tjd�Wd�n1s�wY|�t��ttt	�tj
d�Wd�n1s�wY|�t��ttt	�tjd�Wd�dS1s�wYdS)Nr�sasdrr)r%r&rrrr�
CHECK_UNKNOWN�CHECK_ID_MAXr'rArS�CHECK_CRC32rR�CHECK_SHA256r?rrr6�test_init_bad_checkfs0�������"�z FileTestCase.test_init_bad_checkcCs�|�t��tt�ddd�Wd�n1swY|�t��tt�ddd�Wd�n1s5wY|�t��tt�ddd�Wd�n1sRwY|�t��tt�ddd�Wd�n1sowY|�t��tt�ddd�Wd�n1s�wY|�t��tt�ddd�Wd�n1s�wY|�t��ttt�d	d�Wd�dS1s�wYdS)
Nr�g��(\�@rrh�rvi����r<r)r%r&rrr�
OverflowErrorr'rAr?rrr6�test_init_bad_presetzs*������"�z!FileTestCase.test_init_bad_presetcCs�|�t��tt�ddgd�Wd�n1swY|�t��tt�dddigd�Wd�n1s9wY|�t��tt�dddigd�Wd�n1sYwY|�t��tt�dtjdd	�gd�Wd�n1s{wY|�t��tt�dtjdd	�gd�Wd�n1s�wY|�t��tt�dtjdd	�gd�Wd�dS1s�wYdS)
Nr�r8rr9rrr:rr;)	r%r&rrr'rr)r=r>r?rrr6�test_init_bad_filter_spec�s0��������"�z&FileTestCase.test_init_bad_filter_speccCsF|�t��tt�dtjdtd�Wd�dS1swYdS)Nr��)rrr)r%r'rrrr*r+r?rrr6�!test_init_with_preset_and_filters�s
�"�z.FileTestCase.test_init_with_preset_and_filterscCs�tt�� }t|�}|��|�|j�|��|�|j�Wd�n1s'wYttt��tt�}|j}|��|�	|j�|��Wd�dS1sRwYdSrH)
rrAr�closerI�closedr�r	�_fprM)r2�srcr��fprrr6�
test_close�s
�

"�zFileTestCase.test_closecCs�ttt��}z|�|j�|��|�|j�W|��n|��w|�|j�tt�d�}z|�|j�W|��n|��w|�|j�dS�Nr�)rrrArIr�r�r�rMr�rrr6�test_closed�szFileTestCase.test_closedc	Cs�ttt��}z
|�t|j�W|��n|��w|�t|j�tt	t��+tt	�}z|�
|��|j���|�|��t
�W|��n|��wWd�n1sSwY|�t|j�dSrH)rrrAr%r�filenor�r'r�r	rKr�ZassertIsInstance�intr�rrr6�test_fileno�s�zFileTestCase.test_filenocCs�ttt��}z|�|���|��|�|���W|��n|��w|�t|j�tt�d�}z
|�	|���W|��n|��w|�t|j�tt�}dd�|_t|�}z
|�	|���W|��n|��w|�t|j�dS)Nr�cSsdS)NFrrrrr6�<lambda>�sz,FileTestCase.test_seekable.<locals>.<lambda>)
rrrArM�seekabler�r�r%r'rI)r2r�r�rrr6�
test_seekable�s&
zFileTestCase.test_seekablecC�ttt��}z|�|���|��|�|���W|��n|��w|�t|j�tt�d�}z
|�	|���W|��n|��w|�t|j�dSr�)
rrrArM�readabler�r�r%r'rIr�rrr6�
test_readable��zFileTestCase.test_readablecCr�r�)
rrrArI�writabler�r�r%r'rMr�rrr6�
test_writablerzFileTestCase.test_writablecCs�ttt���}|�|��t�|�|��d�Wd�n1s!wYttt���}|�|��t�Wd�n1s?wYttt�tjd��}|�|��t�|�|��d�Wd�n1shwYttt�tj	d��}|�|��t�|�|��d�Wd�n1s�wYttt
�tjtd��}|�|��t�|�|��d�Wd�n1s�wYttt
�tjtd��}|�|��t�|�|��d�Wd�n1s�wYttt�tjtd��}|�|��t�|�|��d�Wd�n	1�swYttt�tjtd��}|�|��t�|�|��d�Wd�dS1�s<wYdS)NrGrr")rrrArKr�rLrErr,r-r[r*r+r_r^rbrarerdr�rrr6�	test_readsV�����������$�zFileTestCase.test_readcCs
ttt���}|�|�d�d�Wd�n1swYttt���}|�|�d�d�Wd�n1s9wYttt�tjd��}|�|�d�d�Wd�n1s[wYttt�tjd��}|�|�d�d�Wd�dS1s~wYdS)NrrGr)	rrrArKr�rErr,r-r�rrr6�test_read_0/s���"�zFileTestCase.test_read_0cCsvttt���+}g}	|�d�}|sq |�t|�d�|�|�q
|�d�|�t	�Wd�dS1s4wYdS�NTrhrG)
rrrAr�rxrkrlrKrmrL)r2r��chunks�resultrrr6�test_read_109s

�"�zFileTestCase.test_read_10cCs�tttd���}|�|��td�Wd�n1swYtttt���}|�|��td�Wd�n1s?wYtttd�tj	t
d��}|�|��td�Wd�dS1sfwYdS)Nr�rs�r")rrrArKr�rLrErbrr*rar�rrr6�test_read_multistreamDs���"�z"FileTestCase.test_read_multistreamcCsvtj}tt�t_z.tttd���}|�|��td�Wd�n1s&wYW|t_dSW|t_dS|t_w�Nr�)	�_compression�BUFFER_SIZErkrArrrKr�rL)r2Zsaved_buffer_sizer�rrr6�)test_read_multistream_buffer_size_alignedMs
�
�z6FileTestCase.test_read_multistream_buffer_size_alignedcCsFtttt���}|�|��t�Wd�dS1swYdSrH�rrrAr�rKr�rLr�rrr6�test_read_trailing_junkXs"�z$FileTestCase.test_read_trailing_junkcCsNtttdt���}|�|��td�Wd�dS1s wYdSrrr�rrr6�#test_read_multistream_trailing_junk\s"�z0FileTestCase.test_read_multistream_trailing_junkc	Cs�ttt��5tt��}|�|��t�|�|��d�Wd�n1s%wYWd�dSWd�dS1s=wYdS)NrG)r�r	rArrKr�rLr�rrr6�test_read_from_file`s
��"�z FileTestCase.test_read_from_filec	Cs�zt�d�}Wnty|�d�Ynwttt��5t|��}|�|��t	�|�|��d�Wd�n1s;wYWd�dSWd�dS1sSwYdS)N�ascii�%Temporary file name needs to be ASCIIrG)
r	�encode�UnicodeEncodeError�skipTestr�rArrKr�rL)r2�bytes_filenamer�rrr6�'test_read_from_file_with_bytes_filenamefs�
��"�z4FileTestCase.test_read_from_file_with_bytes_filenamecCsHtttdd����}|�t|j�Wd�dS1swYdS)Nr�)rrrAr%r1r�r�rrr6�test_read_incompleteps"�z!FileTestCase.test_read_incompletec	Cs�tdd�}tt|���}|�t|j�Wd�n1swYtt|���}|�|�tt��t�|�t|jd�Wd�n1sGwYt	d�D]$}tt|d|����}|�t|jd�Wd�n1sowYqPdS)Ni�r��)
rArrr%r1r�rKrkrLrj)r2Z	truncatedr�rorrr6�test_read_truncatedts�����z FileTestCase.test_read_truncatedcCs�ttt��}|��|�t|j�tt�d��}|�t|j�Wd�n1s)wYttt���}|�t|jt��Wd�dS1sIwYdSr�)	rrrAr�r%r'r�r&�floatr�rrr6�test_read_bad_args�s�"�zFileTestCase.test_read_bad_argscCs@ttt���}|�t|j�Wd�dS1swYdSrH)rrr�r%rr�r�rrr6�test_read_bad_data��"�zFileTestCase.test_read_bad_datacCstttt���*}g}	|��}|sq|�|�q
|�d�|�t�|�|��d�Wd�dS1s3wYdS)NTrG�rrrA�read1rlrKrmrL�r2r�Zblocksrrrr6�
test_read1�s
�"�zFileTestCase.test_read1cCsDttt���}|�|�d�d�Wd�dS1swYdS)NrrG)rrrArKr"r�rrr6�test_read1_0�s"�zFileTestCase.test_read1_0cCsvttt���+}g}	|�d�}|sq|�|�q
|�d�|�t�|�|��d�Wd�dS1s4wYdSrr!r#rrr6�
test_read1_10�s

�"�zFileTestCase.test_read1_10cCs|tttd���,}g}	|��}|sq|�|�q|�d�|�td�|�|��d�Wd�dS1s7wYdS)Nr�TrGr!r#rrr6�test_read1_multistream�s
�"�z#FileTestCase.test_read1_multistreamcCs�ttt��}|��|�t|j�tt�d��}|�t|j�Wd�n1s)wYttt���}|�t|jd�Wd�dS1sHwYdSr�)rrrAr�r%r'r"r&r�rrr6�test_read1_bad_args�s�"�z FileTestCase.test_read1_bad_argscCs�ttt���$}|��}|�t|�d�|�t�|��|�	|�
�t�Wd�n1s-wYttt���&}|�d�}|�t|�d�|�t�|��|�	|�
�t�Wd�dS1sawYdS)Nrrh)rrrA�peekZ
assertGreaterrkrMrL�
startswithrKr�)r2r�rrrr6�	test_peek�s�
"�zFileTestCase.test_peekcCs@tt�d��}|�t|j�Wd�dS1swYdSr�)rrr%r'r)r�rrr6�test_peek_bad_args�r zFileTestCase.test_peek_bad_argscCs�tt��}|��}Wd�n1swYttt���}|�tt|��|�Wd�n1s3wYttt���}|�tt|��|�Wd�n1sSwYttt�t	j
d��}|�tt|��|�Wd�n1svwYttt�t	jd��}|�tt|��|�Wd�n1s�wYttt�t	j
td��}|�tt|��|�Wd�dS1s�wYdSr�)rrL�	readlinesrrA�assertListEqual�list�iterrErr,r-r_r*r^�r2r��linesrrr6�
test_iterator�s*

������"�zFileTestCase.test_iteratorcCs|tt��}|��}Wd�n1swYttt���}|D]
}|�|��|�q!Wd�dS1s7wYdSrH)rrLr-rrArK�readline)r2r�r2�linerrr6�
test_readline�s

��"�zFileTestCase.test_readlinecCsrtt��}|��}Wd�n1swYttt���}|�|��|�Wd�dS1s2wYdSrH)rrLr-rrAr.r1rrr6�test_readlines�s

�"�zFileTestCase.test_readlinescCshtjdtd�dd�}|�t|�tj�tt|��}|�	|�
d�d�dt}|�|j
j��|d�dS)z-Decompressed data buffering should be limited�g��>Ar�rr�z)Excessive amount of data was decompressedN)rr.r�Z
assertLessrkrr
rrrKr�rrx�_buffer�raw�tell)r2Zbomb�decompZ
max_decomprrr6�test_decompress_limited�s�z$FileTestCase.test_decompress_limitedc	Cs�t��/}t|d��
}|�t�Wd�n1swYt�t�}|�|��|�Wd�n1s5wYt��5}t|dtjd��
}|�t�Wd�n1sVwYtjttjd�}|�|��|�Wd�n1suwYt��5}t|dtj	d��
}|�t�Wd�n1s�wYtjttj	d�}|�|��|�Wd�n1s�wYt��8}t|dtj
td��
}|�t�Wd�n1s�wYtjttj
td�}|�|��|�Wd�dS1s�wYdS)Nr�rr")rrr�rLrr.rK�getvaluer,r-r*r^)r2�dstr��expectedrrr6�
test_write�sB�
�����
��
�"�zFileTestCase.test_writec	Cs�t��A}t|d��}tdtt�d�D]
}|�t||d��qWd�n1s*wYt�t�}|�|�	�|�Wd�dS1sGwYdS)Nr�rrh)
rrrjrkrLr�rr.rKr>)r2r?r��startr@rrr6�
test_write_10s��
"�zFileTestCase.test_write_10c	Cstdd�}tdd�}tdd�}d�dd�|||fD��}t��_}t|d��
}|�|�Wd�n1s8wYt|d��
}|�|�Wd�n1sRwYt|d��
}|�|�Wd�n1slwY|�|��|�Wd�dS1s�wYdS)NrD�rGcs��|]}t�|�VqdSrH�rr.��.0r�rrr6�	<genexpr>��z1FileTestCase.test_write_append.<locals>.<genexpr>r�r�)rLrmrrr�rKr>)r2�part1�part2�part3r@r?r�rrr6�test_write_appends ���"�zFileTestCase.test_write_appendcCs�zJttd��
}|�t�Wd�n1swYt�t�}ttd��}|�|��|�Wd�n1s8wYWt	t�dSWt	t�dSt	t�w)Nr�r�)
rr	r�rLrr.r�rKr�r
)r2r�r@rrr6�test_write_to_file"s�
��zFileTestCase.test_write_to_filecCs�zt�d�}Wnty|�d�YnwzJt|d��
}|�t�Wd�n1s,wYt�t�}t	td��}|�
|��|�Wd�n1sNwYWtt�dSWtt�dStt�w)Nrrr�r�)
r	rrrrr�rLrr.r�rKr�r
)r2rr�r@rrr6�&test_write_to_file_with_bytes_filename,s ��
��z3FileTestCase.test_write_to_file_with_bytes_filenamecCs<tdd�}tdd�}tdd�}d�dd�|||fD��}zyttd��
}|�|�Wd�n1s5wYttd��
}|�|�Wd�n1sOwYttd��
}|�|�Wd�n1siwYttd��}|�|��|�Wd�n1s�wYWtt�dSWtt�dStt�w)	NrDrDrGcsrErHrFrGrrr6rI>rJz9FileTestCase.test_write_append_to_file.<locals>.<genexpr>r�r�r�)	rLrmrr	r�r�rKr�r
)r2rKrLrMr@r�rrr6�test_write_append_to_file:s(�����z&FileTestCase.test_write_append_to_filecCs�tt�d�}|��|�t|jd�ttt�d��}|�t|jd�Wd�n1s,wYtt�d��!}|�t|jd�|�t|jd�|�t|jd�Wd�dS1s[wYdS)Nr�r#r�r$�texti)rrr�r%r'r�rAr&r�rrr6�test_write_bad_argsKs�"�z FileTestCase.test_write_bad_argsc	Cs�tt��}|��}Wd�n1swYt��0}t|d��
}|�|�Wd�n1s1wYt�t�}|�|��|�Wd�dS1sNwYdSr�)	rrLr-r�
writelinesrr.rKr>)r2r�r2r?r@rrr6�test_writelinesVs

��
"�zFileTestCase.test_writelinescCsTttt���}|�d�|�|��tdd��Wd�dS1s#wYdS)Ni+�rrrA�seekrKr�rLr�rrr6�test_seek_forward_s
"�zFileTestCase.test_seek_forwardcCs`tttd���}|�tt�d�|�|��tdd��Wd�dS1s)wYdS)Nrs�{)rrrArWrkrLrKr�r�rrr6� test_seek_forward_across_streamsds"�z-FileTestCase.test_seek_forward_across_streamscCs`ttt��� }|�d�|�dd�|�|��tdd��Wd�dS1s)wYdS)Nrri�r�i8�rrrAr�rWrKrLr�rrr6�%test_seek_forward_relative_to_currentis

"�z2FileTestCase.test_seek_forward_relative_to_currentcC�Vttt���}|�dd�|�|��tdd��Wd�dS1s$wYdS)Ni���rsrVr�rrr6�!test_seek_forward_relative_to_endo�"�z.FileTestCase.test_seek_forward_relative_to_endcCs^ttt���}|�d�|�d�|�|��tdd��Wd�dS1s(wYdS)Ni���r[r�rrr6�test_seek_backwardts


"�zFileTestCase.test_seek_backwardcCsntttd���%}|�tt�d�|�d�|�|��tdd�t�Wd�dS1s0wYdS)NrsiMi�)rrrAr�rkrLrWrKr�rrr6�!test_seek_backward_across_streamszs

"�z.FileTestCase.test_seek_backward_across_streamscCr])Nij���rsrVr�rrr6�"test_seek_backward_relative_to_end�r_z/FileTestCase.test_seek_backward_relative_to_endcCshttt���$}|�tt�d�|�|��tt��|�|��d�Wd�dS1s-wYdS)N�)#rG)	rrrArWrkrLrKr;r�r�rrr6�test_seek_past_end�s
"�zFileTestCase.test_seek_past_endcCs\ttt���}|�d�|�|��d�|�|��t�Wd�dS1s'wYdS)Ni����r)rrrArWrKr;r�rLr�rrr6�test_seek_past_start�s

"�z!FileTestCase.test_seek_past_startcCs�ttt��}|��|�t|jd�tt�d��}|�t|jd�Wd�n1s+wYttt���-}|�t|jdd�|�ttf|jdd�|�t|jd�|�t|jd�Wd�dS1sfwYdS)Nrr�r�	rsderp)rrrAr�r%r'rWr&r�rrr6�test_seek_bad_args�s�"�zFileTestCase.test_seek_bad_argscCs�ttt���,}d}	|�|��|�|�d�}|sq!|t|�7}q
|�|��tt��Wd�n1s5wYtt�d��1}tdtt�d�D]}|�|��|�|�	t||d��qI|�|��tt��Wd�dS1stwYdS)NrT�r��)
rrrArKr;r�rkrLrjr�)r2r��posrrrr6�	test_tell�s"
��	"�zFileTestCase.test_tellcCs&ttt��}|��|�t|j�dSrH)rrrAr�r%r'r;r�rrr6�test_tell_bad_args�szFileTestCase.test_tell_bad_argscCs�t�}|jtdd�}|�t|�d�|�|j�t�}|jtdd�}|�|j�|�|j�|�d�}|�t|�d�|�|j�|�|||�dS)Nrvrtih3i]3rG�)	r
r0�ISSUE_21872_DATrKrkrMrJrIrw)r2Zd1ZentireZd2Zout1Zout2rrr6�test_issue21872�s
zFileTestCase.test_issue21872cCsrt�dgd��}t|�|j}tt�d��}|�|�|�|�|�|��|�Wd�dS1s2wYdS)N�Q)r�rsrr	r�r�)�arrayrk�itemsizerrrKr�r;)r2�qZLENGTHr�rrr6�test_issue44439�s"�zFileTestCase.test_issue44439N)Ar�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rrrrr
rrrrrrrrrr$r%r&r'r(r+r,r3r6r7r=rArCrNrOrPrQrSrUrXrZr\r^rarbrcrerfrhrlrmrprurrrr6r�s~

	

	
		
	
r�c@s\eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dd�Zdd�ZdS)�OpenTestCasec	Cst�tt�d��}|�|��t�Wd�n1swYt��[}t�|d��
}|�t�Wd�n1s:wYt�|�	��}|�|t�t�|d��
}|�t�Wd�n1sbwYt�|�	��}|�|td�Wd�dS1s�wYdS)Nr�r�r�rs)
rr�rrArKr�rLr�r0r>)r2r��bio�	file_datarrr6�test_binary_modes�s���"�zOpenTestCase.test_binary_modesc	Cs@t�d�}|�dtj�}tjtt�ddd��}|�	|�
�|�Wd�n1s)wYt��e}tj|ddd��
}|�|�Wd�n1sJwYt�|�
���d�}|�	||�tj|ddd��
}|�|�Wd�n1swwYt�|�
���d�}|�	||d�Wd�dS1s�wYdS)Nr�
r���encodingr�Zatrs)rL�decode�replace�os�lineseprr�rrArKr�r�r0r>)r2�uncompressed�uncompressed_rawr�rwrxrrr6�test_text_modes�s"
���"�zOpenTestCase.test_text_modesc	Csjtt���t�td��
}|�t�Wd�n1swYttd��}t�|���}|�|t�Wd�n1s=wYt�td��}|�|��t�Wd�n1s[wYt�td��
}|�t�Wd�n1svwYt�td��}|�|��td�Wd�n1s�wYWd�dSWd�dS1s�wYdS)Nr�r�r�rs)	r�r	rr�r�rLr0r�rK)r2r�rxrrr6�
test_filename�s(
������
"�zOpenTestCase.test_filenamec	Cs�t�t�}t|��lt�|d��
}|�t�Wd�n1s wYt|d��}t�|�	��}|�
|t�Wd�n1sBwYt�|d��}|�
|�	�t�Wd�n1s`wYWd�dSWd�dS1sxwYdS)Nr�r�)r�r�r	r�rr�r�rLr0r�rK)r2r�r�rxrrr6�test_with_pathlike_filenames

����"�z(OpenTestCase.test_with_pathlike_filenamecCs |�t��t�td�Wd�n1swY|�t��t�td�Wd�n1s1wY|�t��tjtddd�Wd�n1sNwY|�t��tjtddd�Wd�n1skwY|�t��tjtddd	�Wd�dS1s�wYdS)
NrZrbtr�zutf-8r{�ignore)�errorsrz)�newline)r%r'rr�r	r?rrr6�test_bad_paramss����"�zOpenTestCase.test_bad_paramsc	Cs�tjtd�}tjtt�dfi|���}|�|��t�Wd�n1s%wYt��9}tj|dfi|���
}|�	t�Wd�n1sHwYtj
|��fi|��}|�|t�Wd�dS1siwYdS)Nr"r�r�)rr*r+r�rr[rKr�rLr�r0r>)r2�optionsr�rwrxrrr6�test_format_and_filterss��"�z$OpenTestCase.test_format_and_filtersc	Cs�t�d�}|�dtj�}t��c}tj|ddd��
}|�|�Wd�n1s(wYt�	|�
���d�}|�||�|�d�tj|ddd��}|�|�
�|�Wd�n1s]wYWd�dSWd�dS1suwYdS)Nrrzr�z	utf-16-ler{rr�)rLr}r~rr�rrr�r�r0r>rKrWr�)r2r�r�rwr�rxrrr6�
test_encoding)s
�
��"�zOpenTestCase.test_encodingc	Cs�tt�d���2}tj|dddd��}|�|��d�Wd�n1s$wYWd�dSWd�dS1s<wYdS)Nsfoo�barr�rr�)r|r�Zfoobar)rrr.r�rKr�)r2rwr�rrr6�test_encoding_error_handler6s��"�z(OpenTestCase.test_encoding_error_handlerc	Cs�t�d�}t��V}tj|dddd��
}|�|�Wd�n1s"wY|�d�tj|dddd��}|�|��|g�Wd�n1sIwYWd�dSWd�dS1sawYdS)Nrr�rz)r|r�rr��
)	rLr}rrr�r�rWrKr-)r2rRrwr�rrr6�test_newline<s
�
��"�zOpenTestCase.test_newlinec
Cs�|�tt�dD]Q}tt�d|vrdnd}tjt||d��Wd�n1s)wY|�t��t�t|��Wd�n1sEwYWd�n1sTwYqdS)N)r�r�r��trr{)r�r
r	rr�r%r�)r2r�r|rrr6�test_x_modeFs������zOpenTestCase.test_x_modeN)
r�r�r�ryr�r�r�r�r�r�r�r�r�rrrr6rv�s



rvc@s,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
�MiscellaneousTestCasecCsP|�t�tj��|�t�tj��|�t�tjd��|�t�tj��dSr�)rMr�is_check_supportedrSr�rIr�r�r?rrr6�test_is_check_supportedTsz-MiscellaneousTestCase.test_is_check_supportedcCs|�t��
t�d�Wd�n1swY|�t��t�ddi�Wd�n1s1wY|�t��t�tjdd��Wd�n1sOwY|�tj��t�tjdd��Wd�n1snwYt�tjdd	d
dd��}|�	|d
�dS)Ns
not a dictr�r)rZjunkrd�r�distrsrr��)r�pb�lp�lc�	dict_size�]�)
r%r&r�_encode_filter_propertiesr'r)rr=�FILTER_LZMA1rK)r2Zpropsrrr6�test__encode_filter_properties`s,���
���z4MiscellaneousTestCase.test__encode_filter_propertiescCs�|�t��t�tjdti�Wd�n1swY|�tj��t�tjd�Wd�n1s6wYt�tjd�}|�	|dtj�|�	|dd�|�	|dd�|�	|d	d
�|�	|dd�dS)
Nz	should bestoo longr�rr�rsr�rr�rr�r�)
r%r&r�_decode_filter_propertiesr>�bytesrr=r�rK)r2Z
filterspecrrr6�test__decode_filter_propertiesus���z4MiscellaneousTestCase.test__decode_filter_propertiescCs6t�tjd�}t�|�}t�tj|�}|�||�dS)Nr�)rr�r�r�rK)r2Zspec1Z	reencodedZspec2rrr6� test_filter_properties_roundtrip�s�
z6MiscellaneousTestCase.test_filter_properties_roundtripN)r�r�r�r�r�r�r�rrrr6r�Rs
r�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)rrs���]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�2rsr�s����]-Ԩ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�r�)rZstart_offsetrs����]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	�@)rrr�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__)7rrr�iorrrrr�r�r�r��testrZunittestZtest.supportrrZtest.support.import_helperrZtest.support.os_helperr	r
rrr
rrZTestCaserr�r�r�rvr�rLr�rArEr)r+r[r=�PRESET_DEFAULT�PRESET_EXTREMEr^r_�FILTER_IA64rarbr>rdreror��mainrrrr6�<module>s|lIx<@�0�,�
.
���
>��
-
��D��
© 2025 GrazzMean