mirror of https://github.com/python/cpython
02b84cb1b4
Return None after calling unittest.mock.patch.object.stop() regardless of whether the object was started. This makes the method idempotent. https://bugs.python.org/issue36366 |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
support.py | ||
testcallable.py | ||
testhelpers.py | ||
testmagicmethods.py | ||
testmock.py | ||
testpatch.py | ||
testsealable.py | ||
testsentinel.py | ||
testwith.py |