SIGN IN SIGN UP

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
X
Xtreak committed
02b84cb1b4f5407309c81c8b1ae0397355d6e568
Parent: 3d78c4a
Committed by Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> on 3/28/2019, 9:08:43 PM