403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3.14/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.14/test/__pycache__/test_support.cpython-314.pyc
+
��3jeu���^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RIt^RI	t	^RI
t
^RIt^RIt^RI
t
^RIt^RIt^RIt^RIHt^RIHt^RIHt^RIHt^RIHt^RIHt]P2t!RR	]P44t]P8R
4t!RR]P<4t] R
8Xd]PB!4R#R#)�N)�support)�
import_helper)�	os_helper)�
script_helper)�
socket_helper)�warnings_helperc�Paa�]tRt^toV3RltV3RlV3RlltRtRtVtV;t	#)�LogCaptureHandlerc�Z<�\SV`\P!44.VnR#�N)�super�__init__�io�StringIO�records)�self�	__class__s&��(/usr/lib/python3.14/test/test_support.pyr�LogCaptureHandler.__init__s���
�������'����c�<�V^8�dQhRR/#)��returnN�)�format�
__classdict__s"�r�__annotate__�LogCaptureHandler.__annotate__#s�����d�rc�\<�VPPV4\SV`
V4R#r)r�appendr
�emit)r�recordrs&&�rr!�LogCaptureHandler.emit#s!��������F�#�
���V�rc��hrr)rr"s&&r�handleError�LogCaptureHandler.handleError's��
r)r)
�__name__�
__module__�__qualname__�__firstlineno__rr!r%�__static_attributes__�__classdictcell__�
__classcell__)rrs@@rr
r
s��������rr
c#��"�\4p\P!4pVPV4Vx�VP	V4R# TP	T4i;i5ir)r
�logging�	getLogger�
addHandler�
removeHandler)�handler�root_loggers  r�_caplogr5+sO����!�G��#�#�%�K����7�#�+��
��!�!�'�*���!�!�'�*�s�1A!�A�A!�A�A!c��a�]tRt^6to]R4t]R4tRtRtRt	Rt
]P!R4R4t
R	tR
tRtRt]P&!4R
4t]P&!4R4t]P&!4R4tRtRtRtRt]P6!4R4tRtRtRtRt Rt!Rt"Rt#Rt$Rt%Rt&Rt'R t(R!t)R"t*R#t+R$t,R%t-R&t.!R'R(4t/!R)R*4t0R+t1R,t2R-t3]Ph!]5!]6R.4;'d
]5!]6R/4R04]P6!4R144t7]Pp!4RER3l4t9]Pt!R44R54t;R6t<]Pz!]P|R74]Pz!]P~R84R944t@R:tAR;tBR<tCR=tD]P�R>4tFR?tGR@tHRAtIRBtJRCtKRDtLVtMR2#)F�TestSupportc��\\P!44p\P!RRR7Vn\P!\RR7Vn\\P!44V^,8XgQhR#)ztest.support.warnings_helperz.*used in test_support.*)�likez!.*You should NOT be seeing this.*N)�len�warnings�_get_filtersr�ignore_deprecations_from�_warnings_helper_tokenr'�_test_support_token��cls�orig_filter_lens& r�
setUpClass�TestSupport.setUpClass7sl���h�3�3�5�6��%,�%E�%E�*�1K�&
��"�#*�"B�"B��>�#
����8�(�(�*�+���/B�B�B�Brc���\\P!44p\P!VP
VP4\\P!44V^,
8XgQhR#)rN)r:r;r<r�clear_ignored_deprecationsr>r?r@s& r�
tearDownClass�TestSupport.tearDownClassBsX���h�3�3�5�6���*�*��&�&��#�#�	
��8�(�(�*�+���/B�B�B�Brc�f�\P!RR7;_uu_4p\P!4\P!R\
4VUu.uFp\
VP4NK	ppRRR4VP\X4^V4R#uupi +'giL3;i)z9Test support.ignore_deprecations_from() silences warningsT)r"zYou should NOT be seeing this.N)
r;�catch_warningsr�_warn_about_deprecation�warn�DeprecationWarning�str�message�assertEqualr:)r�warning_objs�w�messagess&   r�$test_ignored_deprecations_are_silent�0TestSupport.test_ignored_deprecations_are_silentKsx��
�
$�
$�D�
1�
1�\��3�3�5��M�M�:�<N�O�0<�=��1��A�I�I���H�=�2�	
����X���8�4��>�2�
1�s�5B �B�3B �B � B0	c��\P!R4VP\P\PR4R#)�ftplib�fooN)r�
import_module�assertRaises�unittest�SkipTest�rs&r�test_import_module�TestSupport.test_import_moduleSs1���#�#�H�-����(�+�+�'�5�5�u�	>rc�2�\P!R4R#)rWN)r�import_fresh_moduler]s&r�test_import_fresh_module�$TestSupport.test_import_fresh_moduleXs���)�)�(�3rc���VP\P!VR4VP4VP	\
P\PVR4R#)�test_get_attributerXN)rPr�
get_attributererZr[r\r]s&rre�TestSupport.test_get_attribute[sI������.�.�t�5I�J��/�/�	1����(�+�+�W�-B�-B�D�%�Przfailing buildbotsc�l�VP\P!4\P4R#r)rPr�get_original_stdout�sys�stdoutr]s&r�test_get_original_stdout�$TestSupport.test_get_original_stdout`s������4�4�6��
�
�Crc��^RIpVPR\P4\P
!R4VP
R\P4R#)rN�sched)ro�assertInrj�modulesr�unload�assertNotIn)rros& r�test_unload�TestSupport.test_unloadds9����
�
�g�s�{�{�+����W�%�����#�+�+�.rc�@�\\RRR7;_uu_4pRRR4\P!\4VP	\
PP\44\P!\4R# +'giLx;i)rR�utf-8��encodingN)�open�TESTFNr�unlink�assertFalse�os�path�exists)r�fs& r�test_unlink�TestSupport.test_unlinkjs[��
�&�#��
0�
0�A��1����� ����������/�0����� �	1�
0�s�B
�
B	c�f�\PR,p\PP	VR4p\P
!V4\P
!V4\P!V4VP\PPV44\P!\R^4;_uu_4\P!V4RRR4\P
!V4\P
!V4\P!V\P\P,4\P!\R^4;_uu_4\P!V4RRR4VP\PPV44\P
!V4\P
!V4\P!V^4\P!\R^4;_uu_4\P!V4RRR4VP\PPV44R# +'giEL�;i +'giEL	;i +'giLh;i)�d�subdir�verboseN)rr{r~r�join�mkdir�rmtreer}r�r�	swap_attr�chmod�stat�S_IRUSR�S_IXUSR)r�dirpath�
subdirpaths&  r�test_rmtree�TestSupport.test_rmtreeqs����"�"�S�(���W�W�\�\�'�8�4�
�
�����
���������!����������0�1�
�
�
�w�	�1�
5�
5����W�%�6�	�����
�����
����$�,�,�t�|�|�3�4�
�
�
�w�	�1�
5�
5����W�%�6����������0�1�
�����
�����
����!��
�
�
�w�	�1�
5�
5����W�%�6����������0�1�6�
5�
5��6�
5�
5��6�
5�s$�I8�5J�)J �8J		�J	� J0	c��\R,p\VRRR7;_uu_4p\RVR7RRR4\PP^\P4\P!4\\4pVP\\P4\P!\4VP\\P4\P^\ P"!V4\ P$!R4R# +'giEL;i \P^\ P"!T4\ P$!R4i;i)z.pyrRrwrxzfoo = 1��fileN�__pycache__)r{rz�printrjr�insertr~�curdir�	importlib�invalidate_caches�
__import__rprqr�forgetrsrr|r�)r�mod_filenamer��mods&   r�test_forget�TestSupport.test_forget�s�����~��
�,��g�
6�
6�!��)�!�$�7�������2�9�9�%��#�#�%�		,��V�$�C��M�M�&�#�+�+�.�� � ��(����V�S�[�[�1���������\�*����]�+�7�
6�
6����������\�*����]�+�s�D.�>A1E�.D?	�?Fc�r�\P!\P^34pVP	4R#)rN)�socket�
create_serverr�HOST�close�r�ss& r�	test_HOST�TestSupport.test_HOST�s&��� � �-�"4�"4�a�!8�9��	���	rc��\P!4p\P!\PV34pVP4R#r)r�find_unused_portr�r�r�r�)r�portr�s&  r�test_find_unused_port�!TestSupport.test_find_unused_port�s4���-�-�/��� � �-�"4�"4�d�!;�<��	���	rc��\P!4p\P!V4VP4VP	4R#r)r�r�	bind_port�listenr�r�s& r�test_bind_port�TestSupport.test_bind_port�s-���M�M�O������"�	���
�	���	rc��\P!4p\PP	V4p\PPVR4pVP
\PPV44\P!V4;_uu_4pVPW24VP\PPV44RRR4VP
\PPV44\P!V4R# +'giLV;i \P!T4i;i)z8Test that temp_dir() creates and destroys its directory.�tempN)
�tempfile�mkdtempr~r�realpathr�r}�isdirr�temp_dirrP�
assertTruer�)r�
parent_dirr�	temp_paths&   r�
test_temp_dir�TestSupport.test_temp_dir�s����%�%�'�
��W�W�%�%�j�1�
�	)��7�7�<�<�
�F�3�D����R�W�W�]�]�4�0�1��#�#�D�)�)�Y�� � ��1�������
�
�d� 3�4�*�
���R�W�W�]�]�4�0�1����Z�(�*�)��

