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 Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556) 2022-06-26 10:18:06 +03:00
dummy.py
support.py bpo-4080: unittest durations (#12271) 2023-04-03 00:12:51 +02:00
test_assertions.py Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" (GH-92556) 2022-06-26 10:18:06 +03:00
test_async_case.py Add more details in test_unittest (GH-99626) 2022-11-21 13:57:30 +02:00
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 gh-102515: Remove unused imports in the `Lib/` directory (#102516) 2023-03-08 11:45:38 +00:00
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