403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/__pycache__/test_zlib.cpython-315.opt-1.pyc
R
>lqj�c��]PHs]QHGs]QHGs]PHs]PHs]PHs]PH s]PH$s	]QHG
s
GsGsG
s
\OQ2s\O \\O%2Q2Q2s\O \\O)2Q2Q2s\O,1Qks\2s\
sQ	Q
\O42sQQ\O42sQ
Q2sQQ\\O42sQQ\\O42sQQ\O42s QQ\O42s!QQ\"2s#QQ\#\O42s$QQ\#\O42s%P\1Qks&Qs'QQ \O42s(Q!Q"2s)Q#Q$\O42s*\+Q%6Xc\OX2P!P!)&�)�support)�
import_helper)�
bigmemtest�_1G�_4G�is_s390x�zlib�copyzrequires Compress.copy()zrequires Decompress.copy()c��UOQ]2]*OQ2o[U2]6cUOQ2L"UP*O2%fQUP$[	[[U22!)�-�.�0)�split�len�append�	isnumeric�tuple�map�int)�zlib_version�vs& �#C:\Python315\\Lib\test\test_zlib.py�_zlib_runtime_version_tuplersg��	���3��"�1�%�+�+�C�0�A�
�1�v��z�	����
�
�r�U�_�_�
�
���"����S�!����c�(`�\sQs]BsnQsQsUsP!)�VersionTestCasec��UO[O]*[O]*2P!�r)�assertEqualr�ZLIB_RUNTIME_VERSION�ZLIB_VERSION��selfs&r�test_library_version�$VersionTestCase.test_library_versionDs*��	
����2�2�1�5�t�7H�7H��7K�Lr�)�__name__�
__module__�__qualname__�__firstlineno__r#�__static_attributes__�__classdictcell__��
__classdict__s@rrrBs����M�Mrrc�L`�\sQs]MsnQsQsQsQsQsQs	Qs
QsUsP!)	�ChecksumTestCasec���UO[OQ2[OQ]22UO[OQQ22P!�rsabcl��)rr�crc32�
assertTruer!s&r�test_crc32start� ChecksumTestCase.test_crc32startOs<��������C��$�*�*�S�!�*<�=�����
�
�6�:�6�7rc���UO[OQ]2]2UO[OQ]2]2UO[OQQ2Q2P!�r�)rrr2r!s&r�test_crc32empty� ChecksumTestCase.test_crc32emptySsS��������C��+�Q�/�������C��+�Q�/�������C��-�s�3rc���UO[OQ2[OQ]22UO[OQQ22P!r1)rr�adler32r3r!s&r�test_adler32start�"ChecksumTestCase.test_adler32startXs=��������c�*�D�L�L��a�,@�A�������V�Z�8�9rc���UO[OQ]2]2UO[OQ]2]2UO[OQQ2Q2P!r7)rrr<r!s&r�test_adler32empty�"ChecksumTestCase.test_adler32empty\sS��������c�1�-�q�1�������c�1�-�q�1�������c�3�/��5rc��UO[OQ]2Q2UO[OQ]2Q2UO[OQ]2Q2UO[OQ]2Q2UO[OQ2[OQ]22UO[OQ2[OQ]22P!)spenguinl !�Ki���Ci��i���rrr2r<r!s&r�
test_penguins�ChecksumTestCase.test_penguinsas���������J��2�K�@�������J��2�J�?�������j�!�4�j�A�������j�!�4�j�A�������J�/����J��1J�K�������j�1�$�,�,�z�!�2L�Mrc�@�QoUO[OU2Q2UO[OQ2Q2UO[OV*2Q2UO[OQ2Q2P!)�abcdefghijklmnop��@u(�spami=��Cl
*i�OrC)r"�foos& r�test_crc32_adler32_unsigned�,ChecksumTestCase.test_crc32_adler32_unsignedjsl��!��������C��*�5�������G�,�j�9�������c�g�.�
�;�������g�.��9rc��QoQoUO[OU2U2UO[OU2U2UO[OQ2[OQ22P!)rGrHrI)r�binasciir2r)r"rJ�crcs&  r�test_same_as_binascii_crc32�,ChecksumTestCase.test_same_as_binascii_crc32rs_��!�����������,�c�2�������C��#�.��������0�$�*�*�W�2E�Frr%)
r&r'r(r)r4r9r=r@rDrKrPr*r+r,s@rr/r/Ms0����8�4�
:�6�
N�:�G�Grr/c�x`�\sQs]zsnQsQsQsQQksQsQs	QP-Qks
Q	sQ
sQs
QsU1Q
ksQsUsP!)�ChecksumCombineMixinz-Mixin class for testing checksum combination.��c�d�Ue
UO!UP6Xc[O]Q2!U!)z�Parse an IV value.

- The default IV is returned if *iv* is None.
- A random IV is returned if *iv* is -1.
- Otherwise, *iv* is returned as is.
l)�
default_iv�random�randint)r"�ivs&&r�parse_iv�ChecksumCombineMixin.parse_iv�s0���:��?�?�"�
��8��>�>�!�Z�0�0��	rc�H�UOU2oUOV2!)zfCompute the checksum of data with a given initial value.