���Z�(�s%�A,E�"AD0�"6E�0E	�;E�Ec�0�\P!4;_uu_4pVP\PPV44RRR4VP
\PPX44R# +'giL@;i)zTest passing no path.N)rr�r�r~rr�r})rr�s& r�test_temp_dir__path_none�$TestSupport.test_temp_dir__path_none�sU��
�
�
�
!�
!�Y��O�O�B�G�G�M�M�)�4�5�"���������y�1�2�"�
!�s�/B�B	c��Rp\P!4p\PP	V4pVP\PP
V44VP\W4VP\PP
V44\P!V4R# \P!T4i;i)z-Test passing a directory that already exists.c�~�\P!V4;_uu_4p\R4h +'giR#;i�zshould not get hereN)rr��	Exception)rr�s& r�
call_temp_dir�MTestSupport.test_temp_dir__existing_dir__quiet_default.<locals>.call_temp_dir�s-���#�#�D�)�)�Y�� 5�6�6�*�)�)���+�<	N)r�r�r~rr�r�r�rZ�FileExistsError�shutilr�)rr�rs&  r�*test_temp_dir__existing_dir__quiet_default�6TestSupport.test_temp_dir__existing_dir__quiet_default�s���	7����!���w�w����%��	 ��O�O�B�G�G�M�M�$�/�0����o�}�C��O�O�B�G�G�M�M�$�/�0��M�M�$���F�M�M�$��s�A2C�Cc���\P!4p\PP	V4p\
P!4;_uu_4p\4;_uu_4p\P!VRR7;_uu_4pVPW4RRR4VPUu.uFp\VP4NK	ppRRR4RRR4VP\PPV44\ P"!V4VP%X.4VP\'XP(4^4VP(^,pVP+VP-4RV:R24R# +'giEL;iuupi +'giL�;i +'giL�;i \ P"!T4i;i)z=Test passing a directory that already exists with quiet=True.T��quietNz5tests may fail, unable to create temporary directory �: )r�r�r~rr�r�check_warningsr5rr�rPr;rNrOr�r�r�r��assertListEqualr:r�assertStartsWith�
getMessage)rr�recorder�caplogr�rRr;r"s&       r�'test_temp_dir__existing_dir__quiet_true�3TestSupport.test_temp_dir__existing_dir__quiet_true�sO�����!���w�w����%��	 � �/�/�1�1�X�w�y�y�F��'�'��D�9�9�Y��$�$�T�5�:�4<�4E�4E�F�4E�q�C��	�	�N�4E��F�@I�1�

