[issue21239] unittest.mock.patch.stopall intermittently doesn't work when the same thing is patched multiple times

2014-04-15 Thread Michael Foord
New submission from Michael Foord: stopall does not always stop all patches to single target http://code.google.com/p/mock/issues/detail?id=226 What steps will reproduce the problem? python code to reproduce error import mock def myfunc(): return 'hello' m =

[issue21239] unittest.mock.patch.stopall intermittently doesn't work when the same thing is patched multiple times

2014-04-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 727b7e9c40e3 by Michael Foord in branch '3.4': Closes issue 21239. unittest.mock.patch.stopall() did not work deterministically when the same name was patched multiple times. http://hg.python.org/cpython/rev/727b7e9c40e3 -- nosy: