mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
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 | ||