�O�O�B�G�G�M�M�$�/�0��M�M�$�����X�r�*�����V�^�^�,�a�0�����"���������#�#'�(�"�
.�	
�:�9�9��F�@I�y��1�1��
�M�M�$��s_�G�G�&!F-	�F
�F-	�/F(�
F-	�G�6G�F%�F-	�-F=
�8G�G	�G�G+c�\�\P!R\P!R44R#)z?Test that a forked child process does not remove the directory.�-ca
            import os
            from test import support
            from test.support import os_helper
            with os_helper.temp_cwd() as temp_path:
                pid = os.fork()
                if pid != 0:
                    # parent process

                    # wait for the child to terminate
                    support.wait_process(pid, exitcode=0)

                    # Make sure that temp_path is still present. When the child
                    # process leaves the 'temp_cwd'-context, the __exit__()-
                    # method of the context must not remove the temporary
                    # directory.
                    if not os.path.isdir(temp_path):
                        raise AssertionError("Child removed temp_path.")
        N)r�assert_python_ok�textwrap�dedentr]s&r�test_temp_dir__forked_child�'TestSupport.test_temp_dir__forked_child�s$��
	�&�&�t�X�_�_�>�.
�	rc	���\P!4p\P!4;_uu_4p\P!V4;_uu_4pVPW24VP\P!4V4RRR4RRR4VP\P!4V4R# +'giL?;i +'giLJ;ir)r~�getcwdrr��
change_cwdrP)r�original_cwdr��new_cwds&   r�test_change_cwd�TestSupport.test_change_cwds����y�y�{��
�
�
�
!�
!�Y��%�%�i�0�0�G�� � ��4�� � �����g�6�1�"�
	
�������l�3�	1�0��"�
!�s#�C�7C	�	C�C
�C�C#	c�`�\P!4pRp\P!4;_uu_4p\PPVR4pVP
\VV4RRR4VP\P!4V4R# +'giL7;i)z&Test passing a non-existent directory.c�~�\P!V4;_uu_4p\R4h +'giR#;ir�)rr�r�)rr�s& r�call_change_cwd�FTestSupport.test_change_cwd__non_existent_dir.<locals>.call_change_cwds-���%�%�d�+�+�w�� 5�6�6�,�+�+�r��does_not_existN)	r~r�rr�rr�rZ�FileNotFoundErrorrP)rr�r�r��non_existent_dirs&    r�!test_change_cwd__non_existent_dir�-TestSupport.test_change_cwd__non_existent_dirsw���y�y�{��	7��
�
�
!�
!�Z�!�w�w�|�|�J�8H�I�����/��.�
0�"�
	
�������l�3�"�
!�s�8B�B-	c
���\P!4p\P!4;_uu_4p\PPVR4p\P!4;_uu_4p\4;_uu_4p\P!VRR7;_uu_4pVPWa4VP\P!4V4RRR4VPUu.uFp\VP4NK	ppRRR4RRR4RRR4VPX.4VP\XP 4^4VP ^,p	VP#V	P%4RX:R24R# +'giL�;iuupi +'giL�;i +'giL�;i +'giL�;i)z6Test passing a non-existent directory with quiet=True.r�Tr�N�Btests may fail, unable to change the current working directory to r�)r~r�rr�rr�rr�r5r�rPr;rNrOr�r:rr�r�)
rr�r��bad_dirr�r�r�rRr;r"s
&         r�-test_change_cwd__non_existent_dir__quiet_true�9TestSupport.test_change_cwd__non_existent_dir__quiet_truesK���y�y�{��
�
�
�
!�
!�Z��g�g�l�l�:�/?�@�G� �/�/�1�1�X�w�y�y�F��)�)�'��>�>�'��$�$�W�;��$�$�R�Y�Y�[�'�:�?�5=�4E�4E�F�4E�q�C��	�	�N�4E��F�	@I�1�"�	
���X�r�*�����V�^�^�,�a�0�����"������������B�
 �	
�?�>��G�	@I�y��1�1��"�
!�s_�>G�1G	�!F3
�%7F�F3
�2F.�F3
�G	�G�F+�&
F3
�3G�>G	�G
�G�G)	c��\R,p\P!4;_uu_4p\4;_uu_4p\P
!VRR7;_uu_4RRR4VPUu.uFp\VP4NK	ppRRR4RRR4VPX.4VP\XP4^4VP^,pVPVP4RV:R24R# +'giL�;iuupi +'giL�;i +'giL�;i)z0Check the warning message when os.chdir() fails.�_does_not_existT)rr�Nr�r�)r{rr�r5rr�r;rNrOr�rPr:rr�r�)rrr�r�rRrSr"s&      r�test_change_cwd__chdir_warning�*TestSupport.test_change_cwd__chdir_warning7s����)�)��
�
+�
+�
-�
-��7�9�9���%�%�4�t�<�<��=�08�0A�0A�B�0A�1��A�I�I��0A�H�B�<E�
-�
	
