cpython/Lib/test/test_unittest
Miss Islington (bot) 159e3db1f7
[3.12] GH-113661: unittest runner: Don't exit 5 if tests were skipped (GH-113856) (#113875)
GH-113661: unittest runner: Don't exit 5 if tests were skipped (GH-113856)

The intention of exiting 5 was to detect issues where the test suite
wasn't discovered at all. If we skipped tests, it was correctly
discovered.
(cherry picked from commit 3a9096c337)

Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
2024-01-09 13:34:38 -08:00
..
testmock [3.12] gh-111019: Align expected and actual titles in test output (GH-111020) (#111024) 2023-10-18 08:01:18 +00:00
__init__.py
__main__.py
_test_warnings.py
dummy.py
support.py
test_assertions.py
test_async_case.py
test_break.py
test_case.py
test_discovery.py [3.12] gh-106584: Fix exit code for unittest in Python 3.12 (GH-106588) (#109725) 2023-10-02 17:18:41 +02:00
test_functiontestcase.py
test_loader.py
test_program.py [3.12] GH-113661: unittest runner: Don't exit 5 if tests were skipped (GH-113856) (#113875) 2024-01-09 13:34:38 -08:00
test_result.py
test_runner.py
test_setups.py
test_skipping.py [3.12] gh-106584: Fix exit code for unittest in Python 3.12 (GH-106588) (#109725) 2023-10-02 17:18:41 +02:00
test_suite.py