The *init* value is parsed by ``parse_iv``.
)rZ�	_checksum)r"�data�initrYs&&& r�checksum�ChecksumCombineMixin.checksum�s!��
�]�]�4�
 ���~�~�d�'�'rc��[g�N��NotImplementedError�r"r^r_s&&&rr]�ChecksumCombineMixin._checksum�s��!�!rc��[g)zCombine two checksums together.rd�r"�a�b�blens&&&&r�combine�ChecksumCombineMixin.combine�s��!�!rrYc�|�[OU2oUOU2oUOV42oV4U1!)z#Get a triplet (data, iv, checksum).)rW�	randbytesrZr`)r"�data_lenrYr^r_r`s&&$   r�get_random_data�$ChecksumCombineMixin.get_random_data�s9������)���}�}�R� ���=�=��,���8�#�#rc	���[UO2FDToUO] PQ5vq#oUOV0O	U2[U22oUO
VT2JV	P!�� )rY)�range�Nrrrmr`rr)r"�_rjrYr`�ress&     r�test_combine_empty�'ChecksumCombineMixin.test_combine_empty�sX���t�v�v��A�"�2�2�2�"�2�=�O�A�8��,�,�r�=�=��#3�S��V�<�C����S�+�rc	��[UO2FDloUO] 2vq!oUO]@2vqAoUOV5[	U22oUOV`O
V$*22Jn	P!)rv)rwrxrrrmrrr`)r"ryrj�chk_ark�chk_brzs&      r�test_combine_no_iv�'ChecksumCombineMixin.test_combine_no_iv�si���t�v�v��A��.�.�r�2�K�A�%��.�.�r�2�K�A�%��,�,�u�S��V�4�C����S�-�-���"6�7�	rc�b�UO] 2vqoUO]@2vqBoUOV*2o][U2]0[U2]*]�1FD&oUOV5U2oUO	V�2J(	UO[UO]]Q2P!)rvr)rrr`rrm�assertNotEqual�assertRaises�	TypeError)	r"rjryr~rkrr`�invalid_len�invalid_ress	&        r�!test_combine_no_iv_invalid_length�6ChecksumCombineMixin.test_combine_no_iv_invalid_length�s����*�*�2�.���e��*�*�2�.���e��=�=���'���s�1�v�r�3�q�6�A�:�s�;�K��,�,�u�[�A�K�����6�<�	
���)�T�\�\�1�a��?rc	���[UO2FD�oUO] PQ5vq#oUOU2oUO]@PQ5vqgoUOU2o	UO	V5[U22o
UO	Vy[U22oUO	V�[U22oUO	VH[U22o
UO
V�2J�	P!ru)rwrxrrr`rmrr)r"ryrj�iv_a�
chk_a_with_iv�chk_a_no_ivrk�iv_b�
chk_b_with_iv�chk_b_no_iv�tmp0�tmp1�expectedr`s&             r�test_combine_with_iv�)ChecksumCombineMixin.test_combine_with_iv�s����t�v�v��A�%)�%9�%9�"��%9�%D�"�A�]��-�-��*�K�%)�%9�%9�"��%9�%D�"�A�]��-�-��*�K��<�<��3�q�6�:�D��<�<��3�q�6�:�D��|�|�D��A��7�H��|�|�M�#�a�&�I�H����X�0�%rc�(:�U]6�cPg-RZ9Q$!)�rV)r)�formatr-s"�r�__annotate__�!ChecksumCombineMixin.__annotate__zs�����O�	rr%rc)r&r'r(r)�__doc__rxrZr`r]rmrrr{r�r�r��__annotate_func__r*r+r,s@rrSrSzsJ����7��A��(�"�"�$�d�$�,�8�@�1�A�rrSc�2`�\sQs]�sn]sQsQsQsUsP!)�CRC32CombineTestCasec�.�[OV2!rc)rr2rfs&&&rr]�CRC32CombineTestCase._checksum�s���z�z�$�%�%rc�0�[OVU2!rc)r�
crc32_combineris&&&&rrm�CRC32CombineTestCase.combine�s���!�!�!��-�-rr%�	r&r'r(r)rVr]rmr*r+r,s@rr�r��s�����J�&�.�.rr�c�2`�\sQs]�sn]sQsQsQsUsP!)�Adler32CombineTestCasec�.�[OV2!rc)rr<rfs&&&rr]� Adler32CombineTestCase._checksum�s���|�|�D�'�'rc�0�[OVU2!rc)r�adler32_combineris&&&&rrm�Adler32CombineTestCase.combine�s���#�#�A�$�/�/rr%r�r,s@rr�r��s�����J�(�0�0rr�c�R`�\sQs]�sn\\]*]P
Q5Q2sQsUsP!)�ChecksumBigBufferTestCase)�size�memuse�dry_runc���Q[]**oUO[OU2Q2UO[O	U2Q2P!)snyaniM"B>l�a
)rrrr2r<)r"r�r^s&& r�test_big_buffer�)ChecksumBigBufferTestCase.test_big_buffer�sB���#��'�"��������D�)�:�6�������d�+�Z�8rr%)	r&r'r(r)rrr�r*r+r,s@rr�r��s$�����S�1�W�Q��6�9�7�9rr�c�`�\sQs]�snQsQsQsQsQs\	OQ2s\	OQ2sQs
UsP!)	�ExceptionTestCasec�h�UO[O[OQ]
2P!)sERROR)r�r�error�compressr!s&r�
test_badlevel�ExceptionTestCase.test_badlevel�s ��	
���$�*�*�d�m�m�X�r�Brc�p�UO[[O2UO[[O2UO[[O
2UO[[O2]*PPQQ,1FD�oUO[[OU2UO[[OU2UO[[O
U2UO[[OU2J�	P!)�*�abcr%)r�r�rr<r2r��
decompress)r"�args& r�test_badargs�ExceptionTestCase.test_badargs�s������)�T�\�\�2����)�T�Z�Z�0����)�T�]�]�3����)�T�_�_�5���b�%��R�0�C����i����s�;����i����S�9����i�����<����i����#�>�	1rc��UO[[O][O]2UO[[O][O[O
]*2P!��)r��
ValueErrorr�compressobj�DEFLATED�	MAX_WBITSr!s&r�test_badcompressobj�%ExceptionTestCase.test_badcompressobjsO�����*�d�&6�&6��4�=�=�!�L����*�� � �!�T�]�]�D�N�N�Q�4F�	Hrc�R�UO[[OP2P!r�)r�r�r�
decompressobjr!s&r�test_baddecompressobj�'ExceptionTestCase.test_baddecompressobj
s�����*�d�&8�&8�"�=rc���UO[[O2O]2UO[[O2OP2P!r)r�r�rr��flushr!s&r�test_decompressobj_badflush�-ExceptionTestCase.test_decompressobj_badflushsD�����*�d�&8�&8�&:�&@�&@�!�D����*�d�&8�&8�&:�&@�&@�"�Erc��UO[Q29^tt^2[OQ][O
]*2PPP2UO[Q29^tt^2[O
2OQ[O
]*2PPP2UO[Q29^tt^2[O
2O[O
]*2PPP2P!)%fhK�9h)%fhK�9h)%fhP!9h)z
int too larger)�assertRaisesRegex�
OverflowErrorrr��sys�maxsizer�r�r!s&r�
test_overflow�ExceptionTestCase.test_overflows���
�
#�
#�M�?�
C�
C��O�O�C��S�[�[�1�_�5�D�
�
#�
#�M�?�
C�
C���� �+�+�C����q��A�D�
�
#�
#�M�?�
C�
C���� �&�&�s�{�{�Q��7�D�
C�	D�
C��
C�
C��
C�
C�
C�s5�-D�3:D)�9D<�D&	�D&	�)D9	�2D9	�<E
	�E
	c���[OU[[O	222[OU[[O222P!rc)r�check_disallow_instantiation�typerr�r�r!s&r�test_disallow_instantiation�-ExceptionTestCase.test_disallow_instantiations@��	�,�,�T�4��8H�8H�8J�3K�L��,�,�T�4��8J�8J�8L�3M�Nrr%)r&r'r(r)r�r�r�r�r�r�cpython_onlyr�r�r*r+r,s@rr�r��sW����C�	?�H�>�F�

���8��8�
���O��Orr�c�.`�\sQsQsnQsQsQsUsP!)�BaseCompressTestCase�#c��Qo[OU]
*2oVA[U2*]**oUU2PoP!Poh9h)��)rWrpr)r"r��
compress_func�_1Mr^s&&&  r�check_big_compress_buffer�.BaseCompressTestCase.check_big_compress_buffer$sM��������b��)���s�4�y�(�1�,�-��	��$���D��4�D�s�A
�
Ac��QU*o[OU]2oPoUU2oUO[U2U2UO[UO	Q22]2PoP!Poh9hPoh9h��x)rr�rr�strip)r"r��decompress_funcr^�
compresseds&&&  r�check_big_decompress_buffer�0BaseCompressTestCase.check_big_decompress_buffer1s~���d�{��	����t�Q�/�J��D��z�*��	����S��Y��-����S����D�!1�2�A�6��D���D���D�s�A6�AA=�6A:�=Br%)r&r'r(r)r�r�r*r+r,s@rr�r�#s�����
�
rr�c�0`�\sQsQsnQsQsQsQs\\	Q*]Q5Q2s
\\	Q*]Q5Q2s\\]Q5Q	2s
Q
s\O \O$Q6�Q2\\]d*]Q5Q22sQ
sUsP!)�CompressTestCase�Ac��[O[2oUO[O	U2[2P!rc)rr��HAMLET_SCENErr��r"�xs& r�test_speech�CompressTestCase.test_speechCs)���M�M�,�'���������+�\�:rc���[O[]Q5oUO[O	U2[2UO[29^tt^2[O[]Q5PPP2UO[O	U[O[OQ5[2P!)%fhKZ9h)�)�level)r^r�)�wbits�bufsize)	rr�r�rr�r�r�r��DEF_BUF_SIZEr�s& r�
test_keywords�CompressTestCase.test_keywordsGs����M�M�,�a�M�0���������+�\�:�
�
�
�y�
)�
)��M�M�|�1�M�5�*��������/3�~�~�15�1B�1B�)�D�&�	'�*�
)�s�#C�C!	�C!	c�4�[]�*o[OU2o[%f/UO	[O[U22U2U[U21FD(oUO	[O
U2U2J*	P!��)r�rr��HW_ACCELERATEDr�	bytearrayr�)r"r^r��obs&   r�test_speech128�CompressTestCase.test_speech128Qsi���c�!���M�M�$����~����T�]�]�9�T�?�;�Q�?��Y�q�\�/�B����T�_�_�R�0�$�7�"rc��[O[2oUO[OQ[O
UPP2P!)zAError -5 while decompressing data: incomplete or truncated stream)rr�r�r�r�r�r�s& r�test_incomplete_stream�'CompressTestCase.test_incomplete_stream\s6���M�M�,�'�����t�z�z�O��O�O�Q�s��V�	%r�r�r�c�0�QoUOV2P!)c�0�[OU]2!r�)rr�)�ss&r�<lambda>�;CompressTestCase.test_big_compress_buffer.<locals>.<lambda>gs��T�]�]�1�a�0r)r�)r"r�r�s&& r�test_big_compress_buffer�)CompressTestCase.test_big_compress_bufferes��0���&�&�t�6rc�H�UOU[O2P!rc)r�rr�)r"r�s&&r�test_big_decompress_buffer�+CompressTestCase.test_big_decompress_bufferjs���(�(��t���?rc��[]
*o[OU]2oUO[O	U]U2U2P!��
)r�rr�rr�)r"r�r^r�s&&  r�test_large_bufsize�#CompressTestCase.test_large_bufsizens;���b� ���]�]�4��+�
��������R��>��Erc��[]
*o[OU]2oUO[O	U][22U2P!r)r�rr�rr��	CustomInt)r"r^r�s&  r�test_custom_bufsize�$CompressTestCase.test_custom_bufsizeus;���b� ���]�]�4��+�
��������R���E�t�Lr�requires 64bit platformc��QU*o[OU]2oUO[OU2U2P9q2P!P9q2h9hr�)rr�rr�)r"r�r^�comps&&  r�test_64bit_compress�$CompressTestCase.test_64bit_compresszsP���d�{��	��=�=��q�)�D����T�_�_�T�2�D�9���D�4��$��D�4�s�;A�Ar%r��)r&r'r(r)r�rr	rrrrrrrr �unittest�
skipUnlessr�r�r%r*r+r,s@rr�r�As�����;�'�	8�%��S�;�&�q�1�7�2�7��S�;�&�q�1�@�2�@��S��#�F�$�F�M�
������u�,�.G�H��S�3�Y�q�)��*�I�rr�c�(`�\sQsQsnQsQsQsQsQ-QksQs	Q.Qks
Q/Q	ksQ
sQs
QsQ
sQsQs\O&\\Q2Q2Q2sQsQsQsQsQsQsQsQsQs\ \!]Q5Q2s"Qs#\$Q2s%\$Q 2s&\'Q!2s(\'Q"2s)Q#s*Q$s+\ \,Q0*]Q5Q%2s-\ \,Q0*]Q5Q&2s.\O&\/O`Q16�Q'2\ \!]d*]Q5Q(22s1\O&\/O`Q16�Q'2\ \!]d*]Q5Q)22s2\O&\/O`Q16�Q'2\ \!]d*]Q5Q*22s3Q+s4Q,s5Us6P!)2�CompressObjectTestCase�c���[]�*o[OU2oU[U21FD�o[O	2oUOU2oUO2oUO
[OUO
2[%cJpUOVV*U2J�	WW1[U2[U211FD�vqx[O2o	U	OVx*2o
U	O2oUOWV�*2UOU	O[2UOU	O[2J�	P!r)r�rr�rr�r�r�r�rrr�r��assertIsInstance�unconsumed_tail�bytes�unused_data)r"�datasrc�datazipr^�co�x1�x2�v1�v2�dco�y1�y2s&           r�	test_pair� CompressObjectTestCase.test_pair�s����$���-�-��(���i��0�1�D��!�!�#�B����T�"�B�����B����d�j�j�"�(�(�3�"�>�� � ���'�2�2��B�x�)�B�-��2��!?�@�F�B��$�$�&�C������(�B�����B����T�2�7�+��!�!�#�"5�"5�u�=��!�!�#�/�/�5�9�
Arc	��]o[OoQo]	o[Oo[OUUUUUQQ5o[O	UQQ5oUO[29^tt^2UO[Q5PPP2UO[29^tt^2UO[O[2Q5PPP2UO[2UO2*oUOU[[2Q5UO2*o	UO[U	2P!)%fhK�9h)%fhK�9h)r�r)r��methodr��memLevel�strategy�zdict�r�rB)r^��
max_length��)
rr��
Z_FILTEREDr�r�r�r�r�r�r�r�rr)
r"r�r?r�r@rAr4�dor��ys
&         rr�$CompressObjectTestCase.test_keywords�s�������������?�?��
�
�
�E�%+�$)�'/�'/�$'��)���
�
�e�3�
�
7��
�
�
�y�
)�
)��K�K�\�K�*�*�
�
�
�y�
)�
)��M�M�t�}�}�\�:�M�;�*��K�K��%����
�2���M�M�!��L�(9�M�:�R�X�X�Z�G������q�)�
*�
)��
)�
)�s$�7E�3*E/�E,	�%E,	�/E?	�8E?	c�|�]o[OoQo]	o[Oo[OVV4U2oUO	[
2oUO
2o[OU2o	U	OVx*2o
U	O
2oUO[
V�*2P!)r�rF)
rr�rGr�r�r�r�r�r�r)r"r�r?r�r@rAr4r5r6r9r:r;s&           r�test_compressoptions�+CompressObjectTestCase.test_compressoptions�s��������������?�?��
�
�
�e�U�h�
G��
�[�[��
&��
�X�X�Z��� � ��'��
�^�^�B�G�
$��
�Y�Y�[������r�w�/rc
���[]�*o[O2o,o[][	U2Q2FD,oUOUO
VUQ*22J.	UOUO22QOU2o[O2oUOQOU22oUO2oUOVU*2P!)r�r)r�rr�rwrrr�r��joinr�r�r)	r"r^r4�bufs�i�combufr9r:r;s	&        r�test_compressincremental�/CompressObjectTestCase.test_compressincremental�s����c�!��
�
�
�
�����q�#�d�)�S�)�A��K�K����D�1�S�5�M�2�3�*����B�H�H�J�����$���� � �"��
�^�^�C�H�H�T�N�
+��
�Y�Y�[������B�w�'rc
��S9%f[oU]�*o[O2o,o[][	U2U2FD+oUOUO
VXV�*22J-	UOUO22QOU2o	[OU	2o
UOU
[2UOVZ2[O2o,o[][	U	2U2FD~oUOUOV�V�*22UOQUOQ[	UO2*2UOQUO2J�	U%c!UOUO22L.UOQ2oU%cUOU2J-UOQUOQ[	UO2*2UOQUO2UOUQOU22P!)rrz"(A) uct should be b'': not %d longz"(B) uct should be b'': not %d long)r�rr�rwrrr�r�rPr�r.r0rr�r/r1)
r"r��source�cx�dcxr^r4rQrRrS�decombufr9�chunks
&&&&&        r�test_decompinc�%CompressObjectTestCase.test_decompinc�s����'�'�<����|��
�
�
�
�����q�#�d�)�R�(�A��K�K����D�1�4�L�1�2�)����B�H�H�J�����$����?�?�6�*�����h��.�����(�� � �"�����q�#�f�+�s�+�A��K�K����v����7�8����S�#�"5�"5�A�'*�3�+>�+>�'?�@�
A�
���S�#�/�/�2�,���K�K��	�	��$�����s�+����K�K��&������c�1�1�=�'*�3�+>�+>�'?�@�	A�	
����c�o�o�.�����s�x�x��~�.rc�,�UOP	Q5P!�T)r�)r\r!s&r�test_decompincflush�*CompressObjectTestCase.test_decompincflush�s�����$��'rc
� �S9%f[oU]�*o[O2o,o[][	U2U2FD+oUOUO
VGVr*22J-	UOUO22QOU2oUOU[OU2Q2[O2o	,oSo
U
%caU	OV�2oUO[	U2U6�Q[	U2U1*2UOU2U	Oo
JhUOU	O22UOUQOU2Q2P!)rr�compressed data failure�chunk too big (%d>%d)�Wrong data retrieved�r�rr�rwrrr�r�rPrr�r��assertFalser/)r"rWrXrYr^r4rQrRrSr9�cbr[s&&&&        r�test_decompimax�&CompressObjectTestCase.test_decompimax�s4���'�'�<����|��
�
�
�
�����q�#�d�)�R�(�A��K�K����D�1�4�L�1�2�)����B�H�H�J�����$�������t���v�6�2�	4�� � �"����
����N�N�2�+�E����S��Z�#�-�+�s�5�z�3�.?�?�
A��K�K����$�$�B����C�I�I�K� �����s�x�x��~�/E�Frc
��[]�*o[O2o,o[][	U2Q2FD,oUOUO
V%UQ*22J.	UOUO22QOU2oUOU[OU2Q2[O2o,oSoU%cz][	U2]
**o	UOV�2o
UO[	U
2U	6�Q[	U
2U	1*2UOU
2UOoJ�U%c!UOUO22L]W
%cVUOQW	2o
UO[	U
2U	6�Q[	U
2U	1*2UOU
2J]UOUQOU2Q2P!)rrOrrcrdrerf)r"r�r^r4rQrRrSr9rhrEr[s&&         r�test_decompressmaxlen�,CompressObjectTestCase.test_decompressmaxlens����c�!��
�
�
�
�����q�#�d�)�S�)�A��K�K����D�1�S�5�M�2�3�*����B�H�H�J�����$�������t���v�6�2�	4�� � �"����
����S��W�b�[��J��N�N�2�2�E����S��Z�*�4�/�3�u�:�j�2I�I�
K��K�K����$�$�B���K�K��	�	��$�����s�J�7��� � ��U��j�!8�3�s�5�z�*�6M�M�O����E�"�����s�x�x��~�/E�Frc�,�UOP	Q5P!r_)rlr!s&r�test_decompressmaxlenflush�1CompressObjectTestCase.test_decompressmaxlenflush7s���"�"��"�.rc��[O2oUO[UOQP2UOQUO2P!�r)rr�r�r�r�rr/)r"r9s& r�test_maxlenmisc�&CompressObjectTestCase.test_maxlenmisc:s>��� � �"�����*�c�n�n�c�2�>�����c�1�1�2rc�(�[]
*oUO[U2[O2[OU]2o[O
2oUOUOU[O2U2P!r)r��
assertGreaterrrrr�r�rr�r�r��r"r^r�r9s&   r�test_maxlen_large�(CompressObjectTestCase.test_maxlen_large@se���b� �����3�t�9�d�&7�&7�8��]�]�4��+�
�� � �"��������
�C�K�K�@�$�Grc���[]
*o[OU]2o[O2oUO	UOU[
22UQ*2P!)r�N�dN)r�rr�r�rr�rrws&   r�test_maxlen_custom�)CompressObjectTestCase.test_maxlen_customIsK���b� ���]�]�4��+�
�� � �"��������
�I�K�@�$�t�*�Mrc���Qo[O2oUOU]2oV2OUO2*
oUO	UOQ2P!)s
x�KLJMr)rr�r�r/r)r"�cdatar9�ddatas&   r�test_clear_unconsumed_tail�1CompressObjectTestCase.test_clear_unconsumed_tailOsT��-��� � �"�����u�a�(��
���� 3� 3�4�4������,�,�c�2rc���,QNo[Q6�cUOQ2STt,tFD+o[[U2%fJ[	[U2MJ-	oo[
]*oSFD�o[
]
2FD�oUOVEQ59^tt^2[OU2oUOUQ*2oUOU2oUOUQ*2o	UO2o
UO[OQOVxV�,22UQVE1*2=PPP2J�	J�	P!ttoh)%fhJ�9h)	�
Z_NO_FLUSH�Z_BLOCK)�syncr�:Ni�N:i�NNrz*Decompress failed: flush mode=%i, level=%i)r��Z_SYNC_FLUSH�Z_FULL_FLUSH�Z_PARTIAL_FLUSH)r�r��r�)�ZLIB_RUNTIME_VERSION_TUPLEr�hasattrr�getattrr�rw�subTestr�r�r�rr�rP)r"�sync_opt�optr^r�r��objrjrk�c�ds&          r�test_flushes�#CompressObjectTestCase.test_flushesXs&��'��&��5��O�O�I�&�2:�+�(�3��t�S�)�'�G�D�#�&�(��+��a����D��r����\�\�t�\�9�9��*�*�E�3�C����d�5�k�3�A��	�	�4�)�A����d�5�k�3�A��	�	��A��$�$�T�_�_�S�X�X�q�1�i�5H�%I�%)�-@�DH�=�,Q�R��:�9�#���	+�:�9�9�s�E�E�B'E
�E%�E%r�zrequires zlib.Z_SYNC_FLUSHc�T�]PHo[O[O2o[O	2oUO
Q2oUO
U2oUO[O2oUOVV*2oUOVtQ2P!)rz17K random source doesn't matchiD)rWrr��Z_BEST_COMPRESSIONr�rpr�r�r�r�r)r"rWr4r9r^�first�second�expandeds&       r�test_odd_flush�%CompressObjectTestCase.test_odd_flushss���	��
�
�d�5�5�
6��� � �"�����	�*�����D�!�����$�+�+�,���>�>�%�.�1��	
����)J�Krc���[O[O2oUOUO	22[O2oUO
UO	2Q2P!rr)rr�r�r3r�r�r)r"r4r9s&  r�test_empty_flush�'CompressObjectTestCase.test_empty_flush�sP��
�
�
�d�5�5�
6��������
�#�� � �"���������c�*rc��[oUO2o[OU2QO	U2o[
O
UQ5oUOU2UO2*o[
OUQ5oUOUOU2UO2*U2[
O2oUO[
OUOU2P!)r�rB)r�rrW�shufflerPrr�r�r�r�rr�r�r�)r"�h�wordsrBr4�cdr9s&      r�test_dictionary�&CompressObjectTestCase.test_dictionary�s��������	�����u��������
�
�
�E�
�
*��
�[�[��^�b�h�h�j�
(��� � �u� �-���������+�c�i�i�k�9�1�=�� � �"�����$�*�*�c�n�n�b�9rc��[O[Q5o[O[Q5o[Q*oUO	U2UO[O2*oUO	UQ*2UO[O2*oUO	UPQ2UO[O2*oUOUOU2U2UOUOU2UQ*2UOUOU2UPQ2P!)r�:rTi�N:r|NNi����)	rr�r�r�r�r�r�rr�)r"r4rH�piece�d0�d1�d2s&      r�test_dictionary_streaming�0CompressObjectTestCase.test_dictionary_streaming�s����
�
�L�
�
1��
�
�
�l�
�
3���Y�'��
�[�[��
�"�(�(�4�+<�+<�"=�
=��
�[�[��t��
%�����1B�1B�(C�
C��
�[�[��u���
&����$�2C�2C�)D�
D��������r�*�E�2�������r�*�E�$�K�8�������r�*�E�%�4�L�9rc�Z�QoUO[OU2Q2UO[O[OUPQ2[O2oUOUPQ2oV2O
2*
oUOUQ2P!)�x�K���Esfoo���)rrr�r�r�r�r�)r"r�r9rIs&   r�!test_decompress_incomplete_stream�8CompressObjectTestCase.test_decompress_incomplete_stream�s���2���������+�V�4����$�*�*�d�o�o�q��"�v�>�� � �"���N�N�1�S�b�6�"��	�Y�Y�[�������F�#rc�|�Qo[O2oUOUO2UO	UPQ2UOUO2UO	UQP2UOUO2UO
2UOUO2P!�r�r�)rr�rg�eofr�r3r��r"r�r9s&  r�test_decompress_eof�*CompressObjectTestCase.test_decompress_eof�s���2��� � �"��������!����q��"�v��������!����q���v�������� ��	�	�������� rc��Qo[O2oUOUO2UO	UPQ2UOUO2UO2UOUO2P!r�)rr�rgr�r�r�r�s&  r�%test_decompress_eof_incomplete_stream�<CompressObjectTestCase.test_decompress_eof_incomplete_stream�sf��2��� � �"��������!����q��"�v��������!��	�	��������!rc�D�QoQo[OU2oV2*oQFCDuo]][U2[U21FCDSo[O2oQo[	][U2U2FD�o	U	[U26cUOUOQ2U]6Xc>V�OVIV�*2*
oUOUOQ2JsV�OUOVIV�**U2*
oJ�	V�O2*
oUOUO2UOV�2UOUOQ2UOUOU2CJV	CJx	P!)�abcdefghijklmnopqrstuvwxyzs
0123456789r)rrT)rr�rr�rwrr1r�r/r�r3r�)
r"rW�	remainderrIr��maxlen�stepr9r^rRs
&         r�test_decompress_unused_data�2CompressObjectTestCase.test_decompress_unused_data�sH��/��!�	��M�M�&�!��
�M���F��1�c�!�f�c�!�f�,���(�(�*�����q�#�a�&�$�/�A��3�q�6�z��(�(����#�>���{����q�Q�X�� ?�?���(�(��)<�)<�c�B���� #� 3� 3�a�A�H�o� E�v�!O�O��0��	�	��#��������(�� � ��.�� � ��!4�!4�c�:�� � ����)�<�!-�rc�^�Qo[O[O'UQ5oUOU2UO	2*o[O[O'UQ5oUO
U2UO	2*oUOV2P!)r�rC)rr�r�r�r�r�r�r)r"rBr4r$r9�uncomps&     r�#test_decompress_raw_with_dictionary�:CompressObjectTestCase.test_decompress_raw_with_dictionary�s}��-��
�
�
�T�^�^�O�5�
�
A���{�{�5�!�B�H�H�J�.��� � �����e� �D������%��	�	��3������'rc��QoQo[OU2o[O2oUOU]2=[OU2oUO	UO2UQ*2P!)r�sQWERTYUIOPASDFGHJKLZXCVBNM�r�NN)rr�r�r�rr�)r"�input1�input2r^r9s&    r�test_flush_with_freed_input�2CompressObjectTestCase.test_flush_with_freed_input�sc��/��.���}�}�V�$��� � �"�����t�Q����}�}�V�$���������f�R�j�1rrc���[]
*o[OU]2o[O2oUO	U]2UOUO
U2UQ*2P!�rr�)r�rr�r�r�rr�)r"r��inputr^r9s&&   r�test_flush_large_length�.CompressObjectTestCase.test_flush_large_lengthsV���r�!���}�}�U�A�&��� � �"�����t�Q��������4��%��)�4rc��[]
*o[OU]2o[O2oUO	U]2UOUO
[22UQ*2P!r�)r�rr�r�r�rr�r)r"r�r^r9s&   r�test_flush_custom_length�/CompressObjectTestCase.test_flush_custom_length
sW���r�!���}�}�U�A�&��� � �"�����t�Q��������9�;�/��r��;rc�T�[o[[[Q2O2Q2oQ[O[O
1FCDPo[O[O2o,oUOUOU22UU2oUQ*oUOUOU22UOUO22QOU2oUOUOU22UOUO22QOU2o	UO[OU2V*2UO[OU	2V*2CJS	P!)�asciic�$�UO2!rc�r	�r�s&rr�:CompressObjectTestCase.test_compresscopy.<locals>.<lambda>�
��a�f�f�hr�NNNr)r�r0�str�swapcaser	�deepcopyrr�r�rr�r�rPrr�)
r"�data0�data1�func�c0�bufs0�c1�bufs1�s0�s1s
&         r�test_compresscopy�(CompressObjectTestCase.test_compresscopys�����c�,��0�9�9�;�W�E��&��	�	�4�=�=�@�D��!�!�$�"9�"9�:�B��E��L�L����U�+�,��b��B��!�H�E��L�L����U�+�,��L�L�����$����%��B��L�L����U�+�,��L�L�����$����%��B����T�_�_�R�0���=����T�_�_�R�0���=�#Arc�N�[O2oUO[2UO	2UO[UO2UO[[OU2UO[[OU2P!rc)	rr�r�r�r�r�r�r	r�)r"r�s& r�test_badcompresscopy�+CompressObjectTestCase.test_badcompresscopy)sg��
�����	�
�
�<� �	���	����*�a�f�f�-����*�d�i�i��3����*�d�m�m�Q�7rc�~�[o[OU2oUOU[2Q[
O
[
O1FD�o[O2o,oUOUOUQ*22UU2oUQ*oUOUOUQ*22QOU2oUOUOUQ*22QOU2o	UOV�2UOV�2J�	P!)c�$�UO2!rcr�r�s&rr�<CompressObjectTestCase.test_decompresscopy.<locals>.<lambda>;r�r:NrvNr�:rvNNr)r�rr�r.r0r	r�r�rr�rPr)
r"r^r$r�r�r�r�r�r�r�s
&         r�test_decompresscopy�*CompressObjectTestCase.test_decompresscopy3s������}�}�T�"�����d�E�*�&��	�	�4�=�=�@�D��#�#�%�B��E��L�L����t�C�y�1�2��b��B��!�H�E��L�L����t�C�y�1�2����%��B��L�L����t�C�y�1�2����%��B����R�#����R�%�Arc�x�[O[2o[O2oUO	U2UO2UO
[UO2UO
[[OU2UO
[[OU2P!rc)
rr�r�r�r�r�r�r�r	r�)r"r^r�s&  r�test_baddecompresscopy�-CompressObjectTestCase.test_baddecompresscopyLsu���}�}�\�*����� ��	���T��	���	����*�a�f�f�-����*�d�i�i��3����*�d�m�m�Q�7rc	�\�[[O]*2FDqoUO[[O
129^tt^2[O[O[O2U2PPP2Js	P!)%fhJ�9hr�)
rw�pickle�HIGHEST_PROTOCOLr�r��
PicklingError�dumpsrr�r��r"�protos& r�test_compresspickle�*CompressObjectTestCase.test_compresspickleWsj���6�2�2�Q�6�7�E��"�"�I�v�/C�/C�#D�E�E����T�-�-�d�.E�.E�F��N�F�E�8�E�E�E�s�9B	�B+
�#B+
c	�>�[[O]*2FDboUO[[O
129^tt^2[O[O2U2PPP2Jd	P!)%fhJy9hr�)	rwr�r�r�r�r�r�rr�r�s& r�test_decompresspickle�,CompressObjectTestCase.test_decompresspickle\sb���6�2�2�Q�6�7�E��"�"�I�v�/C�/C�#D�E�E����T�/�/�1�5�9�F�E�8�E�E�E�s�*B	�B
�B
c�b`�[O]2nU1QkoUOV2P!)r�c�R:�ROU2RO2*!rc)r�r�)rr�s&�rr�ACompressObjectTestCase.test_big_compress_buffer.<locals>.<lambda>fs���Q�Z�Z��]�Q�W�W�Y�6r)rr�r�)r"r�r�r�s&& @rr�/CompressObjectTestCase.test_big_compress_buffercs&������Q���6���&�&�t�6rc�``�[O2nU1QkoUOV2P!)c�R:�ROU2RO2*!rc)r�r�)rr�s&�rr�CCompressObjectTestCase.test_big_decompress_buffer.<locals>.<lambda>ls���q�|�|�A������:r)rr�r�)r"r�r�r�s&& @rr�1CompressObjectTestCase.test_big_decompress_bufferis$������ ��:�
��(�(��:rr"c�F�QU*o[O]2o[O2oUOU2UO	2*oUOU2UO	2*oUO
Vb2P9o9qbP!P9o9qbh9hr�)rr�r�r�r�r�r)r"r�r^r4rHr$r�s&&     rr%�*CompressObjectTestCase.test_64bit_compressos����d�{��
�
�
�a�
 ��
