diff options
author | Chris Withers <chris@withers.org> | 2025-03-03 11:44:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-03 11:44:59 (GMT) |
commit | 04091c083340dde7d4eeb6d945c70f3b37d88f85 (patch) | |
tree | 8d2992f06e9ebd1371c957acd8a83c9d537ba107 /Python/formatter_unicode.c | |
parent | f693f8422700f889f90ab548ceeb24704a2ae952 (diff) | |
download | cpython-04091c083340dde7d4eeb6d945c70f3b37d88f85.zip cpython-04091c083340dde7d4eeb6d945c70f3b37d88f85.tar.gz cpython-04091c083340dde7d4eeb6d945c70f3b37d88f85.tar.bz2 |
`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.
Diffstat (limited to 'Python/formatter_unicode.c')
0 files changed, 0 insertions, 0 deletions