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

Michael Foord report at bugs.python.org
Thu Dec 11 11:18:07 CET 2014


Michael Foord added the comment:

Using patch.dict manipulates the contents of sys.modules, it doesn't replace sys.modules.

----------

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


More information about the Python-bugs-list mailing list