403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
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_regrtest.cpython-315.pyc
R
>lqj�c��Qs]PHs]PHs]PHs]PHs]PHs]PHs]PHs]PH$s	]PH(s
]PH,s]PH0s]PH4s
]PH8s]PH<s]PH@s]PHDs]PHHs]PHLs]PHPs]QHTGs]QH\Gs]QHdGs]QHdGs]QHpGs]QHpGs]QHpGs]QHpG s ]Q	H�G"s"G#s#G$s$]Q
H�G&s&]QH�G(s(\OR%f\OTQ2g\OVOY\OVO[\.2Q
Q
2s/\OVOa\OVOc\/22s/Qs2Q&s3QQOY\32Q0s3]s4]s5]s6]s7]�s8\OrQ2s:QQ\Ov2s<\OzP	Q5QQ22s>QQ\Ov2s?QQ\?2s@\O�QQ\?22sB\O�QQ\?22sCQ Q!\Ov2sD]Q"CHGFsFQ#Q$\Ov2sG\HQ%6Xc%\O�2\O<2P!P!)'zM
Tests of regrtest.py.

Note: test_regrtest cannot be run twice in parallel.
)�ElementTree)�support)�
import_helper)�	os_helper)�cmdline)�main)�setup)�utils)�get_match_tests�set_match_tests�
match_test)�	TestStats)�normalize_test_nameztest module requires subprocessz..z5[0-9]+:[0-9]+:[0-9]+ (?:load avg: [0-9]+\.[0-9]{2} )?z(?:�|�)z�
    from signal import SIGINT, raise_signal
    try:
        raise_signal(SIGINT)
    except ImportError:
        import os
        os.kill(os.getpid(), SIGINT)
    c��`�\sQs]IsnQs\Q2sQsQsQs	Qs
QsQsQ	s
Q
sQsQsQ
sQsQsQsQsQsQsQsQsQsQsQsQsQsQsQs \!OD\#OHQ2Q2s%Qs&Q s'Q!s(Q"s)Q#s*Q$s+Q%s,Q&s-Q's.Q(s/Q)s0Q*s1Q+s2Q,s3Q-P	Q.P	Q/P	-Q0ks4Q1s5Q2s6Q3s7Q4s8Q5s9Q6s:Q7s;Q8s<Q9s=Q:s>Q;s?Q<s@UsAP!)=�ParseArgsTestCasez;
Test regrtest's argument parsing, function _parse_args().
c�0�[OU2!�N)r�_parse_args)�argss&�'C:\Python315\\Lib\test\test_regrtest.py�
parse_args�ParseArgsTestCase.parse_argsNs���"�"�4�(�(�c	�L�[O29^tt^2p0O[29^tt^2UO	U2PPP2PPP2UOUWO
22P!)%fhK:9h)%fhKE9hr)r�captured_stderr�assertRaises�
SystemExitr�assertIn�getvalue)�selfr�msg�errs&&& r�
checkError�ParseArgsTestCase.checkErrorRs[��
�
$�
$�
&�
&�#�/@�/@��/L�/L��O�O�D�!�0M�
&��
�
�c�3�<�<�>�*�0M�/L��
&�
&�s.�B�B	�B�B
�	B
�B�B#	�B#	c
���QFD�oUOUQ59^tt^2[O29^tt^2oUO[29^tt^2UOU,2PPP2PPP2UO
QWO22PPP2J�	P!)%fhKF9h)%fhKQ9h)%fhJ�9h)�-h��optzRun Python regression tests.)r&z--help)�subTestr�captured_stdoutrrrrr)r r(�outs&  r�	test_help�ParseArgsTestCase.test_helpWs���!�C����#��&�&��,�,�.�.�#��&�&�z�2�2��O�O�S�E�*�3�/��
�
�<�c�l�l�n�M�	'�&�"�3�2��/�.��'�&�&�sM�C	�C
�B/�1C
�9(C	�/B?�8B?�:C
�C�C�
C	�C&
�C&
c	��UOQQ,2oUOUOQ2QFDWoUOUQ59^tt^2UOQU0,2oUOUOP2PPP2JY	UO	Q,Q2UO	QQ,Q2P!)%fhJ�9h)	�	--timeoutz4.2g������@)�valuez
--timeout=�expected one argument�foozinvalid timeout value:)z-1�0�)r�assertEqual�timeoutr)r#)r �nsr0s&  r�test_timeout�ParseArgsTestCase.test_timeout_s���
�_�_�k�5�1�
2��������S�)�%�E����E��*�*��_�_�
�5�'�&:�%;�<��� � ����T�2�+�*�%�
	
����
�'>�?�����e�,�.F�G�+�*�*�s�2B8	�8C	
�C	
c�b�UOQ,2oUOUO2P!)�--wait)r�
assertTrue�wait�r r7s& r�	test_wait�ParseArgsTestCase.test_waitls"��
�_�_�h�Z�
(�������� rc	��QFDhoUOUQ59^tt^2UOUQ,2oUOUOQ2UO	U,Q2PPP2Jj	P!)%fhJ9h)�-Sr'r2r1)rB�--start)r)rr5�startr#�r r(r7s&  r�
test_start�ParseArgsTestCase.test_startpsf��"�C����#��&�&��_�_�c�5�\�2��� � ����5�1������'>�?�'�&�#�&�&�&���AA3	�3B
�<B
c���UOQ,2oUOUO]2UOQ,2oUOUO]2UOQ,2oUOUO]2UOQ,]*2oUOUO]2UO,2oUOUO]2P!)�-vz-vvv�	--verbose)rr5�verboser>s& r�test_verbose�ParseArgsTestCase.test_verbosews���
�_�_�d�V�
$��������Q�'�
�_�_�f�X�
&��������Q�'�
�_�_�k�]�
+��������Q�'�
�_�_�k�]�Q�.�
/��������Q�'�
�_�_�R�
 ��������Q�'rc	���QFDSoUOUQ59^tt^2UOU,2oUOUO2PPP2JU	P!)%fhJj9h)�-wr')rP�--rerunz
--verbose2)r)rr<�rerunrEs&  r�
test_rerun�ParseArgsTestCase.test_rerun�sO��0�C����#��&�&��_�_�c�U�+��������)�'�&�1�&�&�&���.A	�A/
�'A/
c	���QFDSoUOUQ59^tt^2UOU,2oUOUO2PPP2JU	P!)%fhJj9h)�-Wr')rW�
--verbose3)r)rr<�verbose3rEs&  r�
test_verbose3�ParseArgsTestCase.test_verbose3��O��%�C����#��&�&��_�_�c�U�+��������,�'�&�&�&�&�&�rUc	��QFDooUOUQ59^tt^2UOU,2oUOUO2UO	UO
]2PPP2Jq	P!)%fhJ�9h)�-qr')r^�--quiet)r)rr<�quietr5rLrEs&  r�
test_quiet�ParseArgsTestCase.test_quiet�sc��"�C����#��&�&��_�_�c�U�+��������)�� � ����Q�/�'�&�#�&�&�&�s�A
A:	�:B
�B
c	���QFDSoUOUQ59^tt^2UOU,2oUOUO2PPP2JU	P!)%fhJj9h)�-or')rd�	--slowest)r)rr<�
print_slowrEs&  r�test_slowest�ParseArgsTestCase.test_slowest�sO��$�C����#��&�&��_�_�c�U�+������
�
�.�'�&�%�&�&�&�rUc��UOQ,2oUOUO2UOQ,2oUOUO2P!)z--headerrK)rr<�headerr>s& r�test_header�ParseArgsTestCase.test_header�sB��
�_�_�j�\�
*������	�	�"�
�_�_�k�]�
+������	�	�"rc	�.�QFDSoUOUQ59^tt^2UOU,2oUOUO2PPP2JU	[O
29^tt^2oQUQ$UOQ,2o[OU2oUOUO2UOUO[2UOUOQ2UQUOQ,2o[OU2oUOUO2UOUO[2PPP2P!)%fhCJ{9h)%fhP!9h)�-r�--randomizer'�
1697839080�SOURCE_DATE_EPOCH)rnro)r)rr<�	randomizer�EnvironmentVarGuardr�Regrtest�assertFalse�assertIsInstance�random_seed�strr5�int)r r(r7�env�regrtests&    r�test_randomize� ParseArgsTestCase.test_randomize�s2��(�C����#��&�&��_�_�c�U�+��������-�'�&�)�
�
*�
*�
,�
,��'3�C�#�$����-��1�B��}�}�R�(�H����X�/�/�0��!�!�(�"6�"6��<����X�1�1�<�@��'�(����-��1�B��}�}�R�(�H��O�O�H�.�.�/��!�!�(�"6�"6��<�-�
,�	'�&�&��-�
,�
,�s$�.E.	�9C+F�.F
�7F
�F	�F	c���UO,2oUOUOP
2UOQ,2oUOUOP	2UOQ,2oUOUOP
2UOQQ,2oUOUOP
2UOQQ,2oUOUOP
2P!)Fro�--no-randomize)r�assertIsrrr>s& r�test_no_randomize�#ParseArgsTestCase.test_no_randomize�s���
�_�_�R�
 ���
�
�b�l�l�E�*�
�_�_�m�_�
-���
�
�b�l�l�D�)�
�_�_�.�/�
0���
�
�b�l�l�E�*�
�_�_�m�-=�>�
?���
�
�b�l�l�E�*�
�_�_�.�
�>�
?���
�
�b�l�l�E�*rc�~�UOQQ,2oUOUOQ2UOUO2UOQ,Q2UOQQ,Q2UO,QN2oUOUOQ2UO
UO2P!)�
--randseed�12345i90r1r2�invalid int value)r�r�r)rr5rwr<rrr#rur>s& r�
test_randseed�ParseArgsTestCase.test_randseed�s���
�_�_�l�G�4�
5���������/�������%������(?�@�����u�-�/B�C�
�_�_�F�
G���������/�������&rc	�8�QFD}oUOUQ59^tt^2UOUQ,2oUOUOQ2UO	U,Q2UO	UQQ,Q2PPP2J	P!)%fhJ�9h)�-fr'r2r1�-s�don't go together)r��
--fromfile)r)rr5�fromfiler#rEs&  r�
test_fromfile�ParseArgsTestCase.test_fromfile�s|��%�C����#��&�&��_�_�c�5�\�2��� � ����e�4������'>�?�����e�T� 2�4G�H�	'�&�&�&�&�&�s�AB	�B
�B
c	���QFDSoUOUQ59^tt^2UOU,2oUOUO2PPP2JU	P!)%fhJj9h)�-xr')r��	--exclude)r)rr<�excluderEs&  r�test_exclude�ParseArgsTestCase.test_exclude��O��$�C����#��&�&��_�_�c�U�+������
�
�+�'�&�%�&�&�&�rUc	��QFDhoUOUQ59^tt^2UOU,2oUOUO2UO	UQQ,Q2PPP2Jj	P!)%fhJ9h)r�r'r�r2r�)r�z--single)r)rr<�singler#rEs&  r�test_single�ParseArgsTestCase.test_single�se��#�C����#��&�&��_�_�c�U�+������	�	�*�����d�E� 2�4G�H�'�&�$�&�&�&�rHc	�t�QFDioUOUQ59^tt^2UOUQ,2oUOUOQ
,2UO	U,Q2PPP2Jk	QFDioUOUQ59^tt^2UOUQ,2oUOUOQ,2UO	U,Q2PPP2Jk	UO,QN2oUOUOQQ,2UO,QN2oUOUOQQ,2UO,QN2oUOUOQQ,2UO[O[O2[[OQ29^tt^2o[QUQ5[QUQ5PPP2[OO[O2oUOQQ	Q
U,2oUOUO,QN2UOQQ	QU,2oUOUO,QN2P!)%fhCJ�9h)%fhCJ/9h)%fhK�9h)�-mr'�patternr1�-i�w�
matchfile1��file�
matchfile2�match�--matchfile�--ignorefile)r�z--match)r�T)r�z--ignore)r�F)r��pattern1r��pattern2)r�T)r�T)r�r�r�r�)r�F)r�r�r�r�)r�F))r�T)r�T)r�T))r�F)r�F)r�F)r)rr5�match_testsr#�
addCleanupr�unlink�TESTFN�open�print�os�path�abspath)r r(r7�fp�filenames&    r�
test_match�ParseArgsTestCase.test_match�s%��"�C����#��&�&��_�_�c�9�%5�6��� � ����2C�1D�E������'>�?�'�&�#�$�C����#��&�&��_�_�c�9�%5�6��� � ����2D�1E�F������'>�?�'�&�$��_�_�A�
B��������*<�>P�)Q�R�
�_�_�A�
B��������*<�>Q�)R�S�
�_�_�A�
B��������*=�?Q�)R�S����	�(�(�)�*:�*:�;�
�)�"�"�C�
(�
(�B��,�R�(��,�R�(�)��7�7�?�?�9�#3�#3�4��
�_�_�d�G�]�H�E�
F��������V�	X��_�_�d�G�^�X�F�
G��������Y�	[�?'�&�&��'�&�&��)�
(�s7�AI=	�AJ	�J'�=J
�J
�J$
�J$
�'J7	�0J7	c	�h�QFD�oUOUQ59^tt^2UOUQ,2oUOUO2UOUQ,2oUOUO2UO	U,Q2PPP2J�	P!)%fhJ�9h)�-Gr'rJrWz#-G/--failfast needs either -v or -W)r�z
--failfast)r)rr<�failfastr#rEs&  r�
test_failfast�ParseArgsTestCase.test_failfast
s���%�C����#��&�&��_�_�c�4�[�1��������,��_�_�c�4�[�1��������,������'L�M�'�&�&�&�&�&�s�A0B 	� B1
�)B1
c��QFCD�oUOUQ59^tt^2UOUQ,2oUOUOQPQP-2UOUQUQ,2oUOUOQPQP-2UOUQ,2oUOUOQP-2UOUQUQUQ,2oUOUOQP-2[O[O2oUQUOUQ,2oUOUOU2UOU,Q2UOUQ	,Q
2[O[O2oPUQ$UOUQ,2oUOUOU2UOUQ
UQ,2oUOUOU2UOUQ,2oUOUOQP-2UOUQ,2oUOUOQQ-2UOUQ,2oUOUOQQ-2UOUQ,2oUOUO-2UOUQ,2oUOUO-2[O[O2oQUQ$UOUQ,2oUOUOU2UOUQ
UQ,2oUOUOU2UOUQ,Q2UOUQ,Q2UOUQ,Q2PPP2CJ�	P!)%fhCJ�9h)�-ur'zgui,network�gui�networkzgui,none,network�nonezall,-guir1r2zinvalid resource�tzdataz
all,tzdata�all�extralargefilezxpickle=2.7�xpicklez2.7zxpickle=2.7,xpickle=3.3z3.3zxpickle=2.7,nonezxpickle=2.7,-xpicklezall,xpickle=2.7zall=0zinvalid resource: all=0znone=0zinvalid resource: none=0z
all,-gui=0zinvalid resource: -gui=0)r�z--use)	r)rr5�
use_resources�dict�fromkeysr�
ALL_RESOURCESr#)r r(r7�expecteds&   r�test_use�ParseArgsTestCase.test_usesq�� �C����#��&�&��_�_�c�=�%9�:��� � ��!1�!1�E�4��D�3Q�R��_�_�c�5�#�y�%A�B��� � ��!1�!1�E�4��D�3Q�R��_�_�c�+=�%>�?��� � ��!1�!1�I�t�3D�E��_�_�c�5�#�v�s�I�%N�O��� � ��!1�!1�I�t�3D�E��=�=��)>�)>�?���U�O��_�_�c�:�%6�7��� � ��!1�!1�8�<������'>�?�����e��.@�A� �=�=��)>�)>�?��%)���"��_�_�c�<�%8�9��� � ��!1�!1�8�<��_�_�c�5�#�x�%@�A��� � ��!1�!1�8�<��_�_�c�+;�%<�=��� � ��!1�!1�4D�d�3K�L��_�_�c�=�%9�:��� � ��!1�!1�I�u�3E�F��_�_�c�+D�%E�F��� � ��!1�!1�I�u�3E�F��_�_�c�+=�%>�?��� � ��!1�!1�2�6��_�_�c�+A�%B�C��� � ��!1�!1�2�6��=�=��)>�)>�?��&+���#��_�_�c�+<�%=�>��� � ��!1�!1�8�<��_�_�c�5�#�}�%E�F��� � ��!1�!1�8�<�����g��0I�J�����h��1K�L�����l� 3�5O�P�g'�&�!�&�&�&�s�NN:	�:O
�O
c	��QFDhoUOUQ59^tt^2UOUQ,2oUOUOQ2UO	U,Q2PPP2Jj	P!)%fhJ9h)�-Mr'�4Gr1)r�z
--memlimit)r)rr5�memlimitr#rEs&  r�
test_memlimit�ParseArgsTestCase.test_memlimitMsf��%�C����#��&�&��_�_�c�4�[�1��� � ����d�3������'>�?�'�&�&�&�&�&�rHc���UOQQ,2oUOUO[OO[OQ22UOQ,Q2P!)z	--testdirr2r1)	rr5�testdirr�r��joinr�SAVEDCWDr#r>s& r�test_testdir�ParseArgsTestCase.test_testdirTsO��
�_�_�k�5�1�
2��������R�W�W�\�\�)�2D�2D�e�%L�M�����
�'>�?rc	���QFDSoUOUQ59^tt^2UOU,2oUOUO2PPP2JU	P!)%fhJj9h)�-Lr')r�z
--runleaks)r)rr<�runleaksrEs&  r�
test_runleaks�ParseArgsTestCase.test_runleaksYr\rUc	��QFCD2oUOUQ59^tt^2UOUQ,2oUOUOQ
2UOUQ,2oUOUOQ2UOUQ,2oUOUOQ2UOUQ,2oUOUOQ2UO	U,Q2UO	UQ,Q2UO	UQ	,Q
2UO	UQ,Q
2PPP2CJ5	P!)%fhCJK9h)�-Rr'�:z6:z:3z
6:3:leaks.logr1�6z&needs 2 or 3 colon-separated argumentszfoo:zinvalid huntrleaks valuez6:foo)r��--huntrleaks)���
reflog.txt)�r�r�)r��r�)r�r�z	leaks.log)r)rr5�
huntrleaksr#rEs&  r�test_huntrleaks�!ParseArgsTestCase.test_huntrleaks_s��'�C����#��&�&��_�_�c�3�Z�0��� � ����0D�E��_�_�c�4�[�1��� � ����0D�E��_�_�c�4�[�1��� � ����0D�E��_�_�c�?�%;�<��� � ����0C�D������'>�?�����c�
� H�J�����f�
�/I�J�����g��0J�K�'�&�(�&�&�&�s�DD>	�>E
�E
c	�6�QFD|oUOUQ59^tt^2UOUQ,2oUOUO]2UO	U,Q2UO	UQ,Q2PPP2J~	P!)%fhJ�9h)�-jr'�2r1r2r�)r�z--multiprocess)r)rr5�use_mpr#rEs&  r�test_multiprocess�#ParseArgsTestCase.test_multiprocesspsy��)�C����#��&�&��_�_�c�3�Z�0��� � ����A�.������'>�?�����e��.A�B�	'�&�*�&�&�&���AB	�B
�B
c��QFD�oUOUQ59^tt^2[O29^tt^2oUOU,2oPPP2UO	WO
2UO
QWO22PPP2J�	P!)%fhKY9h)%fhJ�9h)�-Tr'z+collecting coverage without -j is imprecise�r��
--coverage)r)rrrr<�tracerr)r r(�stderrr7s&   r�test_coverage_sequential�*ParseArgsTestCase.test_coverage_sequentialxs���%�C����#��&�&��,�,�.�.�&����#��/�B�/�������)��
�
�A��O�O�%��	'�&�&�.�.��'�&�&�s0�B7	�B$
�AB7	�$B4�-B4�/B7	�7C
�C
�need a debug buildc	���QFDToUOUQ59^tt^2UOUQ,2oUOUO2PPP2JV	P!)%fhJk9h)r�r'�-j1r�)r)rr<r�rEs&  r�test_coverage_mp�"ParseArgsTestCase.test_coverage_mp�sQ��%�C����#��&�&��_�_�c�5�\�2��������)�'�&�&�&�&�&�s�/A	�A0
�(A0
c�f�QFD�oUOUQ59^tt^2UOUQ,2oUOUO[O
O
[OQ22UOU,Q2PPP2J�	P!)%fhJ�9h)�-Dr'r2r1)r�z
--coverdir)
r)rr5�coverdirr�r�r�rr�r#rEs&  r�
test_coverdir�ParseArgsTestCase.test_coverdir�s��%�C����#��&�&��_�_�c�5�\�2��� � ����!#�����i�.@�.@�%�!H�J������'>�?�	'�&�&�&�&�&�s�A/B	�B0
�(B0
c	���QFDSoUOUQ59^tt^2UOU,2oUOUO2PPP2JU	P!)%fhJj9h)�-Nr')rz--nocoverdir)r)r�assertIsNonerrEs&  r�test_nocoverdir�!ParseArgsTestCase.test_nocoverdir�sQ��'�C����#��&�&��_�_�c�U�+���!�!�"�+�+�.�'�&�(�&�&�&�rUc	�6�QFD|oUOUQ59^tt^2UOUQ,2oUOUOQ2UO	U,Q2UO	UQ,Q2PPP2J~	P!)%fhJ�9h)�-tr'�1000��r1r2r�)r	z--threshold)r)rr5�	thresholdr#rEs&  r�test_threshold� ParseArgsTestCase.test_threshold�sy��&�C����#��&�&��_�_�c�6�]�3��� � ����t�4������'>�?�����e��.A�B�	'�&�'�&�&�&�r�c���QFD�oUOUQ59^tt^2[O[O229^tt^2oUOU,2oPPP2UO
WO2WO2oUOQU2PPP2J�	P!)%fhK[9h)%fhJ�9h)�-nr'z)the --nowindows (-n) option is deprecated)rz--nowindows)
r)�
contextlib�redirect_stderr�io�StringIOrr<�	nowindowsrr)r r(r�r7r"s&    r�test_nowindows� ParseArgsTestCase.test_nowindows�s���&�C����#��&�&��/�/����
�>�>�&����#��/�B�?�������-��o�o�'���
�
�I�3�O�'�&�'�>�>��'�&�&�s0�2C
	�B:
�'AC
	�:C
�C
�C
	�
C
�C
c	���QFDSoUOUQ59^tt^2UOU,2oUOUO2PPP2JU	P!)%fhJj9h)�-Fr')r�	--forever)r)rr<�foreverrEs&  r�test_forever�ParseArgsTestCase.test_forever�r�rUc�.�UOQ,Q2P!)z--xxxzusage:�r#�r s&r�test_unrecognized_argument�,ParseArgsTestCase.test_unrecognized_argument�s������	�8�,rc��UOQ,2oUOUO2UOUO]2P!)z--qui)rr<r`r5rLr>s& r�test_long_option__partial�+ParseArgsTestCase.test_long_option__partial�s6��
�_�_�g�Y�
'��������!�������Q�'rc���UOQQ,2oUOUO2UOUO]2UOUO
2P!)r_r�)rr<r`r5rLr�r>s& r�test_two_options�"ParseArgsTestCase.test_two_options�sI��
�_�_�i��5�
6��������!�������Q�'�����
�
�#rc�f�UOQP,2oUOUOP2P!)rC)rr5rDr>s& r�#test_option_with_empty_string_value�5ParseArgsTestCase.test_option_with_empty_string_value�s(��
�_�_�i��_�
-��������2�&rc�f�UOQ,2oUOUOQ,2P!)r2)rr5rr>s& r�test_arg�ParseArgsTestCase.test_arg�s(��
�_�_�e�W�
%��������5�'�*rc���UOQQ,2oUOUO2UOUO]2UOUO
Q,2P!)r_r2)rr<r`r5rLrr>s& r�test_option_and_arg�%ParseArgsTestCase.test_option_and_arg�sO��
�_�_�i��/�
0��������!�������Q�'�������5�'�*rc��UO,QN2oUOUO]2UOUOQQ,2P!)�test_unaryop�
test_binop)r3rJr4)rr5rLrr>s& r�test_arg_option_arg�%ParseArgsTestCase.test_arg_option_arg�s>��
�_�_�A�
B��������Q�'�������>�<�"@�Arc�.�UOQ,Q2P!)z--unknown-optionz(unrecognized arguments: --unknown-optionrr s&r�test_unknown_option�%ParseArgsTestCase.test_unknown_option�s�����+�,�B�	Drc���[OU2o[O29^tt^2oUQ[O
U2oPPP2U!)%fhW!9h�rq)rrrrsrrt)r rr7rzr{s&&   r�create_regrtest�!ParseArgsTestCase.create_regrtest�sX��
�
 �
 ��
&���
*�
*�
,�
,���'�(��}�}�R�(�H�	-���
-�
,���s�A�A*	�"A*	rRrr�output_on_failurec�&�UOU2oUOUOP2UOUOU2UOUOP
2UOUO
U2UO
UO[2UOUO2UOUO2UOUOU2UOUOU2U!��)r<r5�num_workers�
want_rerun�
fail_rerunrrrvrwryr<�fail_env_changed�
print_slowestr>r�)r rr�rRrrr>r{s&&&$$$ r�
check_ci_mode�ParseArgsTestCase.check_ci_mode�s����'�'��-������-�-�r�2�����,�,�e�4�����,�,�e�4�����+�+�Y�7����h�2�2�C�8�����1�1�2�����.�.�/�����3�3�5F�G�����/�/��?��rc��Q,o[O[O2oUQUO	V2oUOUOQ2P!)�	--fast-ci�cpu�X�r�r�rr�rGr5r6�r rr�r{s&   r�test_fast_ci�ParseArgsTestCase.test_fast_ci�sK���}���
�
�g�&;�&;�<�
��%� ��%�%�d�:������)�)�7�3rc���,QNo[O[O2oUQUO	VP
Q5oUOUOQ2UOUOQ2P!)rJrK)rR)rJ�--pythonz
python -X devrL)�python�-X�dev)r�r�rr�rGr5r6�
python_cmdrNs&   r�test_fast_ci_python_cmd�)ParseArgsTestCase.test_fast_ci_python_cmd�se��9���
�
�g�&;�&;�<�
��%� ��%�%�d��%�G������)�)�7�3�����,�,�.E�Frc��QQ,o[O[O2oUQUQUO	V2P!)rJz
-u-networkrKr��r�r�rr�rG)r rr�s&  r�test_fast_ci_resource�'ParseArgsTestCase.test_fast_ci_resource�s>���\�*���
�
�g�&;�&;�<�
��%� ��)�$����4�/rc��QQ,o[O[O2oUQUO	VP
Q5oUOUOP	2P!)rJrKrK)r>)r�r�rr�rGr5rLrNs&   r�test_fast_ci_verbose�&ParseArgsTestCase.test_fast_ci_verbosesX���[�)���
�
�g�&;�&;�<�
��%� ��%�%�d�8=�&�?������)�)�4�0rc��Q,o[O[O2oUO	V2oUOUOQ2P!)�	--slow-cii�rMrNs&   r�test_slow_ci�ParseArgsTestCase.test_slow_cisC���}���
�
�g�&;�&;�<�
��%�%�d�:������)�)�7�3rc��[O[O2oUO	QQ,UP
Q5UQUO	QQ,UP
Q5P!)rar)rrrKrJrZ)r r�s& r�test_ci_no_randomize�&ParseArgsTestCase.test_ci_no_randomizes`���
�
�g�&;�&;�<�
����
�*�+�]�e�	�	
�
�%� ����
�*�+�]�e�	�	
rc�p�Q,o[OU2oUOUO2P!)z--dont-add-python-opts)rrru�_add_python_opts)r rr7s&  r�test_dont_add_python_opts�+ParseArgsTestCase.test_dont_add_python_optss.��(�)��
�
 �
 ��
&������,�,�-rc�f�Q,oUOU2oUOUO2P!)�--bisect)r<r<�want_bisect�r rr{s&  r�test_bisect�ParseArgsTestCase.test_bisect#s+���|���'�'��-������,�,�-rc��,QNo[O29^tt^2UOU2oPPP2UOWO2UOUOO]2UOUOO]
2UOUO2P!)%fhK�9h)r�)r�z3:10rX)
rrr<�assertIsNotNone�hunt_refleakr5�warmups�runsrur>rns&  r�test_verbose3_huntrleaks�*ParseArgsTestCase.test_verbose3_huntrleaks(s���+��
�
$�
$�
&�
&��+�+�D�1�H�'����X�2�2�3�����.�.�6�6��:�����.�.�3�3�R�8�����3�3�4�'�
&�s�C�C	�
C	c��QQ,o[O29^tt^2UOU2oPPP2UOWO]2UOUO2QQ,o[O29^tt^2UOU2oPPP2UOUO]2UOUO2P!)%fhK�9h)%fhK\9h)�-j2z--single-processrJ)rrr<r5rBr<�single_processrns&  r�test_single_process�%ParseArgsTestCase.test_single_process1s����)�*��
�
$�
$�
&�
&��+�+�D�1�H�'�����-�-�q�1�����/�/�0��/�0��
�
$�
$�
&�
&��+�+�D�1�H�'�����-�-�q�1�����/�/�0�'�
&��'�
&�s#�C(�C;�(C8	�1C8	�;D	�D	c��UO,2oUOUO2UOQ,2oUOUO2P!)�--pythoninfo)rru�
pythoninfor<r>s& r�test_pythoninfo�!ParseArgsTestCase.test_pythoninfo>sC��
�_�_�R�
 ��������'�
�_�_�n�-�
.������
�
�&r�)B�__name__�
__module__�__qualname__�__firstlineno__�__doc__�staticmethodrr#r,r8r?rFrMrSrZrargrkr|r�r�r�r�r�r�r�r�r�r�r�r�r�r��unittest�
skipUnlessr�Py_DEBUGr�rrr
rrr!r$r'r*r-r0r5r8r<rGrOrWr[r^rbrerirorvr{r��__static_attributes__�__classdictcell__��
__classdict__s@rrrIs|������)��)�+�
N�H�!�@�
(�*�-�0�/�#�=�,+� 	'�I�,�I�"[�HN�5Q�n@�@�
-�L�"C�	�����)�)�+?�@�*�A�*�@�/�C�P�,�-�(�
$�'�+�+�B�
D���#��/3��GK��4�G�0�1�4�
�.�
.�
5�1�'�'rr)�slotsc�.`�\sQsQsnU1QksQsUsP!)�Rerun�Fc�N:�U]6�cPg-RZ9Q$RZP*9Q$RZ9Q$!)��namer��success)rx�bool)�formatr�s"�r�__annotate__�Rerun.__annotate__Fs,����

