| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.10/test/__pycache__/ |
Upload File : |
o
�9j� � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
dd� Zdd� Zdd� Z
d d
� Zdd� Zdd
d�Zdd� Zdd� ZedkrPe� dS dS )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
� Nc C sN t | d��}|D ]}t||d� q|�� W d � d S 1 s w Y d S )N�w)�file)�open�print�flush)�filename�tests�fp�name� r �&/usr/lib/python3.10/test/bisect_cmd.py�write_tests s
"�r
c C s* | sd S t dt|�| f � t| |� | S )NzWriting %s tests into %s)r �lenr
)r r r r r �write_output&