summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_unittest/test_program.py
Commit message (Collapse)AuthorAgeFilesLines
* [3.12] GH-113661: unittest runner: Don't exit 5 if tests were skipped ↵Miss Islington (bot)2024-01-091-0/+12
| | | | | | | | | | | | (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 3a9096c337c16c9335e0d4eba8d1d4196258af72) Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
* gh-62432: unittest runner: Exit code 5 if no tests were run (#102051)Stefano Rivera2023-04-271-20/+37
| | | | | | | | 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
* bpo-4080: unittest durations (#12271)Giampaolo Rodola2023-04-021-2/+7
|
* Revert "bpo-45162: Revert "Remove many old deprecated unittest features"" ↵Serhiy Storchaka2022-06-261-8/+8
| | | | | | (GH-92556) This reverts commit b50322d20337ca468f2070eedb051a16ee1eba94.
* gh-84623: Remove unused imports (#94132)Victor Stinner2022-06-221-2/+0
|
* gh-93839: Move Lib/unttest/test/ to Lib/test/test_unittest/ (#94043)Victor Stinner2022-06-211-0/+477
* Move Lib/unittest/test/ to Lib/test/test_unittest/ * Remove Lib/test/test_unittest.py * Replace unittest.test with test.test_unittest * Remove unittest.load_tests() * Rewrite unittest __init__.py and __main__.py * Update build system, CODEOWNERS, and wasm_assets.py