cpython/Lib/unittest/test/testmock
Xtreak 02b84cb1b4 bpo-36366: Return None on stopping unstarted patch object (GH-12472)
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
2019-03-28 14:08:43 -07:00
..
__init__.py
__main__.py
support.py bpo-35512: Resolve string target to patch.dict decorator during function call GH#12000 2019-02-24 18:54:49 +00:00
testcallable.py bpo-35357: Add _mock_ prefix to name/parent/from_kall attributes of _Call/_MagicProxy. (#10873) 2018-12-04 09:08:45 +00:00
testhelpers.py bpo-21269: Provide args and kwargs attributes on mock call objects GH11807 2019-03-22 08:10:40 +00:00
testmagicmethods.py
testmock.py bpo-21269: Provide args and kwargs attributes on mock call objects GH11807 2019-03-22 08:10:40 +00:00
testpatch.py bpo-36366: Return None on stopping unstarted patch object (GH-12472) 2019-03-28 14:08:43 -07:00
testsealable.py
testsentinel.py
testwith.py Add test for double patching instance methods (#11085) 2018-12-12 07:56:35 +00:00