[issue21600] mock.patch.stopall doesn't work with patch.dict to sys.modules

Colton Leekley-Winslow report at bugs.python.org
Wed Dec 10 20:11:38 CET 2014


Colton Leekley-Winslow added the comment:

Patching sys.modules is an idea I got  from the official documentation

https://docs.python.org/3/library/unittest.mock.html#patch-dict

http://mock.readthedocs.org/en/latest/patch.html#patch-dict

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21600>
_______________________________________


More information about the Python-bugs-list mailing list