bpo-36366: Return None on stopping unstarted patch object#12472
Conversation
brettcannon
left a comment
There was a problem hiding this comment.
Some minor naming and grammar stuff, otherwise LGTM!
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Co-Authored-By: tirkarthi <tir.karthi@gmail.com>
|
Travis has some problems https://www.traviscistatus.com |
|
I have made the requested changes; please review again. |
|
Thanks for making the requested changes! @brettcannon: please review the changes made to this pull request. |
|
Thanks Brett :) |
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