�I����:����M�	rr�)r�r�r�r��__annotate_func__r�r�r�s@rr�r�Fs����rr�c�`�\sQsQsn]sQsQsQsQQksQs	QQks
QsQ	QQ
QQQQQQ
PQQQQQP
QP
QP
QP
QP
QP
-
QksU1QkQks
QQksQ QksQsUsP!)!�BaseTestCase�M�test_regrtest_ztest_[a-zA-Z0-9_]+c��[OO[OO[22Um[O2UmUO[OUO2P!r)r�r��realpath�dirname�__file__r��tempfile�mkdtemp�
tmptestdirr�r�rmtreer s&r�setUp�BaseTestCase.setUpRsM���w�w�'�'�������(A�B���"�*�*�,������	�(�(�$�/�/�:rc��U%f5Q[O*o[9O]*
tmUe[OQ2oUOU*o[
OOUOUQ*2oUO[OU2[UQQQ59^tt^2oUOU2PPP2U!)%fhS!9h[c;o[O 2%fSO#QS8QS802gPo=hh9h)znoop%sz�
                    import unittest

                    class Tests(unittest.TestCase):
                        def test_empty_test(self):
                            pass
                z.py�xzutf-8��encodingz
cannot write z: )r��TEST_UNIQUE_ID�textwrap�dedent�TESTNAME_PREFIXr�r�r�r�r�rr�r��write�PermissionError�	sysconfig�is_python_build�skipTest)r r��coder�r��excs&&&   r�create_test�BaseTestCase.create_testXs�����l�9�9�9�D��'�'�1�,�'��<��?�?�$��D��#�#�d�*���w�w�|�|�D�O�O�T�E�\�:�����	�(�(�$�/�	��d�C�'�2�2�b������3���
3�2����	�	��,�,�.�.��
�
�t�S�A�B���	�sH�=D�C/�%D�/D	�8D	�:D�D�	E�
E�E�)E�Ec��[OV[O2oU%fUOU8QU802U!)z not found in )�re�search�	MULTILINE�fail)r �regex�outputr�s&&& r�regex_search�BaseTestCase.regex_searchvs/���	�	�%����6����I�I�e�V�<�=��rc���U%f[OU2oU%c
UQ*
o[OQU*[O2oUO	V2P!)�
�^)r��escape�compiler��assertRegex)r r�r��fullr�s&&&&&r�
check_line�BaseTestCase.check_line|sE����i�i��(�G���t�O�G��
�
�4�'�>�2�<�<�8������'rc���Q[QUOQ[0o[OV![O
2o[9PIc,QU2DMJ	!QU22!)r�z\[ *[0-9]+(?:/ *[0-9]+)*\] (z) c3�N�SF �DpO]2w�	J	P!3hr@)�group)�.0r�s& r�	<genexpr>�4BaseTestCase.parse_executed_tests.<locals>.<genexpr>�s������u�K�K��N�N��s�%)�
LOG_PREFIX�TESTNAME_REGEX�RESULT_REGEXr��finditerr��list)r r�r��parsers&&  r�parse_executed_tests�!BaseTestCase.parse_executed_tests�s]���j�\�"��)�)�*�"�\�N�<�����U�B�L�L�9���t�7��7�t�7�t�7��7�7�7r�skipped�failed�env_changed�omittedrR�run_no_tests�resource_deniedrr�parallel�interruptedrEr�filteredc	��`"�[U[2%cU,o[U[2%cU,o[U
[2%cU
,o
[U[2%cU,o[U[2%cU,o[U[2%cU,o[U	[2%cU	,o	[U[2%c[U2oU%cP	o,oUdCU%f;UO,oUO
%fUO
UO2UOU2o[U2oUdUO
UO2U%c'UO[U2[U2U2LUOUUU2Qn"U"1QkoU%cUQU2oUOUU2U
%cUQU
2oUOUU2U%cUQU2oUOUU2U%cUQU2oUOUU2U%cUQU2oUOUU2Ud�UQUO,2oUOUU2[Q	*oUOUU2Q
UOQ0oUO%cUQUOQ
0oUOUU2U	%cUQU	2oUOUU2[U2[U2*
[U
2*
[U2*
[U2*
[U2*
[U	2*
oU%c[U8QR"U28Q0oU%f/U%f'UdUO
%cU]6�c
QU*oUOUUP	Q5U
%cUOUQ2QUOQ
0oU%cUQ0oU,oUO %c UO
QUO Q
02UO"%c UO
QUO"Q
02QQO%U20oUOUUP	Q5[U2[U
2*
oUd[U2o]oL
[U2o]oU
%c]oQU0oU%fUQ[U20oU%cUQ0oU,oQU1Q[U21Q[U21Q[U
21Q U1Q![U	211FD&vooU%fJUO
UQ"U02J(	Q#QO%U20oUOUUP	Q5,o U%cU O
Q$2L!U%cU%cU O
Q%2U
%cU O
Q&2['UV]UVn12%fU O
Q'2LU %fU O
Q(2Q)O%U 2o UdUO
%cQ(LQ$o!U Q*U!0o UOUQ+U 0P	Q5P!),Tc��U]6wcQ!P!)rA�sr�)�counts&r�plural�1BaseTestCase.check_executed_tests.<locals>.plural�s���1�*�3�,�"�,rc�:�[U2oQO[U22oVRU21*oU8QU8Q0oU!)� z:\n    �$)�lenr��sorted)�line_format�testsr��namesr�r�s&&   �r�
list_regex�5BaseTestCase.check_executed_tests.<locals>.list_regex�s>�����J�E��H�H�V�E�]�+�E��&��-�"8�8�E�',�e�4�E��Lrz%s test%s skippedz%%s test%s skipped \(resource denied\)z%s test%s failedz;%s test%s altered the execution environment \(env changed\)z%s test%s omittedz%s re-run test%sz)Re-running 1 failed tests in verbose modezRe-running z in verbose modez
 \(matching: z\)z%s test%s run no testsz testz OK\.zAll %s)r�z(Test suite interrupted by signal SIGINT.zrun=�,z
 \(filtered\)z	failures=zskipped=z
Total tests: r��/r�r�r�r�rRr��=zTotal test files: �FAILUREzENV CHANGED�INTERRUPTED�NO TESTS RAN�SUCCESS�, z then zResult: )�
isinstancerxryrr�r��appendr�r�r5�setr�r�r�r��	tests_run�failuresr�r��any)#r r�r��statsr�r�r�r�rRr�r�rrr�r�rErr��rerun_failed�executed�total_testsr�r��good�text�parts�line�run�total_failed�total_rerun�reportr��ntest�state�	new_stater�s#&&&$$$$$$$$$$$$$$                 @r�check_executed_tests�!BaseTestCase.check_executed_tests�s�����e�S�!�!��G�E��g�s�#�#��i�G��o�s�+�+�.�/�O��f�c�"�"��X�F��k�3�'�'�&�-�K��g�s�#�#��i�G��l�C�(�(�(�>�L��e�S�!�!��e�$�E���I�����[��j�j�\�F��=�=�=��#�#�E�J�J�/��,�,�V�4���5�k�������u�z�z�*�����S��]�C��,<�f�E����X�{�F�;�	-�	���2�G�<�E��O�O�F�E�*���G��Y�E��O�O�F�E�*���1�6�:�E��O�O�F�E�*��� 2�*�,�E�
�O�O�F�E�*���2�G�<�E��O�O�F�E�*����1�E�J�J�<�@�E��O�O�F�E�*��!M�M�E��O�O�F�E�*�"�5�:�:�,�.>�?�E��{�{�{�!�7�-����}�B�?���O�O�F�E�*���7��F�E��O�O�F�E�*��E�
�S��\�)�C��,@�@�3�v�;�N��g�,��!$�[�!1�2�47��4E�F���)-�v�d�|�<�E��6�u�}��
�
�
�SW�Z[�S[� �5�(���O�O�F�E��O�5���O�O�F�$N�O��e�o�o�a�(�)����f�M�*�D�����>�>�>��L�L�9�U�^�^�A�$6�7�8��=�=�=��L�L�8�E�M�M�!�#4�5�6�������0�1�������4��0��+���_�!5�5�����|�,�L��K��v�;�L��K���C��c�U�|����V�1�S��Z�L�)�D���f�M�*�D����
�|�$�
�C��,�-�
��G��%�
��O� 4�5�
�k�"�
�S��.�/�

�K�D�%��u��
�
���a��w�/�0�
�%�S�X�X�f�%5�$6�7�������4��0�����L�L��#�
�+��L�L��'���L�L��'��D�&�w��3�4�4��L�L��(���L�L��#��	�	�%� ����%*�]�]�]�	�	�I��g�V�I�;�/�E�����(�5�'� 2���>rc�(:�U]6�cPgQRZQRZ-!)r�r��return)rx)r�r�s"�rr��+BaseTestCase.parse_random_seed.__annotate__)s��������rc�J�UOQU2oUO]2!)zUsing random seed: (.*))r�r�)r r�r�s&& r�parse_random_seed�BaseTestCase.parse_random_seed)s#���!�!�"<�f�E���{�{�1�~�rc�*�U%fPoQU7c[OUQ$UOQP2oUe,[[O
2oUOQP2[OU1QP	QUQ[OQU-U@oUOU6wcnQ[U28QUO8Q	U8Q
UO8Q0	oUO%cUQUO**
oUOU2U!)
r4r�rzrqr�input�stdoutzCommand z failed with exit code z, but exit code z expected!

stdout:
---
z
---
z
stderr:
---
%s---
)
�
subprocess�STDOUT�popr�r��environr�PIPE�
returncoderxrr�r�)r rr�exitcode�kwrz�procr!s&&&&,   r�run_command�BaseTestCase.run_command-s�����E��2��%�,�,�B�x�L��f�f�U�D�!���;��r�z�z�"�C��G�G�'��.��~�~�d�$�#'�$�$)�$�&0�_�_�$�#&�	$�
!#�$���?�?�h�&��$�i����(�D�K�K�
I�C��{�{�{�� �
�+�+�&�'��
�I�I�c�N��rc��,oQ[O7cUOQQ,2[O,UNQMQMoU%cUO	Q2UOU2UO
U1-U@oUO!)�uopsrT�faulthandlerz-I)�sys�	_xoptions�extend�
executabler�r&r)r r�isolatedr$�	extraargs�cmdr%s&&&,   r�
run_python�BaseTestCase.run_pythonPsz���	��S�]�]�"����d�F�^�,��~�~�@�	�@�4�@��@����J�J�t���
�
�4������*�r�*���{�{�r)r�r�)NN�FTr�)N�)T)r�r�r�r�r�r�r�r�r�r�r�r�rrr&r2r�r�r�s@rr�r�Ms������N�&�O�*�N�;��<�(�8�]?�%'�]?�02�]?�)+�]?�57�]?�$(�]?�79�]?�.0�	]?�
(-�]?�
8=�]?�
KP�]?�/4�
]?�&+�]?�6;�]?�~��!�F
�
rr�c�(`�\sQsQsnQsQsUsP!)�CheckActualTests�]c	���,QNoUOU2o[UO22o[OO[O[OO[22Q2o[[OU22oUOUU]	*]
*QQOUO220Q5P!)z@
Check that regrtest appears to find the expected set of tests.
ztest*.pyz+Unexpectedly low number of tests found in:
r�)r!)�-Wd�-E�-bbr��
test.regrtest�--list-tests)r2r��
splitlinesr�r�r��globr�r�r��
assertGreater)r rr��rough_number_of_tests_found�actual_testsuite_glob�rough_counted_test_py_filess&     r�#test_finds_expected_number_of_tests�4CheckActualTests.test_finds_expected_number_of_tests^s���K������&��&)�&�*;�*;�*=�&>�#� "�����T�[�[�������9R�-S�-7�!9��&)�$�)�)�4I�*J�&K�#�	
���6�6�q�8�"�<�M�"�i�i��(9�(9�(;�<�=� ?�	�	@rr�)r�r�r�r�rEr�r�r�s@rr7r7]s����@�@rr7c�X``�\sQsQsnQs]sU1QksQsQQksQs	Qs
QsQ	sQ
s
QsQs\O"\O&2Q
2\O"\O*Q6HQ2Q22s\O"\O*Q6HQ2Q2sQsUsU9s!)�ProgramsTestCase�uzd
Test various ways to run the Python test suite. Use options close
to options used on the buildbot.
c�:�[RU_2[UO2Tt,tFDpO	2MJ	toUm,QNUmQQQUO*,UmUOOQ2[OQ6XcUOOQ2P!P!ttoh)r:z-uallz-rwW�--testdir=%s�win32r)r:r;r<)r/�3600z-j4)
�superr��range�NTESTr�r��python_argsr��
regrtest_argsr-r+�platformr�)r �index�	__class__s& �rr��ProgramsTestCase.setUp~s����
��
��7<�D�J�J�6G�H�6G�U�&�&�(�6G�H��
�/���%�v�,�t���>�@������!�!�">�?��<�<�7�"����%�%�d�+�#��
Is�B<c���UOU2oUOUO2U2UOVOP	[UO2Q5P!)T)rrr)rr<�isdigitrr�r�)r r��randseeds&& r�check_output�ProgramsTestCase.check_output�sP���)�)�&�1������(�(�*�H�5��!�!�&�*�*�,0��D�J�J��	"�	Irc�P�UOVUQ5oUOU2P!)�rzr/)r2rZ)r rrzr/r�s&&&& r�	run_tests�ProgramsTestCase.run_tests�s"��������B�����&�!rc���[OOUOQ2o,UONUMUO
NUONoUOU2P!)zregrtest.py�r�r�r�r�rQrRr�r^�r �scriptrs&  r�test_script_regrtest�%ProgramsTestCase.test_script_regrtest�sO�������d�l�l�M�:��L��!�!�L�6�L�D�,>�,>�L����L�����t�rc�~�,UONQMQMUONUONoUOU2P!)r��test�rQrRr�r^�r rs& r�test_module_test�!ProgramsTestCase.test_module_test�sJ��2��!�!�2�4�2��2��#�#�2�&*�j�j�2�����t�rc�~�,UONQMQMUONUONoUOU2P!)r�r=rhris& r�test_module_regrtest�%ProgramsTestCase.test_module_regrtest��J��2��!�!�2�4�2��2��#�#�2�&*�j�j�2�����t�rc�~�,UONQMQMUONUONoUOU2P!)r�z
test.autotestrhris& r�test_module_autotest�%ProgramsTestCase.test_module_autotest�rorc��Qo,UONQMUMUONUONoUOU2P!)zfrom test import autotestz-crh)r r�rs&  r�test_module_from_test_autotest�/ProgramsTestCase.test_module_from_test_autotest�sO��*��2��!�!�2�4�2��2��#�#�2�&*�j�j�2�����t�rc���[OOUOQ2o,UONUMUO
NUONoUOU2P!)zautotest.pyrarbs&  r�test_script_autotest�%ProgramsTestCase.test_script_autotest�sO�������d�l�l�M�:��L��!�!�L�6�L�D�,>�,>�L����L�����t�rc�d�UOUQQ5oUOUO2P!)�backslashreplace)�errors)r&rZr)r rr%s&* r�	run_batch�ProgramsTestCase.run_batch�s2������(:� �;��	
���$�+�+�&rz test.bat script is not installedrLzWindows onlyc�z�[OO[QQQ2oQUO*,o[
O2Q6XcUOQ2L^[
O2Q6XcUOQ2L2[
O2]*Q6XcUOQ	2[O%fUOQ
2[OQ2%cUOQ2UOU,UNUON3P!)
�Tools�buildbotztest.batrK�ARM64�-arm64�ARM�-arm32�64bit�-x64z+d�Py_GIL_DISABLED�
--disable-gil)r�r�r��ROOT_DIRr�rS�machiner��architecturerr�r��get_config_varr|r�)r rc�	test_argss&  r�test_tools_buildbot_test�)ProgramsTestCase.test_tools_buildbot_test�s���
�����h���Z�H��#�d�o�o�5�6�	������(����X�&�
�
�
�
�5�
(����X�&�
�
"�
"�
$�Q�
'�7�
2����V�$��������T�"��#�#�$5�6�6����_�-����v�7�	�7�D�J�J�7rc���[OO[Q2o[OO	U2%fUOQUQ02Q,o[O2Q6XcUOQ2L^[O2Q6XcUOQ2L2[O2]*Q6XcUOQ	2[O%cUOQ
2[OQ2%cUOQ2UOU,UNUONUO N3P!)
zPCbuild\rt.batzFile "z" does not existr^r�r�r�r�r�r�z-dr�r�)r�r�r�r��isfiler�rSr�r�r�rr�r�r�r|rRr�)r rc�rt_argss&  r�test_pcbuild_rt� ProgramsTestCase.test_pcbuild_rt�s�������h�(9�:���w�w�~�~�f�%�%��M�M�F�6�(�*:�;�<��&�������(��N�N�8�$�
�
�
�
�5�
(��N�N�8�$�
�
"�
"�
$�Q�
'�7�
2��N�N�6�"������N�N�4� ��#�#�$5�6�6��N�N�?�+����v�J��J�$�*<�*<�J�t�z�z�Jr)rQrRr�)NT)r�r�r�r�r�rPr�rZr^rdrjrmrqrtrwr|r�r�r�r�r+rSr�r�r�r��
__classcell__)rUr�s@@rrHrHus������

�E�,�I�"�������'�����2�2�4�;�=�
�������0�.�A�8�B�=�8� �������0�.�A�K�B�K�KrrHc�Z`�\sQsQsnQsQsQsQsQsQs	Qs
Q	sQ
sQs
QsQ
sQsQs\O&QP
-Qk2s\O,\O.Q2U1QkQk2sQsQs\O,\O.Q2Q2s\O,\O.Q2Q2sQsQs\O>Q2s Qs!Qs"Qs#Qs$Q s%Q!s&Q"s'Q#s(Q$s)Q%s*Q&s+Q's,Q(s-Q)s.Q*s/Q+s0Q,s1Q-s2\O>Q.2s3Q/s4Q0s5Q1s6Q2s7Q3s8Q4s9\Ot\OvQ52Q62s<Q7s=Q8s>U1Q9kQ:ks?Q;s@Q<sAQ=sBQ>sCQ?sDQ@sE\Ot\O�QA2QB2sGQCsHQDsIQEsJQFsKQGsLQHsMUsNP!)I�ArgsTestCase��z*
Test arguments of the Python test suite.
c�\�QQQUO*,UNoUOU1-U@!)r�rgrK)r�r2)r �testargsr$�cmdargss&*, rr^�ArgsTestCase.run_tests�s0�����$�/�/�!A�M�H�M�����w�-�"�-�-rc	��[OQ2o[]]2Tt,tFDp OQU0UQ5MJ	ooUOUoUOVC][
U2*Q5P!ttoh)a
            import unittest

            class PassingTests(unittest.TestCase):
                def test_test1(self):
                    pass

                def test_test2(self):
                    pass

                def test_test3(self):
                    pass
        �ok�r��r)r�r�rOr�r^rr�)r r��ir�r�s&    r�test_success�ArgsTestCase.test_success�s{����� �
��AF�a���L��1�!�!�B�q�c�(��!�6���L�����'���!�!�&�()�C��J��	"�	8��Ms� A=c���[OQ2oUOQ2oUOQUQ5oV#,oUOUoUO	VTU,]Q5P!)zQ
            import unittest
            raise unittest.SkipTest("nope")
        r��skipr�)r�r�r�r�r�r^r)r r��test_ok�	test_skipr�r�s&     rr��ArgsTestCase.test_skipso����� �
���"�"�4�(���$�$�V�$�$�7�	��$������'���!�!�&�+4�+�()�	"�	+rc	���[OQ2oUOQ2oUOQUQ5oV#,oUOUQ[-oUOVTU[
]]2Q5P!)z�
            import unittest

            class FailingTest(unittest.TestCase):
                def test_failing(self):
                    self.fail("bug")
        r��failingr�r#�r�r�r�r�r�r^�EXITCODE_BAD_TESTrr)r r�r��test_failingr�r�s&     r�test_failing_test�ArgsTestCase.test_failing_testsx����� �
���"�"�4�(���'�'�	��'�=���'������C�1B�C���!�!�&��(1�!�Q��	"�	9rc��-oQ	FD3o[OQU*2oUOV#2V$J5	[UO	22oUO
QQ,UN3oUO
VT]Q5UO
Q,UN3oUO
VTUQ*]Q5UO
UQ[-oUO
VTU]Q5P!)
�audior�a
                        from test import support; support.requires(%r)
                        import unittest
                        class PassingTest(unittest.TestCase):
                            def test_pass(self):
                                pass
                    r�r�r�z-uaudio)r�rr#)r�r�)r�r�r�r��valuesr^r�EXITCODE_NO_TESTS_RAN)r r��resourcer��
test_namesr�s&     r�test_resources�ArgsTestCase.test_resources's�����,�H��?�?�$�#�
$#�$�D�#�.�.�x�>�E�O�-��E�L�L�N�+�
�����e�9�j�9���!�!�&�A�!�>����	�7�J�7���!�!�&�27�	�2B�()�	"�	+�
����L�6K�L���!�!�&�2<�()�	"�	+rc��[OQ2oUOQU2oUOQU[Q5oUOU2oUO
QU2o[UO]22oUOQQU0U[Q5oUOU2oUOVt2UO
QU2o[UO]22oUOV�2UOU[Q5oUOU2oUOUO2U2Qo	[[OU	Q5o
UOQU[U
Q5oUOU2oUOVI2UOUQ	2[[OQ
Q5o
UOQU[U
Q5oUOU2oUOUQ
2UOUQ2[[OPQ5o
UOQU[U
Q5oUOU2oUOUO2U2P!)za
            import random
            print("TESTRANDOM: %s" % random.randint(1, 1000))
        �randomrn�r#zTESTRANDOM: ([0-9]+)�--randseed=rpr;�r#rzzTESTRANDOM: 520�XYZzTESTRANDOM: 22)r�r�r�r^r�rr�ryr�r5r<rXr�r�r r�)r r�rgr�rYr��test_random�	randseed2�test_random2�	timestamprzs&          rr��ArgsTestCase.test_randomFs=����� �
������$�/������d�5J��K���)�)�&�1���!�!�"9�6�B���%�+�+�a�.�)�������H�:�&>��)>� �@���*�*�6�2�	�����-��!�!�"9�6�B���5�;�;�q�>�*������3�����/D��E���)�)�&�1������(�(�*�H�5�!�	��2�:�:��;������d�5J�$'� �)���)�)�&�1������-����� 1�2��2�:�:��7������d�5J�$'� �)���)�)�&�1������5�)����� 0�1��2�:�:��4������d�5J�$'� �)���)�)�&�1������(�(�*�H�5rc��[]2Tt,tFDpO2MJ	oo[OoUO	[O
U2[
UQ29^tt^2oPo[U]2FD@vqQV[U2U1*oU%cUQU**
o[VtQ5SoJB	PPP2UOQU2o[U2o	UOV�U	Q5[
UQ29^tt^2o[U]2FD'vq[QU8Q[U28Q	U80UQ5J)	PPP2UOQU2oUOV�U	Q5[
UQ29^tt^2oSFDo[VdQ5J	PPP2UOQU2oUOV�U	Q5[
UQ29^tt^2oSFDo[Q
U*UQ5J	PPP2UOQU2oUOV�U	Q5P!ttoh)%fhCKz9h)%fhCK	9h)%fhK�9h)%fhKw9h)r�r�z00:00:%02i [%s/%s] %sz -- %s took 0 secr�r�r��[r�z] zLib/test/%s.py)rOr�rr�r�r�r��	enumerater�r�r^r)
r rTr�r�r��previousr�r
r�rs
&         rr��ArgsTestCase.test_fromfile{s��16�q��:���!�!�#���:�
�#�#�����	�(�(�(�3��(�C�
 �
 �B��H�(���2���/� ��U��T�:�;����/�(�:�:�D��d�$���
 3�!�����h�7���E�
���!�!�&�u�!�=��(�C�
 �
 �B�(���2����e�S��Z��>�R�H� 3�!�����h�7���!�!�&�u�!�=��(�C�
 �
 �B����d�$��!�����h�7���!�!�&�u�!�=��(�C�
 �
 �B����&��-�B�7��!�����h�7���!�!�&�u�!�=��[;�!�
 �
 ��!�
 �
 ��!�
 ��!�
 �sS�H.�.1H3� "H3�9I�I� I.�3I	�<I	�I	�I	�I+	�$I+	�.I>	�7I>	c��[oUOQUQ5oUOU[Q5oUO	V2UP	]Q5P!)�sigintr�r��r�r�r)�TEST_INTERRUPTEDr�r^�EXITCODE_INTERRUPTEDr�r r�rgr�s&   r�test_interrupted�ArgsTestCase.test_interrupted�sK��������t��4������/C��D���!�!�&��.2�!�	"�	=rc�"�[]2Tt,tFDpO2MJ	ooUOQ,UN3oUOV2[	U2Q5QUO
8Q[	U28Q0oUO
V42P!ttoh)r�rer�z10 slowest tests:
(?:- z: .*
){�})rOr�r^rr�r�r�)r rTr�r�r�s&    rrg�ArgsTestCase.test_slowest�sv��16�q��:���!�!�#���:�����4�e�4���!�!�&�s�5�z�!�B��'�'��U��5��	
����&��
;s�Bc�^�[oUOQUQ5oQFDwoUOUQ59^tt^2U%cQQU1oLQU1oUOUQ[-oUOVRUP	]Q5QoUO
VV2PPP2Jy	P!)%fhJ�9h)	r�r�)�multiprocessingreryr#r�z10 slowest tests:
r4)r�r�r)r^r�rr�)r r�rgr�rr�r�s&      r�test_slowest_interrupted�%ArgsTestCase.test_slowest_interrupted�s���������t��4��,�O����o��>�>�"�'���5�D�'��.�D�����M�8L�M���)�)�&�26�D�01�*�3�/������.�?�>� -�>�>�>�s�B	�A	B	�B,
�$B,
c��UOQ2oUOQU2oUOV!,]Q5QoUOV#2P!)�coverager�r�zSlines +cov% +module +\(path\)\n(?: *[0-9]+ *[0-9]{1,2}\.[0-9]% *[^ ]+ +\([^)]+\)+)+)r�r^rr�)r rgr�r�s&   r�
test_coverage�ArgsTestCase.test_coverage�sK�����
�+������d�3���!�!�&�&��!�:�I������&rc�v�UOQ2oUOQUQQ5oUOUQ2P!)r=r;�key)rzPress any key to continue)r�r^r�)r rgr�s&  rr?�ArgsTestCase.test_wait�s5������'������$�e��<������ ;�<rc
�h�[OQ2oUOQUQ5oUOQU[Q5oUOV2,]*U[
]]2P	Q5UOQQU]Q5oUOV2,]*[UQP	Q5[
]]2P	Q	5P!)
aL
            import builtins
            import unittest

            class ForeverTester(unittest.TestCase):
                def test_run(self):
                    # Store the state in the builtins module, because the test
                    # module is reload at each run
                    if 'RUN' in builtins.__dict__:
                        builtins.__dict__['RUN'] += 1
                        if builtins.__dict__['RUN'] >= 3:
                            self.fail("fail at the 3rd runs")
                    else:
                        builtins.__dict__['RUN'] = 1
        rr�rr�)r�rrrQ�test_run�r�r�)rRrr)r�r�r�r^r�rrr�r�s&   rr�ArgsTestCase.test_forever�s������ �
�����	���5������T�<M��N���!�!�&�&��(�4�(1�!�Q��*.�	"�	0�
����Y��q��I���!�!�&�&��(�(-�d�4>�6:�)<�)2�!�Q��*.�	"�	0r�run_workersc�D�UOQUQ5oQoUO[OU2QQ,oU%cUO	Q2UO	U2UO
UQ[Q[O-oUOVt,U]Q5Q	oUOVx2U8Q
U8Q0o	UOV�2[U29^tt^2o
U
O2oUOV�2PPP2P!)%fhP!9h)r�r�r�r��3:3:r�r#r�r�z6beginning 6 repetitions. .*\n123:456\n[.0-9X]{3} 111\nz leaked [1, 1, 1] z, sum=3
)r�r�rr�r�r^r�rrrr�rr��read)r r��whatr�rgr�r1r�r
�line2r��reflogs&&&$        r�
check_leak�ArgsTestCase.check_leaks�������4��8�������	�(�(�(�3��v�&����J�J�u���
�
�4������:�):�:�'1�'8�'8�:��	
�!�!�&�&��Q�!�G�H������%�59�4�@���
�
�e�$�
�(�^�^�r��W�W�Y�F��M�M�%�(��^�^�^�s�""D�D	�D	r�c�":�U]6�cPgQRZ-!�r�r��r�)r�r�s"�rr��*ArgsTestCase.check_huntrleaks.__annotate__s���E�E�t�Erc�\�[OQ2oUOUQUQ5P!)z�
            import unittest

            GLOBAL_LIST = []

            class RefLeakTest(unittest.TestCase):
                def test_leak(self):
                    GLOBAL_LIST.append(object())
        �
references�r��r�r�r�)r r�r�s&$ r�check_huntrleaks�ArgsTestCase.check_huntrleakss+����� �
��	
����l���Drc�,�UOP
Q5P!�Fr��r�r s&rr��ArgsTestCase.test_huntrleaks(s�����%��0rc�,�UOP	Q5P!�Tr�r�r s&r�test_huntrleaks_mp�ArgsTestCase.test_huntrleaks_mp+s�����$��/rc��[OQ2oUOQUQ5oQoUO[O
U2QQQU,oUOUQ[Q[O-oUOQ	U0U2UOQ	UQ
0U2UOQU2UOQUQ
0U2P!)ay
            import unittest

            GLOBAL_LIST = []

            class RefLeakTest(unittest.TestCase):
                def test1(self):
                    pass

                def test2(self):
                    pass

                def test3(self):
                    GLOBAL_LIST.append(object())

                def test4(self):
                    pass
        r�r�r�r�r�rlr#r�zBisect z
: exit code 0zBisection completed inz
Tests (1):
* z.RefLeakTest.test3
)r�r�r�r�rr�r^r�rrr)r r�rgr�r1r�s&     r�test_huntrleaks_bisect�#ArgsTestCase.test_huntrleaks_bisect.s������ �
��&����4��8�������	�(�(�(�3��v�z�4�8������:�):�:�'1�'8�'8�:��	
�
�
���v�&��/��
�
���v�]�3�V�<�	
�
�
�.��7��
�
�
���*�
,��	rc�X�[OQ2oUOUQ2P!)a
            import os
            import unittest

            class FDLeakTest(unittest.TestCase):
                def test_leak(self):
                    fd = os.open(__file__, os.O_RDONLY)
                    # bug: never close the file descriptor
        zfile descriptorsr�)r r�s& r�test_huntrleaks_fd_leak�$ArgsTestCase.test_huntrleaks_fd_leakWs(����� �
��	
����0�1rc���[]2Tt,tFDpO2MJ	ooUOQ,UN3oUOUO	2O2U2P!ttoh)r�r>)rOr�r^r5�rstripr?)r r�r�r�s&   r�test_list_tests�ArgsTestCase.test_list_testses[��-2�1�X�6�X��!�!�#�X��6�����7��7���������3�3�5��	 ��7s�A/c�\�[OQ2oUOUQ5oQU*QU*,oUOQU2oUO	UO2U2QU*,oUOQQQU2oUO	UO2U2P!)z�
            import unittest

            class Tests(unittest.TestCase):
                def test_method1(self):
                    pass
                def test_method2(self):
                    pass
        r�z%s.Tests.test_method1z%s.Tests.test_method2z--list-casesr��test_method1)r�r�r�r^r5r?)r r��testname�all_methodsr�s&    r�test_list_cases�ArgsTestCase.test_list_casesls������ �
���#�#��#�.��/��9�.��9�;�������9������*�*�,�k�:�/��9�:������ $�n� (�*��	
����*�*�,�k�:rc��QoUOQUQ5oU,oUOQ,UN3Q[-oUOVCUP	]Q5P!)z,import faulthandler; faulthandler._sigsegv()�crash�r�r�ryr#�r�r�r)r�r^r�r)r r��
crash_testr�r�s&    r�test_crashed�ArgsTestCase.test_crashed�sZ��>���%�%�7��%�>�
��������J��J�8I�J���!�!�&�
�+/�q�	"�	:rc��[OQ[OQ5oUOU2Tt,tFDp3O	]2MJ	to!ttoh)z^(test[^ ]+).*ok$��flags)r�r�r�r�r�)r r�r�r�s&&  r�
parse_methods�ArgsTestCase.parse_methods�s@���
�
�.�b�l�l�C��,1�N�N�6�,B�C�,B�5���A��,B�C�C��Cs�Ac	���[OQ2oUOUQ5o[OoUO[OU2QQU*,o[UQ29^tt^2oSFDo[VeQ5J	PPP2UOQQV22oUOU2oQQ	,oUOV�2P!)%fhKK9h)
�V
            import unittest

            class Tests(unittest.TestCase):
                def test_method1(self):
                    pass
                def test_method2(self):
                    pass
                def test_method3(self):
                    pass
                def test_method4(self):
                    pass
        r�r
�%s.Tests.test_method3r�r�rJr��test_method2�test_method4)r�r�r�rr�r�r�r�r�r^rr5)	r r�rr��subsetr�r�r��methodss	&        r�test_ignorefile�ArgsTestCase.test_ignorefile�s������ �
���#�#��#�.���#�#�����	�(�(�(�3�
�#�h�.�	0��
�(�C�
 �
 �B����d�$��!�����n�h�I���$�$�V�,�� �.�1������)�!�
 �s�9C�C#	�C#	c	�<�[OQ2o,Q	NoUOUQ5oUOQU2oUO	U2oUOVR2[OoUO[OU2QQU*,o[UQ29^tt^2oSFDo	[V�Q5J	PPP2UOQQVc2oUO	U2oQQ,oUOVW2P!)%fhKK9h)
rr
�test_method3r�rJrr�r�r�)r
rr%r)r�r�r�r^rr5rr�r�r�r�r�)
r r�rrr�r!r�r r�r�s
&         r�test_matchfile�ArgsTestCase.test_matchfile�s����� �
��7���#�#��#�.������h�/���$�$�V�,������.��#�#�����	�(�(�(�3�
�#�h�.�	0��
�(�C�
 �
 �B����d�$��!�����m�X�H���$�$�V�,�� �.�1������)�!�
 �s�1D�D	�D	c�h�[OQ2oUOUQ5oUOU2oUO	V2,U]Q5UOQU[
Q5oUO	V2,UP	]Q5UOQU2oUO	V2,U[
UPP	Q5]Q5P!)	z�
            import unittest

            class Tests(unittest.TestCase):
                def test_env_changed(self):
                    open("env_changed", "w").close()
        r�)r�r�--fail-env-changedr��r�rErrQr�)r�rRr)r�r�r�r^r�EXITCODE_ENV_CHANGEDr��r r�rr�s&   r�test_env_changed�ArgsTestCase.test_env_changed�s������ �
