cpython/Lib/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
..
__init__.py
__main__.py
_log.py
async_case.py gh-97837: Change deprecation warning message in unittest (#97838) 2022-10-04 17:29:18 -07:00
case.py bpo-4080: unittest durations (#12271) 2023-04-03 00:12:51 +02:00
loader.py Remove unused import of warnings from unittest.loader (#102479) 2023-03-06 22:02:19 +00:00
main.py gh-62432: unittest runner: Exit code 5 if no tests were run (#102051) 2023-04-27 01:28:46 +00:00
mock.py gh-102978: Fix mock.patch function signatures for class and staticmethod decorators (#103228) 2023-04-13 08:37:57 +01:00
result.py gh-48330: address review comments to PR-12271 (#103209) 2023-04-17 00:19:44 +02:00
runner.py gh-62432: unittest runner: Exit code 5 if no tests were run (#102051) 2023-04-27 01:28:46 +00:00
signals.py
suite.py
util.py