[issue11664] Add patch method to unittest.TestCase

Michael Foord report at bugs.python.org
Mon Oct 13 00:47:52 CEST 2014


Michael Foord added the comment:

The patch (including lazy import) looks good, and the test looks ok too. I still think that patch should be the default instead of patch.object - although I wouldn't object to a second method (name?) if there was significant demand.

----------

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


More information about the Python-bugs-list mailing list