diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-12-14 04:26:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-14 04:26:58 -0800 |
commit | 5f252e1ebc098fff7f88fbf89d203b1dd15fe7fa (patch) | |
tree | b00a2a2cf09b56621a2e688b923eac49a19a8209 /Misc/NEWS.d/next/Tests | |
parent | 527008599dca9377aa3e71da5e5068433ae2222e (diff) | |
download | cpython-git-5f252e1ebc098fff7f88fbf89d203b1dd15fe7fa.tar.gz |
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>
Diffstat (limited to 'Misc/NEWS.d/next/Tests')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2018-12-12-18-20-18.bpo-34279.DhKcuP.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2018-12-12-18-20-18.bpo-34279.DhKcuP.rst b/Misc/NEWS.d/next/Tests/2018-12-12-18-20-18.bpo-34279.DhKcuP.rst new file mode 100644 index 0000000000..5a70cc5308 --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2018-12-12-18-20-18.bpo-34279.DhKcuP.rst @@ -0,0 +1,3 @@ +:func:`test.support.run_unittest` no longer raise :exc:`TestDidNotRun` if +the test result contains skipped tests. The exception is now only raised if +no test have been run and no test have been skipped. |