���X�r�*�����V�^�^�,�a�0�����"�������������
�	
�=�<��B�<E�9��
-�
-�sF�E�!D0	�D
�!D0	�7D+�D0	�E�D(�#
D0	�0E
�;E�E	c���\P!4p\P!\R7;_uu_4VP\PP\P!44\4RRR4VP\PP\44VP\P!4V4R# +'giLi;i)��nameN)
r~r�r�temp_cwdr{rPr�basenamer}r�)r�heres& r�
test_temp_cwd�TestSupport.test_temp_cwdKs����y�y�{��
�
�
�V�
,�
,����R�W�W�-�-�b�i�i�k�:�F�C�-����������/�0��������d�+�-�
,�s�AC!�!C1	c��\P!4p\P!RR7;_uu_4pVP	W!4VP\PPV44VP\P!4V4RRR4VP\P!4V4R# +'giL7;i)z Test passing None to temp_cwd().Nr�)	r~r�rr��assertNotEqualr�rr�rP)rr�r�s&  r�test_temp_cwd__name_none�$TestSupport.test_temp_cwd__name_noneSs����y�y�{��
�
�
�T�
*�
*�g�����6��O�O�B�G�G�M�M�'�2�3����R�Y�Y�[�'�2�+�	
�������l�3�	+�
*�s�A%C	�	C	c
�^�VP\P!^^^^^^/4R4R#)�z{1: 1, 2: 2, 3: 3}N)rPr�sortdictr]s&r�
test_sortdict�TestSupport.test_sortdict\s*������)�)�1�Q��!�Q�q�/�:�<P�Qrc�8�\P!4pVP\4;_uu_4p\P
!VR4RRR4VP
XPP\P4R# +'giLF;i)sfooN)
r�make_bad_fdrZ�OSErrorr~�writerP�	exception�errno�EBADF)r�fd�cms&  r�test_make_bad_fd�TestSupport.test_make_bad_fd_s]��
�
"�
"�
$��
�
�
�w�
'�
'�2��H�H�R�� �(�������+�+�U�[�[�9�(�
'�s�B	�	B	c���\P!VR^^R7VP\4;_uu_4\P!VR4RRR4R# +'giR#;i)z	def class)�lineno�offsetzx=1N)r�check_syntax_errorrZ�AssertionErrorr]s&r�test_check_syntax_error�#TestSupport.test_check_syntax_erroresF���"�"�4��Q�q�I�
�
�
�~�
.�
.��&�&�t�U�3�/�
.�
.�
.�s�A�A+	c��^RIp\P!R4;_uu_4VP!R4RRR4R# +'giR#;i)rN�pprint)r�r�CleanImportrY)rr�s& r�test_CleanImport�TestSupport.test_CleanImportjs3���
�
&�
&�x�
0�
0��#�#�H�-�1�
0�
0�
0�s�A�A	c�|�\P!RR4;_uu_4VPR\P4VPR\P4RRR4VPR\P4VPR\P4R# +'giLR;i)rX�barN)r�
DirsOnSysPathrprjrrsr]s&r�test_DirsOnSysPath�TestSupport.test_DirsOnSysPathosq��
�
(�
(���
6�
6��M�M�%����*��M�M�%����*�7�	
�������)��������)�	7�
6�s�AB+�+B;	c���\P!4;_uu_4p\R4RRR4VPXP	4R4R# +'giL2;i)�helloN�hello
)r�captured_stdoutr�rP�getvalue)rrks& r�test_captured_stdout� TestSupport.test_captured_stdoutvs?��
�
$�
$�
&�
&�&��'�N�'�������*�I�6�'�
&�s�A�A$	c���\P!4;_uu_4p\R\PR7RRR4VPXP
4R4R# +'giL2;i)r*r�Nr+)r�captured_stderrr�rj�stderrrPr-)rr2s& r�test_captured_stderr� TestSupport.test_captured_stderr{sF��
�
$�
$�
&�
&�&��'��
�
�+�'�������*�I�6�'�
&�s�A$�$A4	c���\P!4;_uu_4pVPR4VP^4\	4pRRR4VPXR4R# +'giL$;i)r+Nr*)r�captured_stdinr�seek�inputrP)r�stdin�captureds&  r�test_captured_stdin�TestSupport.test_captured_stdin�sQ��
�
#�
#�
%�
%���K�K�	�"��J�J�q�M��w�H�	&�
	
