]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34279: regrtest consider that skipped tests are ran (GH-11132)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 14 Dec 2018 12:26:58 +0000 (04:26 -0800)
committerGitHub <noreply@github.com>
Fri, 14 Dec 2018 12:26:58 +0000 (04:26 -0800)
commit5f252e1ebc098fff7f88fbf89d203b1dd15fe7fa
treeb00a2a2cf09b56621a2e688b923eac49a19a8209
parent527008599dca9377aa3e71da5e5068433ae2222e
bpo-34279: regrtest consider that skipped tests are ran (GH-11132)

bpo-34279, bpo-35412: support.run_unittest() no longer raises
TestDidNotRun if a test result contains skipped tests. The
exception is now only raised if no test have been run and no test
have been skipped.
(cherry picked from commit 3a8f4fef4a4dd0e4a800545468eef9542e126181)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
Lib/test/support/__init__.py
Lib/test/test_regrtest.py
Misc/NEWS.d/next/Tests/2018-12-12-18-20-18.bpo-34279.DhKcuP.rst [new file with mode: 0644]