cpython/Lib/test/test_unittest/testmock
Red4Ru 1e40c5ba47
gh-104745: Limit starting a patcher more than once without stopping it (#126649)
Previously, this would cause an `AttributeError` if the patch stopped more than once after this, and would also disrupt the original patched object.

---------

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-11-13 08:20:38 +00:00
..
__init__.py
__main__.py
support.py
testasync.py
testcallable.py
testhelpers.py gh-124176: Add special support for dataclasses to create_autospec (#124429) 2024-09-27 09:48:31 +03:00
testmagicmethods.py gh-123934: Fix MagicMock not to reset magic method return values (#124038) 2024-09-19 10:55:47 +03:00
testmock.py
testpatch.py gh-104745: Limit starting a patcher more than once without stopping it (#126649) 2024-11-13 08:20:38 +00:00
testsealable.py
testsentinel.py
testthreadingmock.py
testwith.py