����7�+�&�
%�s�-A'�'A7	c�0�\P!4R#r)r�
gc_collectr]s&r�test_gc_collect�TestSupport.test_gc_collect�s�����rc�X�VP\P!4\4R#r)�assertIsInstancer�python_is_optimized�boolr]s&r�test_python_is_optimized�$TestSupport.test_python_is_optimized�s�����g�9�9�;�T�Brc���!RR4pV!4p^Vn\P!VR^4;_uu_4pVPVP^4VPV^4RRR4VPVP^4\P!VR^4;_uu_4pVPVP^4VPV4RRR4VP
VR4\P!VR^4;_uu_4V=RRR4VP
VR4R# +'giL�;i +'giLt;i +'giLJ;i)c��]tRtRtRtR#)�'TestSupport.test_swap_attr.<locals>.Obji�rN)r'r(r)r*r+rrr�ObjrI�s��rrJ�xN�y)rKrr�rPrL�assertIsNone�assertNotHasAttr)rrJ�objrKrLs&    r�test_swap_attr�TestSupport.test_swap_attr�s
��	�	��e�����
�
�
�s�C��
+�
+�q����S�U�U�A�&����Q��"�,�	
�������"�
�
�
�s�C��
+�
+�q����S�U�U�A�&����a� �,�	
���c�3�'�
�
�
�s�C��
+�
+���,����c�3�'�,�
+��,�
+��,�
+�s#�/D3�,.E�E�3E	�E	�E)	c��R^/p\P!VR^4;_uu_4pVPVR,^4VPV^4RRR4VPVR,^4\P!VR^4;_uu_4pVPVR,^4VPV4RRR4VP	RV4\P!VR^4;_uu_4VRRRR4VP	RV4R# +'giL�;i +'giLu;i +'giLJ;i)rKNrL)r�	swap_itemrPrMrs)r�DrKrLs&   r�test_swap_item�TestSupport.test_swap_item�s���
��G��
�
�
�q�#�q�
)�
)�Q����Q�s�V�Q�'����Q��"�*�	
����3���#�
�
�
�q�#�q�
)�
)�Q����Q�s�V�Q�'����a� �*�	
����a� �
�
�
�q�#�q�
)�
)��#��*�����a� �*�
)��*�
)��*�
)�s#�,D�+D*�7D=�D'	�*D:	�=E
	c�&�]tRtRtRtRtRtRtRtR#)�TestSupport.RefClassi�Nr)	r'r(r)r*�
