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 =
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: