cpython/Lib/test/test_unittest
Stefano Rivera 76632b836c
gh-62432: unittest runner: Exit code 5 if no tests were run (#102051)
As discussed in https://discuss.python.org/t/unittest-fail-if-zero-tests-were-discovered/21498/7

It is common for test runner misconfiguration to fail to find any tests,
This should be an error.

Fixes: #62432
2023-04-27 01:28:46 +00:00
..
testmock gh-102978: Fix mock.patch function signatures for class and staticmethod decorators (#103228) 2023-04-13 08:37:57 +01:00
__init__.py
__main__.py
_test_warnings.py
dummy.py
support.py bpo-4080: unittest durations (#12271) 2023-04-03 00:12:51 +02:00
test_assertions.py
test_async_case.py
test_break.py bpo-4080: unittest durations (#12271) 2023-04-03 00:12:51 +02:00
test_case.py gh-48330: assert warning is emitted on unittest.TestResult with no addDuration (#103309) 2023-04-06 14:05:23 +01:00
test_discovery.py
test_functiontestcase.py
test_loader.py
test_program.py gh-62432: unittest runner: Exit code 5 if no tests were run (#102051) 2023-04-27 01:28:46 +00:00
test_result.py gh-62432: unittest runner: Exit code 5 if no tests were run (#102051) 2023-04-27 01:28:46 +00:00
test_runner.py gh-62432: unittest runner: Exit code 5 if no tests were run (#102051) 2023-04-27 01:28:46 +00:00
test_setups.py
test_skipping.py
test_suite.py