attribute1�
attribute2�_hidden_attribute1�__magic_1__r+rrr�RefClassrX�s���
��
�!���rr]c�&�]tRtRtRtRtRtRtRtR#)�TestSupport.OtherClassi�Nr)	r'r(r)r*rZ�
attribute3r\�__magic_2__r+rrr�
OtherClassr_�s���
��
����rrbc��\P!VPVP4pVP	R0V4\P!VPVP4pVP	RR0V4R#)rYr`raN)r�detect_api_mismatchr]rbrP)r�
missing_itemss& r�test_detect_api_mismatch�$TestSupport.test_detect_api_mismatch�se���3�3�D�M�M�48�O�O�E�
����,���7��3�3�D�O�O�48�M�M�C�
����,�
�6�
�Frc�*�.ROp\P!VPVPVR7pVP	\4V4\P!VPVPVR7pVP	\4V4R#)rY)�ignoreN)rYr`ra�
not_in_either)rrdr]rbrP�set)rrires&  r� test_detect_api_mismatch__ignore�,TestSupport.test_detect_api_mismatch__ignore�si��M���3�3��
�
�t���v�?�
������
�.��3�3�������v�?�
������
�.rc���R0pR0p\P!V\VVR7RR0p0Rmp\P!V\RVVR7VP	\
\PV\4R#)�tempdir�template)�extra�not_exported�TextTestResult�installHandlerN>�
load_tests�TestProgram�
BaseTestSuite)zunittest.resultz
unittest.casezunittest.suitezunittest.loaderz
unittest.mainzunittest.runnerzunittest.signalszunittest.async_case)r�check__all__r�r[rZr)rrqrrs&  r�test_check__all__�TestSupport.test_check__all__�s}�����"�|�����T�%�#(�*6�	8�
��
��F�����T�%�I�$)�*6�	8�	
���.�'�*>�*>��h�Or�waitpid�WNOHANGz need os.waitpid() and os.WNOHANGc�(�\P!4\P!4pV^8Xd\P!^4\P
pR\n\P!4p\P!\P4Fgp\P!\PRV4;_uu_4\P!4RRR4\P
'gKgM	RV,pVPWSP44VP\P
4V\n\P!4R# +'giL�;i T\ni;i)rF�orig_stderrNz2Warning -- reap_children() reaped child process %s)r�
reap_childrenr~�fork�_exit�environment_alteredrr�sleeping_retry�
SHORT_TIMEOUTr��
print_warningrpr-r�)r�pid�was_alteredr2�_�msgs&     r�test_reap_children�TestSupport.test_reap_children�s	��
	�����g�g�i���!�8��H�H�Q�K��1�1��	6�*/�G�'��[�[�]�F��+�+�G�,A�,A�B���&�&�w�'<�'<�m�V�T�T��)�)�+�U�
�.�.�.��C�G��L�C��M�M�#���0�1��O�O�G�7�7�8�*5�G�'�	����!U�T��+6�G�'�s,�A5F�E1�$F�AF�1F�<F�
FNc��RVRVR2p\P.VORNVNp\PP	4UUu/uF wrgVPR4'dKWgbK"	ppp\P!V\P\PRVR7p	VfTpVPV	PP4\V44VPV	P^4R#uuppi)zfrom test.support import z
; print(repr(z()))r��PYTHONT)rkr2�universal_newlines�envN)rj�
executabler~�environ�items�
startswith�
subprocess�run�PIPE�DEVNULLrPrk�rstrip�repr�
returncode)
r�args�func�expected�code�cmd�key�valuer��procs
&&&&      r�
check_options�TestSupport.check_options
s���*�4�&�
�d�V�4�H���~�~�1��1�d�1�D�1��,.�J�J�,<�,<�,>�0�,>�j�c��n�n�X�.��s�z�,>��0��~�~�c�%/�_�_�%/�%7�%7�15�"%�	'��
���H�������+�+�-�t�H�~�>�������!�,��0s�C9�"C9�cpuc��.R.R.R.R.R.R.R.R.R.R	.R
.R.RR
..RORR.RR.RR.RR.RR.RR.RR.RR.RR.RR.RR.RR.3F8pVPVR7;_uu_4VPVR4RRR4K:	\P!4;_uu_4p\P
P
VR4pRRV2.pVPVR7;_uu_4VPVR4RRR4RRR4VP.R ORR.4R# +'giK�;i +'giLD;i +'giLO;i)!z-B�-sz-S�-Ez-vz-b�-Pz-q�-Iz-bbz-vvv�-Wignore�-X�devzcpu_count=4zdisable-remote-debug�faulthandler�
importtimezimporttime=2zint_max_str_digits=1000zlazy_imports=all�no_debug_ranges�showrefcount�tracemallocz
tracemalloc=3�warn_default_encoding��opts�args_from_interpreter_flagsN�pycachezpycache_prefix=)r�r�r�)r�r�r�r�)�subTestr�rr�r~rr�)rr�r��prefixs&   r� test_args_from_interpreter_flags�,TestSupport.test_args_from_interpreter_flagss���

