SIGN IN SIGN UP

bpo-30540: regrtest: add --matchfile option (#1909)

* Add a new option taking a filename to get a list of test names to
  filter tests.
* support.match_tests becomes a list.
* Modify run_unittest() to accept to match the whole test identifier,
  not just a part of a test identifier.

For example, the following command only runs test_default_timeout()
of the BarrierTests class of test_threading:

$ ./python -m test -v test_threading -m test.test_threading.BarrierTests.test_default_timeout

Remove also some empty lines from test_regrtest.py to make flake8
tool happy.
V
Victor Stinner committed
ef8320cf6f09b659c63bfb188bf45dbcae556762
Parent: 824f687
Committed by GitHub <noreply@github.com> on 6/9/2017, 8:18:48 AM