���#�#��#�.������)���!�!�&�*�.6�a�	"�	A���� 4�h�)=� �?���!�!�&�*�(�37�q�	"�	B����	�8�4���!�!�&�*�.6�(-�h�48�6:�)<�)*�	"�	+rc
���[OQ2oUOUQ5oUOQU[Q5oUOV2,[
UQP
Q5[]]2Q5P!)a
            import unittest

            class Tests(unittest.TestCase):
                def test_succeed(self):
                    return

                def test_fail_always(self):
                    # test that always fails
                    self.fail("bug")
        r�rQr��test_fail_always)r��rRr)r�r�r�r^r�rr�rr,s&   r�test_rerun_fail�ArgsTestCase.test_rerun_fail�sq�����
 �

���#�#��#�.�����	�8�>O��P���!�!�&�*�(-�h�.@�6;�)=�)2�!�Q��		"�	9rc
��[OOQ2oUO[O
U2UO
[OOU22[OQU8Q02oUOUQ5oUOQU]Q5oUOVC,[UQP	Q5[]]2Q5[O
U2UOQQ	U[Q5oUOVC,[UQP	Q5[]]2Q5[O
U2P!)
�regrtest_marker_filenamezW
            import os.path
            import unittest

            marker_filename = aD

            class Tests(unittest.TestCase):
                def test_succeed(self):
                    return

                def test_fail_once(self):
                    if not os.path.exists(marker_filename):
                        open(marker_filename, "w").close()
                        self.fail("bug")
        r�rQr��test_fail_oncer�r1z--fail-rerun)r�r�r�r�rr�ru�existsr�r�r�r^rr�r�EXITCODE_RERUN_FAIL)r �marker_filenamer�rr�s&    r�test_rerun_success�ArgsTestCase.test_rerun_successs6���'�'�/�/�*D�E�����	�(�(�/�:����������8�9����$� /�1�
2	�	 �
���#�#��#�.�����	�8�a��@���!�!�&�*�(-�h�4D�6:�)<�)2�!�Q��		"�	9�
	����)����	�>�8�)<� �>���!�!�&�*�(-�h�4D�6:�)<�)2�!�Q��		"�	9�
	����)rc���[OQ2oUOUQ5oUOQU[Q5oUOV2U,[
UQP
Q5]Q5P!)a
            import unittest

            class ExampleTests(unittest.TestCase):
                @classmethod
                def setUpClass(self):
                    raise RuntimeError('Fail')

                def test_success(self):
                    return
        r�rQr��ExampleTestsr��r�rRr�r�r�r�r^r�rr�r,s&   r�#test_rerun_setup_class_hook_failure�0ArgsTestCase.test_rerun_setup_class_hook_failure?�n�����
 �

���#�#��#�.�����	�8�>O��P���!�!�&�*2��(-�h�4B�6;�)=�)*�	"�	+rc���[OQ2oUOUQ5oUOQU[Q5oUOV2U,[
UQP
Q5]Q5P!)a
            import unittest

            class ExampleTests(unittest.TestCase):
                @classmethod
                def tearDownClass(self):
                    raise RuntimeError('Fail')

                def test_success(self):
                    return
        r�rQr�r=r�r>r?r,s&   r�&test_rerun_teardown_class_hook_failure�3ArgsTestCase.test_rerun_teardown_class_hook_failureVrBrc���[OQ2oUOUQ5oUOQU[Q5oUOV2U,[
UPP
Q5]Q5P!)z�
            import unittest

            def setUpModule():
                raise RuntimeError('Fail')

            class ExampleTests(unittest.TestCase):
                def test_success(self):
                    return
        r�rQr�r�r>r?r,s&   r�$test_rerun_setup_module_hook_failure�1ArgsTestCase.test_rerun_setup_module_hook_failuremsn�����	 �	
���#�#��#�.�����	�8�>O��P���!�!�&�*2��(-�h�48�6;�)=�)*�	"�	+rc���[OQ2oUOUQ5oUOQU[Q5oUOV2,U,[
UPP
Q5]Q5P!)z�
            import unittest

            def tearDownModule():
                raise RuntimeError('Fail')

            class ExampleTests(unittest.TestCase):
                def test_success(self):
                    return
        r�rQr�r�r>r?r,s&   r�'test_rerun_teardown_module_hook_failure�4ArgsTestCase.test_rerun_teardown_module_hook_failure�sp�����	 �	
