]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34279: regrtest consider that skipped tests are ran (GH-11132) (GH-11158)
authorVictor Stinner <vstinner@redhat.com>
Fri, 14 Dec 2018 12:44:08 +0000 (13:44 +0100)
committerGitHub <noreply@github.com>
Fri, 14 Dec 2018 12:44:08 +0000 (13:44 +0100)
commit34b7c438b8dc0a1e7e23c9b2d7ce7f8a7c31b4f4
tree88bdc9e2ebe4aa64850d57f5c31947b8dcecee73
parent16d63202af35dadd652a5e3eae687ea709e95b11
bpo-34279: regrtest consider that skipped tests are ran (GH-11132) (GH-11158)

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)
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]