�
�
�
!��	(��;�;�t�$�r�x�x�z�1�D��]�]�4�(�2�8�8�:�5�F����V�*�#'�'�D�'�6�D��4�'�D�'�6�D�s�AB�B c�B�QoQU*o[OU2U*o[O2oUOU2UO	2*oUOV5O2UOVb2P9o9qEP!P9o9qEh9h)rGr�)rr�r�r�r�rr1)r"r�r^�unusedr$rHr�s&&     r�test_large_unused_data�-CompressObjectTestCase.test_large_unused_data|s���#�������}�}�T�"�V�+��
�
�
�
!��	&��]�]�4�(�2�8�8�:�5�F����V�^�^�4����V�*�!%�%�F�%�T�B���%�F�%�T�B�s�AB�Bc�6�QU*o[O2o[OU]2oUOU]2UO	2*oUOVR2UOUOQ2P9o9qRP!P9o9qRh9h)r�r)rr�r�r�r�rr/)r"r�r^rHr$r�s&&    r�test_large_unconsumed_tail�1CompressObjectTestCase.test_large_unconsumed_tail�s����d�{��
�
�
�
!��	(��=�=��q�)�D��]�]�4��+�b�h�h�j�8�F����V�*����R�/�/��5�#'�'�D�'�6�D��4�'�D�'�6�D�s�A*B�Bc��[Q6�o[O]]Q5oUO[2UO2*oUO
[OU]2[2U%c+UO
[OU]2[2UO
[OU]/2[2UO[OQ29^tt^2[OU]2PPP2[O]/Q5oUO
UOU2[2[O]Q5oUO[OQ29^tt^2UOU2PPP2[O]]	Q5oUO[2UO2*oUO
[OU]	2[2UO
[OU]2[2U%c+UO
[OU]2[2UO
[OU])2[2[O])Q5oUO
UOU2[2[O]QQ5oUO[2UO2*oUO
[OUQ2[2[OQQ5oUO
UOU2[2[O]QQ5oUO[2UO2*oUO
[OUQ2[2UO
[OUQ2[2[OQQ5oUO
UOU2[2[O]]Q5oUO[2UO2*oUO
[OU]2[2UO
[OU]/2[2[O]/2oUO
UOU2[2QFDmo	UOU	Q59^tt^2[o
[O[O[U	Q5U	Q5oUO
V�2PPP2Jo	P!)%fhCK�9h)%fhCK9h)%fhJ�9h)r�)r�r�zinvalid window size)r�)r�r�r�r���i����)r��)r�rr�r�r�r�rr�r�r�r�r�)r"�supports_wbits_0r4�zlib15r9�zlib9�	deflate15�deflate9�gzipr�r��actuals&           r�
test_wbits�!CompressObjectTestCase.test_wbits�s��5��E��
�
�
�A�R�
�
0�����\�*�R�X�X�Z�7����������4�l�C�����T�_�_�V�Q�7��F���������9�<�H�
�
#�
#�D�J�J�0E�
F�
F��O�O�F�B�'�G�� � �w� �/���������/��>�� � �r� �*��
�
#�
#�D�J�J�0E�
F�
F��N�N�6�"�G��
�
�A�Q�
�
/�����L�)�B�H�H�J�6����������2�L�A���������3�\�B�����T�_�_�U�A�6��E���������7��F�� � �v� �.���������.��=�
�
�
�A�S�
�
1���K�K��-����
�:�	��������C�8�,�G�� � �s� �+��������	�2�L�A�
�
�
�A�R�
�
0���;�;�|�,�r�x�x�z�9���������2�6��E��������3�7��F�� � �r� �*���������1�<�@�
�
�
�A�W�
�
5���{�{�<�(�2�8�8�:�5���������w�7��F��������w�7��F�� � ��)���������-�|�<�"�E����E��*�*�'������M�M�,�e�M�<�E�)���� � ��2�+�*�#�MG�
F�
F��
G�
F�
F��D+�*�*�s7�:V�V'�=AV;	�V$	�V$	�'V8	�0V8	�;W
�W
r%)FNrO�@)NrOr")Fr�r')7r&r'r(r)r<rrLrTr\r`rirlrorsrxr}r�r�r(r)r�rr�r�r�r�r�r�r�r�r�r�rrr�r��requires_Compress_copyr�r��requires_Decompress_copyr�r�r�rrrrr�r�r%rrr r*r+r,s@rr+r+�s-����:�,*�*
0�
(�&/�R(�G�6G�@/�3�H�N�3��6�����~�6�5�7�L�7�L�*+�:� :�$�	!�"�=�6(�
2��S��#�5�$�5�<��>��>�.�8��8��&��&�0�8��8�O�
:��S�;�&�q�1�7�2�7�
�S�;�&�q�1�;�2�;�
������u�,�.G�H��S�3�Y�q�)�	(�*�I�	(�������u�,�.G�H��S�3�Y�q�)�
&�*�I�
&�������u�,�.G�H��S�3�Y�q�)�	(�*�I�	(�63�63rr+c��UdUOU2UOQ2o[U2Tt,tFDpSOU2MJ	to!ttoh)z=Return a list of number lines randomly chosen from the source�
)�seedrrw�choice)rW�numberr'�	generator�sources�ns&&&&  r�choose_linesr-�sG�������t���l�l�4� �G�/4�V�}�=�}�!���W�%�}�=�=��=s�As�
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.
c�Z`�\sQsQsn\s\O\2sQs	\Q\
\2*]**s\O\2sQs
QsQsQsQs\O&\\]d*QQ	5Q
22sQsQsQ
sQsQsQs\O:Q2sQsUs P!)�ZlibDecompressorTestisNot a valid deflate blockc���UO[[OQ2UO[[OQQ2UO[[OQQ]2P!)�ASDA�notbytessbytesr)r�r�r�_ZlibDecompressorr!s&r�test_Constructor�%ZlibDecompressorTest.test_Constructor sP�����)�T�%;�%;�V�D����)�T�%;�%;�S�*�M����)�T�%;�%;�S�(�A�Nrc���[O2oUO[UO2UO	UO
2oUO
V O2P!rc)rr3r�r�r��DATAr�TEXT�r"�zlibd�texts&  r�testDecompress�#ZlibDecompressorTest.testDecompress%sL���&�&�(�����)�U�%5�%5�6�����	�	�*������y�y�)rc��[O2oQo]oUOU]
*U]*]
*oU%fL"V!OU2*
oU]*
oJPUO	V O
2P!rr)rr3r7r�rr8)r"r:r;r,r�s&    r�testDecompressChunks10�+ZlibDecompressorTest.testDecompressChunks10+sm���&�&�(����
����)�)�A�b�D�!�A�#�r��*�C����$�$�S�)�)�D�
��F�A�����y�y�)rc���[O2oQoUOUOU*2oUO	V0O
2UO	UOU2P!)sthis is unused data)rr3r�r7rr8r1)r"r:r1r;s&   r�testDecompressUnusedData�-ZlibDecompressorTest.testDecompressUnusedData7sV���&�&�(��,������	�	�+� 5�6������y�y�)�����*�*�K�8rc���[O2oUOUO2oUO	[
UOQ2UO	[
UOQ2P!)sanythingr)rr3r�r7r��EOFErrorr9s&  r�testEOFError�!ZlibDecompressorTest.testEOFError>sT���&�&�(������	�	�*�����(�E�$4�$4�k�B����(�E�$4�$4�c�:rgffffff
@rc�D�[QU2o[OU2oV1]*
U*]**o[O	U2o[O2oUO
U2oUOVt6H2PoPoPoP!PoPoPoh9h)ri�)�minrWrprr�r3r�r3)r"r��	blocksize�blockr^r�r:�decompresseds&&      r�testDecompress4G�%ZlibDecompressorTest.testDecompress4GDs����(�$�/�	�� � ��+��		 ��!�V�	�1�A�5�6�D����t�,�J��*�*�,�E� �+�+�J�7�L��O�O�L�0�1��D��J��L���D��J��L�s�A*B�Bc	��[[O]*2FDRoUO[29^tt^2[O
[O2U2PPP2JT	P!)%fhJi9hr�)rwr�r�r�r�r�rr3r�s& r�
testPickle�ZlibDecompressorTest.testPickleUsV���6�2�2�Q�6�7�E��"�"�9�-�-����T�3�3�5�u�=�.�-�8�-�-�-�s�*A;	�;B
�B
c���[O2o]do,o[UO2]@*
oUO	UOUOPUUQ52UO
UO2UO[UP*2U2UO	UOQUQ52UO
UO2UO[UP*2U2UO	UOUOUPUQ52UO[UP*2U2UO%fGUO	UOQUQ52UO[UP*2U2JXQOU2oUOV0O2UOUOQ2P!)r|rDr)rr3r�BIG_DATArr�rg�needs_inputr�assertLessEqualr�rP�BIG_TEXTr1)r"r:rE�out�len_s&    r�testDecompressorChunksMaxsize�2ZlibDecompressorTest.testDecompressorChunksMaxsizeZs����&�&�(���
����4�=�=�!�B�&���
�
�5�#�#�D�M�M�%�4�$8�-7�$�9�	:�����*�*�+�����S��W��z�2�	�
�
�5�#�#�C�J�#�?�@�����*�*�+�����S��W��z�2�	�
�
�5�#�#�D�M�M�$�%�$8�-7�$�9�	:����S��R��\�:�6��)�)�)��J�J�u�'�'��
�'�C�D�� � ��S��W��z�:��h�h�s�m������m�m�,�����*�*�C�0rc��[O2o,oUOUOUOQ*]Q5Q2UOUOQ]22UOUOUOQ*]22UOUOUOQ*22UOQO
U2UO2P!)r{rDr:r|�iN:r\NN�rr3rr�r7rrPr8�r"r:rWs&  r�test_decompressor_inputbuf_1�1ZlibDecompressorTest.test_decompressor_inputbuf_1ys����&�&�(����	
����)�)�$�)�)�D�/�34�*�6�7:�	<�
	�
�
�5�#�#�C��+�,�	�
�
�5�#�#�D�I�I�g�$6��;�<�	�
�
�5�#�#�D�I�I�d�O�4�5�������#���	�	�2rc�\�[O2o,oUOUOUOQ*]Q5Q2UOUOQ22UOUOUOQ*]22UOUOUOQ*]22UOUOUOQ*22UOQO
U2UO2P!)�N��NrDr:rc�N:rd�,N�reNNr]r^s&  r�test_decompressor_inputbuf_2�1ZlibDecompressorTest.test_decompressor_inputbuf_2�s����&�&�(����	
����)�)�$�)�)�D�/�34�*�6�7:�	<��
�
�5�#�#�C�(�)�	�
�
�5�#�#�D�I�I�g�$6��:�;�	�
�
�5�#�#�D�I�I�g�$6��:�;�	�
�
�5�#�#�D�I�I�d�O�4�5�������#���	�	�2rc��[O2o,oUOUOUOQ*]22UOUOUOQ*]22UOUOUOQ*22UOQO
U2UO2P!)rb:rcreNrfr)rr3rr�r7rrPr8r^s&  r�test_decompressor_inputbuf_3�1ZlibDecompressorTest.test_decompressor_inputbuf_3�s����&�&�(����	�
�
�5�#�#�D�I�I�d�O�Q�7�8�	�
�
�5�#�#�D�I�I�g�$6��:�;�	�
�
�5�#�#�D�I�I�d�O�4�5�������#���	�	�2rc��[O2oUO[UOUO
]*2UO[UOUO
]*2P!)�)rr3r��	Exceptionr��BAD_DATA)r"r:s& r�test_failure�!ZlibDecompressorTest.test_failure�sR���&�&�(�����)�U�%5�%5�t�}�}�r�7I�J����)�U�%5�%5�t�}�}�r�7I�Jrc��[O[Q2o[O	2oU2o[]d2FDoUO
2J	UOU2U*
]]
Q5P!)�gettotalrefcount)�delta)r�
get_attributer�rr3rw�__init__�assertAlmostEqual)r"rsr:�refs_beforerRs&    r�test_refleaks_in___init__�.ZlibDecompressorTest.test_refleaks_in___init__�sb��"�0�0��6H�I���&�&�(��&�(���s��A��N�N������/�1�K�?��"��Mrr%i)!r&r'r(r)r�r8rr�r7rorrVrSr4r<r?rBrFr�skip_if_pgo_taskrrrMrPrYr_rgrjrp�
refcount_testryr*r+r,s@rr/r/s������D��=�=��&�D�+�H��
�c�$�i�/�1�4�5�H��}�}�X�&�H�O�
*�
*�9�;�
����S�3�Y�s�+�
 �,��
 �>�
1�>3�,3�*3� K�
���N��Nrr/c�(`�\sQsQsnQsQsUsP!)ri�c��]d!)r|r%r!s&r�	__index__�CustomInt.__index__�s��rr%)r&r'r(r)rr*r+r,s@rrr�s�����rrc�(`�\sQsQsnQsQsUsP!)�
TestModulei�c���UO[Q29^tt^2o[[Q2PPP2UO	WO
[2P!)%fhK29h)zA'__version__' is deprecated and slated for removal in Python 3.20�__version__)�assertWarnsRegex�DeprecationWarningr�rr�filename�__file__)r"�cms& r�test_deprecated__version__�%TestModule.test_deprecated__version__�sP��
�
"�
"�"�S�
�
���D�-�(�	
�
	
������h�/�
�
�s�A�A+	�$A+	r%)r&r'r(r)r�r*r+r,s@rr�r��s����0�0rr��__main__)-r(�testr�test.supportrrNr	r�rWr�rrrr�
import_modulerr)r�r�r#r�r$rrr�r�TestCaserr/rSr�r�r�r��objectr�r�r+r-r�r/rr�r&�mainr%rr�<module>r�s�����&���
�
�
�7�7��"�"�6�*��!�,�,��� � �"�F�+�"�$��$�.�.���"�"�$�f�-�$�&��
.2�-F�-F��9�:��<��M�h�'�'�M�*G�x�(�(�*G�ZS1�S1�l.�/��1B�1B�.�0�1�8�3D�3D�0�9�� 1� 1�9�0O��)�)�0O�f�6��<A�+�X�->�->�A�HH	3�1�8�3D�3D�H	3�T'+�f�>�>��BiN�8�,�,�iN�X��
0��"�"�0��z���M�M�O�r

Youez - 2016 - github.com/yon3zu
LinuXploit