���#�#��#�.�����	�8�>O��P���!�!�&�*�*2��(-�h�48�6;�)=�)*�	"�	+rc���[OQ2oUOUQ5oUOQU[Q5oUOV2U,[
UQP
Q5]Q5P!)z�
            import unittest

            class ExampleTests(unittest.TestCase):
                def setUp(self):
                    raise RuntimeError('Fail')

                def test_success(self):
                    return
        r�rQr�r�r�r>r?r,s&   r�test_rerun_setup_hook_failure�*ArgsTestCase.test_rerun_setup_hook_failure��n�����	 �	
���#�#��#�.�����	�8�>O��P���!�!�&�*2��(-�h�4B�6;�)=�)*�	"�	+rc���[OQ2oUOUQ5oUOQU[Q5oUOV2U,[
UQP
Q5]Q5P!)z�
            import unittest

            class ExampleTests(unittest.TestCase):
                def tearDown(self):
                    raise RuntimeError('Fail')

                def test_success(self):
                    return
        r�rQr�r�r�r>r?r,s&   r� test_rerun_teardown_hook_failure�-ArgsTestCase.test_rerun_teardown_hook_failure�rOrc
���[OQ2oUOUQ5oUOQU[Q5oUOV2[
UQP
Q5]Q5P!)a

            import unittest

            class ExampleTests(unittest.IsolatedAsyncioTestCase):
                async def asyncSetUp(self):
                    raise RuntimeError('Fail')

                async def test_success(self):
                    return
        r�rQr�r�r�r1r?r,s&   r�#test_rerun_async_setup_hook_failure�0ArgsTestCase.test_rerun_async_setup_hook_failure�si�����	 �	
���#�#��#�.�����	�8�>O��P���!�!�&�(-�h�4B�6;�)=�)*�		"�	+rc���[OQ2oUOUQ5oUOQU[Q5oUOV2U,[
UQP
Q5]Q5P!)a
            import unittest

            class ExampleTests(unittest.IsolatedAsyncioTestCase):
                async def asyncTearDown(self):
                    raise RuntimeError('Fail')

                async def test_success(self):
                    return
        r�rQr�r�r�r>r?r,s&   r�&test_rerun_async_teardown_hook_failure�3ArgsTestCase.test_rerun_async_teardown_hook_failure�rOrc��[OQ2oUOUQ5oUOUQQ[Q5oUOV2,U]P	Q5P!���
            import unittest

            class Tests(unittest.TestCase):
                def test_bug(self):
                    pass
        r�r��
nosuchtestr��r�rr��r�r�r�r^r�rr,s&   r�test_no_tests_ran�ArgsTestCase.test_no_tests_ran�sf����� �
���#�#��#�.������$��)>� �@���!�!�&�*�/7�()�D�	"�	:rc	��[OQ2oUOUQ5oUOU2oUO	V2,[]]Q5Q5P!)z�
            import unittest

            class Tests(unittest.TestCase):
                def test_skipped(self):
                    self.skipTest("because")
        r�)r�r�)r�r�r�r^rrr,s&   r�test_no_tests_ran_skip�#ArgsTestCase.test_no_tests_ran_skipsZ����� �
