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
__init__.py
__main__.py
_test_warnings.py
dummy.py
support.py
test_assertions.py
test_async_case.py
test_break.py
test_case.py
test_discovery.py
test_functiontestcase.py
test_loader.py
test_program.py
test_result.py
test_runner.py
test_setups.py
test_skipping.py
test_suite.py
test_util.py