diff options
author | Victor Stinner <vstinner@python.org> | 2022-11-02 14:37:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 14:37:40 (GMT) |
commit | c76db37c0d23174cbffd6fa978d39693890ef020 (patch) | |
tree | e0030f4e747e9a682125954f315e4d4f57bb0cb0 /Misc | |
parent | 0689b99bb8c4f6058af43a52effaa8a25609dbed (diff) | |
download | cpython-c76db37c0d23174cbffd6fa978d39693890ef020.zip cpython-c76db37c0d23174cbffd6fa978d39693890ef020.tar.gz cpython-c76db37c0d23174cbffd6fa978d39693890ef020.tar.bz2 |
gh-98903: Test suite fails with exit code 4 if no tests ran (#98904)
The Python test suite now fails wit exit code 4 if no tests ran. It
should help detecting typos in test names and test methods.
* Add "EXITCODE_" constants to Lib/test/libregrtest/main.py.
* Fix a typo: "NO TEST RUN" becomes "NO TESTS RAN"
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2022-10-31-14-47-49.gh-issue-98903.7KinCV.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2022-10-31-14-47-49.gh-issue-98903.7KinCV.rst b/Misc/NEWS.d/next/Tests/2022-10-31-14-47-49.gh-issue-98903.7KinCV.rst new file mode 100644 index 0000000..65636ab --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2022-10-31-14-47-49.gh-issue-98903.7KinCV.rst @@ -0,0 +1,2 @@ +The Python test suite now fails wit exit code 4 if no tests ran. It should +help detecting typos in test names and test methods. |