���#�#��#�.������)���!�!�&�*�(1�!�Q�(?�	"�	Arc���[OQ2oUOUQ5oUOUQ5oUOV#QQ[Q5oUOVBU,V#,]P	Q5P!rZr^)r r�r�	testname2r�s&    r�,test_no_tests_ran_multiple_tests_nonexistent�9ArgsTestCase.test_no_tests_ran_multiple_tests_nonexistents����� �
���#�#��#�.���$�$�$�$�/�	�����T�<�)>� �@���!�!�&�Y�*?�08�/D�()�D�	"�	:rc
��[OQ2oUOUQ5o[OQ2oUOUQ5oUOV$QQQQ]Q5oUO	VRU,U,]P	Q5P!)r[r�z�
            import unittest

            class Tests(unittest.TestCase):
                def test_other_bug(self):
                    pass
        r�r\�test_other_bugr�r]r�)r r�r�
other_coderer�s&     r�)test_no_test_ran_some_test_exist_some_not�6ArgsTestCase.test_no_test_ran_some_test_exist_some_nots������ �
���#�#��#�.���_�_�&�
�
��$�$�*�$�5�	�����T�<� $�&6�� �D���!�!�&�Y�*?�08�z�()�D�	"�	:rc���[OQ2[OQ2oUO	UQ5oUOQU[Q5oUOV2,U,P	]Q5P!)�	_testcapia�
            import _testcapi
            import gc
            import unittest

            @_testcapi.with_tp_del
            class Garbage:
                def __tp_del__(self):
                    pass

            class Tests(unittest.TestCase):
                def test_garbage(self):
                    # create an uncollectable object
                    obj = Garbage()
                    obj.ref_cycle = obj
                    obj = None
        r�r)r�r*)r�
