Your IP : 216.73.216.52
��YfW � @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l
Z
d d � Z d d � Z d d � Z
d d
� Z d d d � Z d
d � Z d d � Z e d k r� e � d S)a�
Command line tool to bisect failing CPython tests.
Find the test_os test method which alters the environment:
./python -m test.bisect --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 -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 -i tests test_os
� Nc C sH t | d � �2 } x | D] } t | d | �q W| j � Wd QRXd S)N�w�file)�open�print�flush)�filename�tests�fp�name� r �0/opt/alt/python35/lib64/python3.5/test/bisect.py�write_tests s
r
c C s5 | s
d St d t | � | f � t | | � | S)NzWrite %s tests into %s)r �lenr
)r r r r r �write_output&