cpython/Lib/test/test_unittest
Chris Withers 04091c0833
unittest.mock test and coverage fixup (#130787)
* Mark functions that will never be called with # pragma: no cover

* Fix testpatch.PatchTest.test_exit_idempotent

.stop() and __exit__ have subtly different code paths, so to really test __exit__ idempotency, we need to call it specifically twice.
2025-03-03 11:44:59 +00:00
..
namespace_test_pkg
testmock unittest.mock test and coverage fixup (#130787) 2025-03-03 11:44:59 +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 gh-71339: Fix an order-dependent failure in test_unittest (GH-129133) 2025-01-21 16:45:20 +02:00
test_discovery.py
test_functiontestcase.py
test_loader.py
test_program.py gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877) 2025-01-21 16:10:08 +00:00
test_result.py gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877) 2025-01-21 16:10:08 +00:00
test_runner.py gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877) 2025-01-21 16:10:08 +00:00
test_setups.py
test_skipping.py
test_suite.py
test_util.py