import_moduler�r�r�r^r+rr,s&   r�test_uncollectable�ArgsTestCase.test_uncollectable7sw��	�#�#�K�0���� �
��"�#�#��#�.����� 4�h�)=� �?���!�!�&�*�/7�j�37�()�	"�	+rc�,�[OQ2oUOUQ5oUOQQU[Q5oUOV2,U]Q5UO
U[OQU*[O22P!)aa
            import time
            import unittest
            try:
                import faulthandler
            except ImportError:
                faulthandler = None

            class Tests(unittest.TestCase):
                # test hangs and so should be stopped by the timeout
                def test_sleep(self):
                    # we want to test regrtest multiprocessing timeout,
                    # not faulthandler timeout
                    if faulthandler is not None:
                        faulthandler.cancel_dump_traceback_later()

                    time.sleep(60 * 5)
        r�ryz
--timeout=1.0r�r�z%s timed out)
r�r�r�r^r�rr�r�r�r�r,s&   r�test_multiprocessing_timeout�)ArgsTestCase.test_multiprocessing_timeoutVs������ �
��$�#�#��#�.��������):� �<���!�!�&�*�)1��	"�	<��������N�X�$=�r�|�|�L�	Nrc��[OQ2oUOUQ5oUOQQU[Q5oUOV2,U,P	]Q5UO
QU2UO
QU2P!)a�
            import unittest
            import weakref
            from test.support import captured_stderr

            class MyObject:
                pass

            def weakref_callback(obj):
                raise Exception("weakref callback bug")

            class Tests(unittest.TestCase):
                def test_unraisable_exc(self):
                    obj = MyObject()
                    ref = weakref.ref(obj, weakref_callback)
                    with captured_stderr() as stderr:
                        # call weakref_callback() which logs
                        # an unraisable exception
                        obj = None
                    self.assertEqual(stderr.getvalue(), '')
        r�r)rJr�r*zWarning -- Unraisable exceptionzException: weakref callback bug�r�r�r�r^r+rrr,s&   r�test_unraisable_exc� ArgsTestCase.test_unraisable_excrs������ �
��*�#�#��#�.����� 4�d�H�)=� �?���!�!�&�*�/7�j�37�()�	"�	+�	
�
�
�7��@��
�
�7��@rc��[OQ2oUOUQ5oUOQQU[Q5oUOV2,U,P	]Q5UO
QU2UO
QU2P!)a[
            import threading
            import unittest
            from test.support import captured_stderr

            class MyObject:
                pass

            def func_bug():
                raise Exception("bug in thread")

            class Tests(unittest.TestCase):
                def test_threading_excepthook(self):
                    with captured_stderr() as stderr:
                        thread = threading.Thread(target=func_bug)
                        thread.start()
                        thread.join()
                    self.assertEqual(stderr.getvalue(), '')
        r�r)rJr�r*z$Warning -- Uncaught thread exceptionzException: bug in threadrvr,s&   r�test_threading_excepthook�&ArgsTestCase.test_threading_excepthook�s������ �
��&�#�#��#�.����� 4�d�H�)=� �?���!�!�&�*�/7�j�37�()�	"�	+�	
�
�
�<�f�E��
�
�0�&�9rc�d�[OQ2oUOUQ5oQoQFDioUOUQ59^tt^2QVB,oUOUQ[
-oUO
Vb,U,P	]Q5UOVc2PPP2Jk	P!)%fhJ�9h)a%
            import sys
            import unittest
            from test import support

            class MyObject:
                pass

            def func_bug():
                raise Exception("bug in thread")

            class Tests(unittest.TestCase):
                def test_print_warning(self):
                    print("msg1: stdout")
                    support.print_warning("msg2: print_warning")
                    # Fail with ENV CHANGED to see print_warning() log
                    support.environment_altered = True
        r�zFtest_print_warning.*msg1: stdout\nWarning -- msg2: print_warning\nok\n)�optionr)r#r*)rJrW)r�r�r�r)r^r+rr�)r r�rr�r}r1r�s&      r�test_print_warning�ArgsTestCase.test_print_warning�s������ �
