]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30523: regrtest --list-cases --match (#2401)
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 26 Jun 2017 12:18:51 +0000 (14:18 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 27 Jun 2017 14:06:37 +0000 (16:06 +0200)
commit36946c06a3bdb1104c53f0fe535086572ffbdd9e
treef6fe94eec30469b9f0e96c763ec8353e4089231d
parenteef254d6c6b13db2f3d6a2f219bc76e84416f59c
bpo-30523: regrtest --list-cases --match (#2401)

* regrtest --list-cases now supports --match and --match-file options.
  Example: ./python -m test --list-cases -m FileTests test_os
* --list-cases now also sets support.verbose to False to prevent
  messages to stdout when loading test modules.
* Add support._match_test() private function.
(cherry picked from commit ace56d583664f855d89d1219ece7c21c2fddcf30)
Lib/test/regrtest.py
Lib/test/support/__init__.py
Lib/test/test_regrtest.py