�
�F�
�F�
�F�
�F�
�F�
�F�
�F�
�F�
�F�
�G�
�H�
�L�
�5�M�%�
�=�!�
�)�*�
�>�"�
�<� �
�>�"�
�,�-�
�%�&�
�$�%�
�>�"�
�=�!�
�?�#�
�*�+�A!
�D�D���4��(�(��"�"�4�)F�G�)�(�E!
�J�
�
�
!�
!�Y��W�W�\�\�)�Y�7�F��O�F�8�4�5�D����4��(�(��"�"�4�)F�G�)�"�	
���3�8� �6�	#�)�(�(��)�(��"�
!�s1�#D�AE�!D0	�4E�D-�0E
�;E�E	c��.R.R.R.3F8pVPVR7;_uu_4VPVR4RRR4K:	R# +'giKO;i)z-Oz-OOz-OOOOr��!optim_args_from_interpreter_flagsN)r�r�)rr�s& r�&test_optim_args_from_interpreter_flags�2TestSupport.test_optim_args_from_interpreter_flagsLsZ��
�
�F�
�G�
�I�
�D����4��(�(��"�"�4�)L�M�)�(�
�)�(�(�s�A�AzUnstable on Apple MobilezUnavailable on WASIc�@�\P!4p\P!\\P
4p\P!4p\P!V4VPW1,
^4R# \P!T4i;i��N)r�fd_countr~rz�__file__�O_RDONLYr�rP)r�startr�mores&   r�
test_fd_count�TestSupport.test_fd_countXse���"�"�$��
�W�W�X�r�{�{�
+��	��%�%�'�D��H�H�R�L������q�)��
�H�H�R�L�s�B�Bc�0�\P!4p\P!\PRV4;_uu_4\P!V4RRR4VPVP
4V4R# +'giL2;i)r~N)rrrr�r�rPr-)rr�r�r2s&&& r�check_print_warning�TestSupport.check_print_warninghs]�������
�
�
�w�4�4�m�V�
L�
L��!�!�#�&�M�������*�H�5�M�
L�s�B�B	c�N�VPRR4VPRR4R#)r�zWarning -- msg
za
bzWarning -- a
Warning -- b
N)r�r]s&r�test_print_warning�TestSupport.test_print_warningns)��� � ��!3�	5�� � ��!?�	Arc��\PR8Xd"VP\P4R#VP\P4R#)�win32N)rj�platformr}r�has_strftime_extensionsr�r]s&r�test_has_strftime_extensions�(TestSupport.test_has_strftime_extensionsts4���<�<�7�"����W�<�<�=��O�O�G�;�;�<rc�`�\P!R4p\P!RV4R#)ap
            from test import support
            import sys

            def check(cond):
                if not cond:
                    raise AssertionError("test failed")

            # depth 1
            check(support.get_recursion_depth() == 1)

            # depth 2
            def test_func():
                check(support.get_recursion_depth() == 2)
            test_func()

            def test_recursive(depth, limit):
                if depth >= limit:
                    # cannot call get_recursion_depth() at this depth,
                    # it can raise RecursionError
                    return
                get_depth = support.get_recursion_depth()
                print(f"test_recursive: {depth}/{limit}: "
                      f"get_recursion_depth() says {get_depth}")
                check(get_depth == depth)
                test_recursive(depth + 1, limit)

            # depth up to 25
            with support.infinite_recursion(max_depth=25):
                limit = sys.getrecursionlimit()
                print(f"test with sys.getrecursionlimit()={limit}")
                test_recursive(2, limit)

            # depth up to 500
            with support.infinite_recursion(max_depth=500):
                limit = sys.getrecursionlimit()
                print(f"test with sys.getrecursionlimit()={limit}")
                test_recursive(2, limit)
        r�N)r�r�rr�)rr�s& r�test_get_recursion_depth�$TestSupport.test_get_recursion_depthzs(�����& �&
��N	�&�&�t�T�2rc�a�V3RloRFhp\P!V4;_uu_4\P!4pS!V4S!V^,4VPR4RRR4Kj	\P!^4;_uu_4S!^4VPR4RRR4R# \dL\i;i +'giK�;i \dL<i;i +'giR#;i)c�:<�V'dS!V^,
4R#R#r�r)�depth�recursive_functions&�rr��6TestSupport.test_recursion.<locals>.recursive_function�s����"�5�1�9�-�rzRecursionError was not raisedN)���i�	)r�infinite_recursion�get_recursion_available�fail�RecursionError)r�	max_depth�	availabler�s&  @r�test_recursion�TestSupport.test_recursion�s����	.�,�I��+�+�I�6�6�#�;�;�=�	�#�9�-�
?�&�y�1�}�5��I�I�=�>�7�6�,�$�
'�
'��
*�
*�
;�"�1�%��	�	�9�:�
+�
*��
&�����7�6�6��("�
��
��+�
*�
*�s_�C
�
B9�C
�C/�C�C/�9C	�C
�C	�C
�
C�C,�)C/�+C,�,C/�/D	c
��\PpRpVR,pVR,pVR,pVPV!R4^4VPV!R4^V,4VPV!R4\RV,44VPV!R4\^V,44VPV!R4V4R	FTpVP	VR7;_uu_4VP\4;_uu_4V!V4RRR4RRR4KV	R# +'giL;i +'giK~;i)
i�0k�3kz2.4mg333333@�4g�1t)�limitN)��3z3.5.10k�10x)r�_parse_memlimitrP�intr�rZ�
ValueError)r�parse�KiB�MiB�GiB�TiBr�s&      r�test_parse_memlimit�TestSupport.test_parse_memlimit�s����'�'�����D�j���D�j���D�j������t��a�(�����t��a�#�g�.�����v���C�#�I��7�����t��c�!�c�'�l�3�����t��c�*�0�E����E��*�*��&�&�z�2�2��%�L�3�+�*�1�2�2��+�*�*�s$�,D<�
	D)�D<�)D9�4D<�<E
c�L�RpRp\Pp\Pp\PR8�d�\P
!R4VP
\PV4VP
\PV4^^d,V,p\P
!VR24VP
\P\P4VP
\PWR,4Md\P
!R4VP
\P\P4VP
\PV4V\nV\nR# T\nT\ni;i)�r��tNll)r�
max_memuse�real_max_memuserj�maxsize�set_memlimitrP)r�_4GiBr��old_max_memuse�old_real_max_memuse�bigs&     r�test_set_memlimit�TestSupport.test_set_memlimit�s#������ �+�+��%�5�5��	:��{�{�U�"��$�$�T�*�� � ��!3�!3�U�;�� � ��!8�!8�%�@���f��m���$�$��u�A�Y�/�� � ��!3�!3�S�[�[�A�� � ��!8�!8�#�)�D��$�$�T�*�� � ��!3�!3�S�[�[�A�� � ��!8�!8�%�@�!/�G��&9�G�#��"0�G��&9�G�#�s�F�D8F�F#c���\P!R4pV'g\P!R4p\PP	V4p\PPV4'gVP
RV:24\PPVR4p\PPV4'gVP
RV:R24RR0p\P!V4pVP\P!W4VR0,4\PPVR4pVP\P!V\P!V44VRR	0,4\PPVR
4pVP\P!V\P!V44V4R#)�
abs_srcdir�srcdirz,cannot access Python source code directory: �Modulesz landmark is missingz.gitr��build�Doc�venv�ObjectsN)�	sysconfig�get_config_varr~r�abspathr��skipTestr��listdirrPr�copy_python_src_ignore)r�src_dir�landmark�ignored�namesrs&     r�test_copy_python_src_ignore�'TestSupport.test_copy_python_src_ignore�sv���*�*�<�8����.�.�x�8�G��'�'�/�/�'�*���w�w�~�~�g�&�&��M�M��%�[�*�
+��7�7�<�<���3���w�w�~�~�h�'�'��M�M��&�\�)=�?�
@��=�)���
�
�7�#������7�7��G� �G�9�,�	.��w�w�|�|�G�U�+������7�7��b�j�j��>N�O� �G�V�#4�4�	6��w�w�|�|�G�Y�/������7�7��b�j�j��>N�O� �	"rc��\\P4)R3\\P4)R3^�\\P4,R3RRR3F,wrVP\P!V4VV4K.	R#)�SIGINT�SIGSEGV�SIGABRTN)l�STATUS_ACCESS_VIOLATION)l��STATUS_STACK_OVERFLOW)l	�
0xC0000906)r��signalrrr rPr�get_signal_name)r�exitcoder�s&  r�test_get_signal_name� TestSupport.test_get_signal_namesz���&�-�-� �
 �(�+��&�.�.�!�
!�9�-�
�3�v�~�~�&�
&�	�2�3�1�&�
#
��H�
���W�4�4�X�>��%�
'�#
rc��\P!4pVPV4\P'dVP	V4VPV\P!44V'dSVP
V\4VP\V4R4VFpVP
V\4K	R#R#)r�N)r�r	)r�linked_to_musl�assertIsNotNone�	is_wasm32r��assertIsrB�tuplerpr:r�)r�linked�vs&  r�test_linked_to_musl�TestSupport.test_linked_to_musls����'�'�)�����V�$������O�O�F�#��
�
�f�g�4�4�6�7���!�!�&�%�0��M�M�#�f�+�v�.����%�%�a��-��rrr)Nr'r(r)r*�classmethodrCrGrTr^rbrer[�skiprlrtr�r�r�r�requires_working_socketr�r�r�r�r�r�r��
requires_forkr�r�r�r�r�rrrrrr"r'r.r3r;r?rErPrUr]rbrfrlry�
skipUnless�hasattrr~r��requires_subprocessr��requires_resourcer�r��skipIf�is_apple_mobile�is_wasir�r�r�r�r��skip_if_unlimited_stack_sizer�r�rrr'r1r+r,)rs@rr7r76s������C��C��C��C�5�>�
4�Q�
�]�]�&�'�D�(�D�/�!�2�0,�"
�$�$�&��'��
�$�$�&��'��

�$�$�&��'��
)�3� � 
�0
�������44�
4�
�0
�(,�4�R�:�4�
.�
*�7�
7�
,��C�(�"!�����G�	/�P�0�����Y�/�J�J�G�B�	�4J�;�=�����  ��=�  �D
� � �"�
-�#�
-�
���u�%�/#�&�/#�b
N��_�_�W�,�,�.H�I�
�_�_�W�_�_�&;�<�*�=�J�*�6�A�=�)3�V
�)�)�;�*�;�@!�":�.""�H
'�.�.rr7�__main__)"�
contextlibrr�rr/r~r�r$r�r�r�rjrr�r�r[r;�testr�test.supportrrrrrr{�
StreamHandlerr
�contextmanagerr5�TestCaser7r'�mainrrr�<module>rGs������	��	�
�
�
���
�������&�"�&�&�(�	�	�	����-�-�����+��+�t.�(�#�#�t.�Z�z���M�M�O�r

Youez - 2016 - github.com/yon3zu
LinuXploit