��$�#�#��#�.����#�F����V��,�,�+�V�>������L�7K�L���)�)�&�*�7?�j�;?�01�*�3�� � ��/�-�,�#�,�,�,�s�AB	�B/
�'B/
c��[OO[O2oUOU[OQ02UO
2%cUOQ2P!P!)z not setzModified guard)r�r �getr�UNICODE_GUARD_ENVrr�isasciir�)r �guards& r�test_unicode_guard_env�#ArgsTestCase.test_unicode_guard_env�sW���
�
���u�6�6�7�����U�u�'>�'>�&?�x�$H�I��=�=�?�?�
�M�M�*�+�rc���[OOUOQ2o[OU2[OOUOQ2o[UQ2O
2V,oQQQUO*Q,oUOU2SFD2oUO[OOU2U2J4	P!)�test_python_123�test_python_456�wbr�rgz--tempdir=%sz	--cleanup)
r�r�r�r��mkdirr��closer2rur7)r r�r�r�r�r�s&     r�test_cleanup�ArgsTestCase.test_cleanup�s����'�'�,�,�t���0A�B��
������7�7�<�<����1B�C���X�t��"�"�$��#����!�D�O�O�3�� ��	
���� ��D����R�W�W�^�^�D�1�4�8�rz.checking temp files is not implemented on WASIc
�H�[OQ2o[]2Tt,tFDp OUQ5MJ	ooUO,QNUN3Q[
-oUO
VCUP	P	[U2Q5SFDoUOQUQ0U2J	P!ttoh)am
            import os.path
            import tempfile
            import unittest

            class FileTests(unittest.TestCase):
                def test_leak_tmp_file(self):
                    filename = os.path.join(tempfile.gettempdir(), 'mytmpfile')
                    with open(filename, "wb") as fp:
                        fp.write(b'content')
        r�r#)r�rEr�rzWarning -- z& leaked temporary files (1): mytmpfile)r)rJry)	r�r�rOr�r^r+rr�r)r r��_�	testnamesr�rs&     r�test_leak_tmp_file�ArgsTestCase.test_leak_tmp_file�s������
 �

��;@��(�C�(�Q�%�%�4�%�0�(�	�C����?�I�?�)=�?���!�!�&�.7�37�+/�(+�I��		"�	8�
"�H��M�M�K��z�21�2� �
"�"��Ds�Bc���[OQ6Xc[O2oLM[OO
oUe0[OO
oUeUOQ2[Q[]�Q222oQU1*oQoV4OQ2*
oUOU2UOUQ02UOUQ2o[OQ	U8Q
02oUOUQ5oUO!QQ
QU2oUO#V�,P	]Q5UO%V�P
Q5P![cK�h9h)rLz#cannot get regrtest worker encodingc3�0�SF �Dpw�	J		P!3hrr�)r��chs& rr��8ArgsTestCase.test_worker_decode_error.<locals>.<genexpr>s��o���o���o�s��snonascii:%s
z*Assertion failed: tstate_is_alive(tstate)
z	utf-16-lez can decode non-ASCII bytesrzz�
            import sys
            import unittest

            class Tests(unittest.TestCase):
                def test_pass(self):
                    pass

            # bytes which cannot be decoded from UTF-8
            corrupted_output = ze
            sys.stdout.buffer.write(corrupted_output)
            sys.stdout.buffer.flush()
        r�r)rJr�)r�r)r�)r+rS�locale�getencodingrr��
__stdout__r��bytesrO�encode�decode�UnicodeDecodeErrorr�r�r�r^rr�)	r r��nonascii�corrupted_output�assertion_failed�
expected_liner�rr�s	&        r�test_worker_decode_error�%ArgsTestCase.test_worker_decode_errorsb���<�<�7�"��)�)�+�H��z�z�*�*�H����>�>�2�2���#��M�M�"G�H��6�e�C��o�6�6��+�x�k�9��I���3�3�K�@�@��	D��#�#�H�-�
�M�M�X�J�&A�B�C�(�/�/��:L�M�
����	% �!1�3�4	� �
���#�#��#�.����� 4�d�E�8�L���!�!�&�*�+/�()�	"�	+�	
����U��;��5"�	��	�s�9E�	E)�%E)�(E)c���[OQ2oUOUQ5oUOQQQU[Q5oUOV2,U,P	[
]]]2Q5P!)aX
            import doctest
            import sys
            from test import support

            def my_function():
                """
                Pass:

                >>> 1 + 1
                2

                Failure:

                >>> 2 + 3
                23
                >>> 1 + 1
                11

                Skipped test (ignored):

                >>> id(1.0)  # doctest: +SKIP
                7948648
                """

            def load_tests(loader, tests, pattern):
                tests.addTest(doctest.DocTestSuite())
                return tests
        r�r)rJr�r�rr�r,s&   r�test_doctest�ArgsTestCase.test_doctestAst����� �
��:�#�#��#�.����� 4�d�E�8�):� �<���!�!�&�*�*2��+/�(1�!�Q��(:�	"�	<rc�":�U]6�cPgQRZ-!r�r�)r�r�s"�rr��,ArgsTestCase._check_random_seed.__annotate__hs��� ;� ;�d� ;rc	�r�[OQ2o[]]2Tt,tFDoUOQU0UQ5MJ	ooQoQQU0,oU%cUO	Q[U202UO
U2UOUo[OU2[]
2Tt,tFDo[O]Q2MJ	o	oQU	0o
Q	o[OV�[OQ
5oUOV�,[U2*2P!ttohttoh)a 
            import random
            import unittest

            class RandomSeedTest(unittest.TestCase):
                def test_randint(self):
                    numbers = [random.randint(0, 1000) for _ in range(10)]
                    print(f"Random numbers: {numbers}")
        r�riJ�3ror�r�rzRandom numbers: z^Random numbers: .*$r)r�r�rOr�r�r�r-r^r��seed�randintr��findallr�r5)
r r�r�r�r�rwr1r�r��numbersr�r��matchess
&&           r�_check_random_seed�ArgsTestCase._check_random_seedhs����� �
�� ��3�-�)�'�Q��!�!��Q�C�'8�t�!�D�'�	�)�"����K�=�9�:����J�J��C��J�<�(�)��
�
�5������%�����K� �5:�"�I�>�I�q�6�>�>�!�T�*�I��>�%�g�Y�/��'���*�*�U�"�,�,�?������*�s�5�z�"9�:��))��?s�!D/�:"D4c�,�UOP
Q5P!r��r�r s&r�test_random_seed�ArgsTestCase.test_random_seed�s�����E��2rc�,�UOP	Q5P!r�r�r s&r�test_random_seed_workers�%ArgsTestCase.test_random_seed_workers�s�����D��1rc�L�[OQ2o[]2Tt,tFDp OUQ5MJ	oo[O
QQ,o[OU2oUOQUQ,UN3oUOVS[U2P	Q5P!ttoh)z�
            import sys
            import unittest

            class WorkerTests(unittest.TestCase):
                def test_dev_mode(self):
                    self.assertTrue(sys.flags.dev_mode)
        r�rTrUrRz-j0�rr�)r�r�rOr�r+r.�shlexr�r^rr�)r r�r�r�rVr�s&     r�test_python_command� ArgsTestCase.test_python_command�s������ �
��7<�A�h�?�h��!�!�t�!�,�h��?��n�n�d�E�2�
��Z�Z�
�+�
����
�J��F��F���!�!�&�(+�E�
�T�	"�	C��@s�B!c�*�[OO[OO[2QQ2oQ
Tt,tFDoQU0MJ
	ooQQQQQQU*,UNoUOU2oUO
VS]Q	5P!ttoh)�regrtestdata�import_from_testsr�r:r;r<r�rgrKr�)�a�b�c)r�r�r�r�r�r2r)r r�r�r�rr�s&     r�test_unload_tests�ArgsTestCase.test_unload_tests�s����'�'�,�,�r�w�w���x�8�-�/B�D��5D�E�_�T�>�$��(�_��E��t�U�D�&�.�7�2J�S�U�S������&���!�!�&�q�!�9��Fs�Bc�l�[OQ2oUOUQ5o[OQQUQUO
0U,o[OU[O[OP	[O2Q5oUOUO]U2P!)am
            import sys
            import unittest
            from test import support
            try:
                from _testcapi import config_get
            except ImportError:
                config_get = None

            # WASI/WASM buildbots don't use -E option
            use_environment = (support.is_emscripten or support.is_wasi)

            class WorkerTests(unittest.TestCase):
                @unittest.skipIf(config_get is None, 'need config_get()')
                def test_config(self):
                    # -u option
                    self.assertEqual(config_get('buffered_stdio'), 0)
                    # -W error option
                    self.assertEqual(config_get('warnoptions'),
                                     ['error', 'error::BytesWarning'])
                    # -bb option
                    self.assertEqual(config_get('bytes_warning'), 2)
                    # -E option
                    self.assertEqual(config_get('use_environment'), use_environment)

                def test_python_opts(self):
                    # -u option
                    self.assertTrue(sys.__stdout__.write_through)
                    self.assertTrue(sys.__stderr__.write_through)

                    # -W error option
                    self.assertEqual(sys.warnoptions,
                                     ['error', 'error::BytesWarning'])

                    # -bb option
                    self.assertEqual(sys.flags.bytes_warning, 2)

                    # -E option
                    self.assertEqual(not sys.flags.ignore_environment,
                                     use_environment)
        r�r�rgz
--testdir=)rr�rrz)r�r�r�r+r.r�rrr!rr�make_clean_envr5r")r r}r�rr1r%s&&    r�check_add_python_opts�"ArgsTestCase.check_add_python_opts�s������( �(
��R�#�#��#�.���~�~��V�V��D�O�O�,�-�����~�~�c�%/�_�_�%/�%6�%6�#'�")�"8�"8�":�	<��
	
������!�T�2rc	��QFD7oUOUQ59^tt^2UOU2PPP2J9	P!)%fhJN9h)rJr')rJra)r)r�)r r(s& r�test_add_python_opts�!ArgsTestCase.test_add_python_opts�s=��-�C����#��&�&��*�*�3�/�'�&�.�&�&�&�s�A	�A
�A
z(raising SIGSEGV on Android is unreliablec��[OQ2[OQ2oUO	UQ5o[[O2oQo[OV42UOQU[UQ5oUOVRU,]P	Q5[O%f1[[O 2'oUO#QUQ0U2UO%UQ	P	P
Q
5P!)r*ak
            import faulthandler
            import unittest
            from test import support

            class CrashTests(unittest.TestCase):
                def test_crash(self):
                    print("just before crash!", flush=True)

                    with support.SuppressCrashReport():
                        faulthandler._sigsegv(True)
        r�z
handle_segv=0r�r�)r�rr�z
Exit code z
 (SIGSEGV)zjust before crash!)r�r�)rror�r�r�r�r�r r�set_sanitizer_env_varr^r�r�
MS_WINDOWSry�signal�SIGSEGVrr�)r r�rrzr}r�r#s&      r�test_worker_output_on_failure�*ArgsTestCase.test_worker_output_on_failure�s���	�#�#�N�3���� �
���#�#��#�.���2�:�:��� ���%�%�c�2�����x�):�$'� �)��	
�!�!�&�*2��()�D�	"�	:��!�!�!��F�N�N�+�+�H��M�M�J�x�j�
�;�V�D����� 4�4�u��Mrc�l�[OQ2oUOUQ5oUOQU2oUO	V2]Q5UOQU2[O%c>UOQQQQU2oUO	V2]P	Q5UOQU2P!P!)	z�
            import unittest
            from test import support

            class VerboseTests(unittest.TestCase):
                def test_pass(self):
                    print("SPAM SPAM SPAM")
        r�rXr�zSPAM SPAM SPAMr�z3:3r�r�)r�r�r�r^r�assertNotInrr�r,s&   rrZ�ArgsTestCase.test_verbose3	s������ �
���#�#��#�.������h�7���!�!�&�!�!�<����)�6�2������^�^�D�%���h�O�F��%�%�f�a�$�%�O����-�v�6�	rc
�6�[OQ2oUOUQ5o[OoUO[OU2UOUQU[Q5oUOVBU[]]]2Q5[UQQ59^tt^2oUO2oPPP2[OW2oUO[!UO#Q22]2UO[!UO#Q22]2UO[!UO#Q	22]2U]*]*oUOUO#Q
2Q2UOUO#Q2Q
2UO%['UO#Q22]2UO)Q2FDo	UOU	O*Q2J!	P!)%fhCKX9h)z�
            import unittest

            class VerboseTests(unittest.TestCase):
                def test_failed(self):
                    print("abc \x1b def")
                    self.fail()
        r�z--junit-xmlr�r��utf8r�r�r{r�statusr�result�	completed�timez
system-outzabc \x1b def)r�r�r�rr�r�r�r^r�rrr�r�r�
fromstringr5ryr�rA�float�iterr)
r r�rr�r�r��content�	testsuite�testcaser+s
&         r�test_xml�ArgsTestCase.test_xml3	s������ �
���#�#��#�.���#�#�����	�(�(�(�3�����-��):� �<���!�!�&�)1�(1�!�Q��(:�	"�	<�
�(�V�
,�
,���g�g�i�G�-� �*�*�7�3�	�����Y�]�]�7�3�4�a�8�����Y�]�]�8�4�5�q�9�����Y�]�]�:�6�7��;��Q�<��?��������h�/��7�������h�/��=����5����f�!5�6��:��=�=��.�C����S�X�X��7�/�-�
,�
,�s�'H�H	�H	c�``�[OQ2oROUQ5n[[O
2oQUQ$UU1QkoRO
QRUP
Q5oUU2RO
QQRUP
Q5oUU2P!)a�
            import unittest

            class NonASCIITests(unittest.TestCase):
                def test_docstring(self):
                    '''docstring:\u20ac'''

                def test_subtest(self):
                    with self.subTest(param='subtest:\u20ac'):
                        pass

                def test_skip(self):
                    self.skipTest('skipped:\u20ac')
        r��ascii�PYTHONIOENCODINGc	�:�ROUR[]]]2Q5ROQU2ROQU2P!)r�r�zdocstring:\u20aczskipped:\u20ac)rrr)r�r rs&��r�check�)ArgsTestCase.test_nonascii.<locals>.checkl	s?����%�%�f�h�i��1�a�>P�%�Q��M�M�-�v�6��M�M�+�V�4rrJr]r�)r�r�r�r�r�r r^)r r�rzr�r�rsf    @r�
test_nonascii�ArgsTestCase.test_nonasciiX	s�������
 �

���#�#��#�.���2�:�:���")����	5�����h�C�%��H��
�f�
�����t�X�3���O��
�f�
rc�F�UOQQ2oUO2O2oUOQQQQ2oUO2O2oUOQU2UO	[U2[U2]*
2P!)z--pgor>r��test_re)r^�strip�splitr�r5r�)r r��	pgo_testsr�s&   r�test_pgo_exclude�ArgsTestCase.test_pgo_excludey	s}�������8���L�L�N�(�(�*�	�������y�I������$�$�&������E�*�����U��S��^�a�%7�8rc�p�UO2oUOQU2oUOQU2P!)r~zPython build information)r�r^r)r rr�s&  rr��ArgsTestCase.test_pythoninfo�	s/���#�#�%�������9���
�
�0�&�9rr�)Or�r�r�r�r�r^r�r�r�r�r�r�r�rgr�r�r?rr�requires_jit_disabledr�r�r�r�r�r�r�rrrr
�cpython_onlyrrr"r&r-r2r:r@rDrGrJrMrQrTrWr_rbrfrkrprsrwrzr~r�r��skipIf�is_wasir�r�r�r�r�r�r�r�r�r��
is_androidr�rZr�r�r�r�r�r�r�s@rr�r��sc�����.�8�(+�9�"+�>36�j/>�b=�'�/�&'�=� 0�D
�"�"�)�E�)�#�)�0����)�)�+?�@�E�A�E�1�0�����)�)�+?�@�&�A�&�P����)�)�+?�@�2�A�2� �;�4
���:��:�D� *�D'*�R+�<9�,)*�V+�.+�.+�,+�,+�,+�,+�*+�,:� A�:�":�0
���+��+�<N�8!A�F:�B'0�R,�
9��_�_�W�_�_�E�G�"�G�"�4-<�^%<�N ;� ;�D3�2�C�*:�&83�t0��_�_�W�'�'�?�A� N�A� N�D7�.#8�J�B	9�:�:rr�c�@`�\sQsQsnQsQsQsQsQsQs	Us
P!)�	TestUtilsi�	c��UO[O]2Q2UO[OQ2Q2UO[OQ2Q2UO[OQ2Q2UO[O]2Q2UO[O]x2Q	2UO[O]y2Q
2UO[OQ2Q2UO[OQ2Q2UO[OQ2Q
2P!)r5z0 msg��&�.>z1 msg{�G�z�?z10 msg�?z1.5 secz1.0 secz2 minz2 min 1 secz3 hourz3 hour 2 minz3 hour 1 seci0*i�*i1*)r5r�format_durationr s&r�test_format_duration�TestUtils.test_format_duration�	s/������.�.�q�1��	!�����.�.�t�4��	!�����.�.�u�5� �	"�����.�.�s�3�"�	$�����.�.�q�1�"�	$�����.�.�v�6� �	"�����.�.�z�:�&�	(�����.�.�x�8�!�	#�����.�.�/E�F�'�	)�����.�.�|�<�'�	)rc��[oUOUQ2Q2UOUQP	Q5Q2UOUQP	Q5Q2UOUQP	Q52UOUQP	Q52P!)	z0test_access (test.test_os.FileTests.test_access)�test_accessz(setUpClass (test.test_os.ChownFileTests))�is_error�ChownFileTestsz6test_success (test.test_bug.ExampleTests.test_success)r�zsetUpModule (test.test_x)z!tearDownModule (test.test_module))r
r5r)r �	normalizes& r�test_normalize_test_name�"TestUtils.test_normalize_test_name�	s���'�	�����#U�V�&�	(�����#M�X\�]�)�	+�����#[�fj�k�'�	)����)�$?�$�O�P����)�$G�RV�W�Xrc
��[Oo[OoUOUQP-2Q2UOU[OQ22Q2UOU[OU22Q2SOSSTt-tFDoUQ6wfJUPaJ	to2Q2UOU-[OU2AQP-A2Q2P!ttoh)	r�zresources (1): networkz$resources (3): audio,decimal,networkzresources: allrKzresources: all,-cpur�zresources: all,tzdata)r��decimalr�)r�format_resourcesr�r5r�r�)r rr�r�s&   r�test_format_resources�TestUtils.test_format_resources�	s��� �1�1���+�+�
�����i��.�/�$�	&�	
����T�]�]�+J�K�L�2�	4�	
����T�]�]�=�9�:��	�	
����]�0�]�T�!%���)�d�D�j�]�0�
1�!�	#�	
����M��
�
�m� <�M�h��M�N�#�	%��0s�"C8�2C8c�
�QQ2o[2oUO[U2UQ2oUQ2oUQ2o[O[QQ29^tt^2[,2UO[
U22UO[
U22[P2UO[
U22UO[
U22[UO2P	1,2UO[
U22UO[
U22[Q,2UO[
U22UO[
U22UO[
U22[Q,2UO[
U22UO[
U22[Q	,2UO[
U22[Q
,2UO[
U22[Q,2UO[
U22UO[
U22UO[
U22[UO2P	1UO2P	1,2UO[
U22UO[
U22UO[
U22[QQ
,2UO[
U22UO[
U22PPP2[O[QQ29^tt^2[UO2P
1,2UO[
U22UO[
U22[Q,2UO[
U22UO[
U22UO[
U22[Q,2UO[
U22UO[
U22[Q,2UO[
U22[Q,2UO[
U22[Q,2UO[
U22UO[
U22UO[
U22[UO2P
1UO2P
1,2UO[
U22UO[
U22UO[
U22[QQ,2UO[
U22UO[
U22PPP2[O[QQ29^tt^2[QQ,2UO[
U22UO[
U22UO[
U22[QQ,2UO[
U22UO[
U22UO[
U22PPP2P!)%fhCKo9h)%fhCK
9h)%fhP!9h)c�.`�\sQsQsnQsQsQsUsP!)�'TestUtils.test_match_test.<locals>.Testi�	c��VmP!r��test_id)r rs&&r�__init__�0TestUtils.test_match_test.<locals>.Test.__init__�	s��&�rc��UO!rrr s&r�id�*TestUtils.test_match_test.<locals>.Test.id�	s���|�|�#rr)r�r�r�r�rrr�r�r�s@r�Testr�	s����
'�
$�
$rrz"test.test_os.FileTests.test_accessz'test.test_os.Win32ErrorTests.test_chdirz#test.test_shutil.TestCopy.test_copy�_test_matchersr�)�test_osT)�test_*T)�	filetestsT)�	FileTestsT)�*test_os.*.test_*T)rT)�	DONTMATCHT)rF)rF)rF)rF)rF)rF)r F)�*test_osF)r!T)	r	r�r
r�	swap_attrr<rrru)r r�patternsr�
test_chdir�	test_copys&     r�test_match_test�TestUtils.test_match_test�	s0��	$�	$�#�$�������2��?�@���C�D�
��>�?�	��
�
�w�(8�"�
=�
=��B���O�O�J�{�3�4��O�O�J�z�2�3�
�D�!��O�O�J�{�3�4��O�O�J�z�2�3�
�k�n�n�.��5�6�7��O�O�J�{�3�4����Z�
�3�4�
�.�/�0��O�O�J�{�3�4��O�O�J�z�2�3����Z�	�2�3�
�-�.�/��O�O�J�{�3�4��O�O�J�z�2�3�
�0�1�2����Z��4�5��0�1�2��O�O�J�{�3�4�
�8�9�:��O�O�J�{�3�4��O�O�J�z�2�3����Z�	�2�3�
�k�n�n�.��5�
�
�
���7N�O�P��O�O�J�{�3�4��O�O�J�z�2�3����Z�	�2�3��2�4G�H�I��O�O�J�{�3�4����Z�
�3�4�_>�d�
�
�w�(8�"�
=�
=��k�n�n�.��6�7�8����Z��4�5��O�O�J�z�2�3�
�/�0�1����Z��4�5����Z�
�3�4��O�O�J�y�1�2�
�.�/�0����Z��4�5����Z�
�3�4�
�1�2�3��O�O�J�{�3�4��1�2�3����Z��4�5�
�9�:�;����Z��4�5����Z�
�3�4��O�O�J�y�1�2�
�k�n�n�.��6�����%�8P�Q�R����Z��4�5����Z�
�3�4��O�O�J�y�1�2��3�5I�J�K����Z��4�5��O�O�J�z�2�3�K>�P�
�
�w�(8�"�
=�
=��0�2G�H�I��O�O�J�{�3�4����Z�
�3�4��O�O�J�y�1�2��/�1G�H�I����Z��4�5��O�O�J�z�2�3����Z�	�2�3�>�
=�u>�
=�
=��d>�
=�
=��P>�
=�
=�s9�(KZ�I
Z-�B7[�Z*	�"Z*	�-Z>	�6Z>	�[	�
[	c�H�[OoUOUQ2Q2UOUQ2Q2UOUQ2Q2UOUQ2Q2UOUQ2Q2UOUQ	2Q	2P!)
z
abc  defzabc \x1b\x1f defz
nul:, bell:znul:\x00, bell:\x07u
surrogate:�zsurrogate:\udc80uillegal ￾ and ￿zillegal \ufffe and \uffffza
	buvalid téxt €)r�sanitize_xmlr5)r r)s& r�test_sanitize_xml�TestUtils.test_sanitize_xml6
s����)�)��	
����&8�9�,�	.�����&;�<�/�	1�����&8�9�,�	.�����&A�B�5�	7�	
����h�/�!�	#�����&<�=�/�	1rr�)r�r�r�r�rrrr&r*r�r�r�s@rr�r��	s&����)�,	Y�%�(t4�l1�1rr�)�TestResultsc�(`�\sQsQsnQsQsUsP!)�
TestColorizediM
c�D�[OOo[OOo[OOo[OO
o[
2oQQ,Um[
2oQQ,Um[
2o,Um[
2oP	Um	[
2o	P	U	m	P	U	m
VQQU01VbQU01VtQU01V�QU01U	UQUQUQ	U011FD~vq�UOV�Q
59^tt^2[OOQP	Q59^tt^2U
OP
Q
5oPPP2UO!WU2PPP2J�	P!)%fhK09h)%fhJ�9h)�good1�good2�bad1�bad2r�r�r�r�r�z
WORKER BUG)�resultsr�z_colorize.can_colorize)�return_value)rE)�	_colorize�
ANSIColors�GREEN�BOLD_RED�RESET�YELLOWr,r�badr��
worker_bugr)r��mock�patch�	get_stater5)
r �green�red�reset�yellow�good_results�bad_results�
no_results�interrupted_results�interrupted_worker_bugr4r�r�s
&            r�test_test_result_get_state�(TestColorized.test_test_result_get_stateN
s����$�$�*�*���"�"�+�+���$�$�*�*���%�%�,�,��"�}��$�g�.���!�m��!�6�*��� �]�
��
��)�m��*.��'�!,���-1��*�,0��)��W�G�E�7�3�4�
�E����0�1�
�8�<��w�7�8�
 �H�K��w�"?�@�&��(�+�e�W�B�s�e�:�e�W�E�
�	"
��G����g��A�A��]�]�(�(�,�4�)���%�.�.��.�F�F��� � ���2�B�A�	"
����B�A�A�s0�*F	�E;
�F	�;F�F�F	�F
�F
r�)r�r�r�r�rJr�r�r�s@rr.r.M
s����%3�%3rr.�__main__)�passedr�r�r�zenv changedz	timed outzran no testszworker non-zero exit code)Jr�r6r�dataclassesr@rr��os.pathr�rSr�r�r�r�rr+r�r�r�r��
unittest.mock�	xml.etreerrgr�test.supportrr�test.libregrtestrrrr�test.libregrtest.filterr	r
r�test.libregrtest.resultr�test.libregrtest.utilsr
�has_subprocess_support�SkipTestr�r�r�r�r�r��normpathr�r�r�r+r�r8r�r�r��TestCaser�	dataclassr�r�r7�force_not_colorized_test_classrHr�r��test.libregrtest.resultsr,r.r��
setup_processr�rr�<module>r_s�������	�
���
�	��
��
������!��&�"�$�!�"�"�P�P�-�6��%�%�%�
�
�
�=�
>�>�
�7�7�<�<�������1�4��>��
�7�7�?�?�2�7�7�+�+�H�5�6��
E�
�	���c�h�h�|�,�-�Q�/�������������?�?�$�	��z'��)�)�z'�z
���T�"���#��M�8�$�$�M�`@�|�@�0	�'�'�qK�|�qK�(�qK�h	�'�'�\:�<�\:�(�\:�~,}1��!�!�}1�@1�&3�H�%�%�&3�R�z��	�����M�M�O�r

Youez - 2016 - github.com/yon3zu
LinuXploit