[issue11664] Add patch method to unittest.TestCase

Michael Foord report at bugs.python.org
Mon Mar 12 20:03:52 CET 2012


Michael Foord <michael at voidspace.org.uk> added the comment:

mock is being added to Python 3.3 as unittest.mock - so a helper TestCase.patch should delegate to unittest.mock.patch.

----------

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


More information about the Python-bugs-list mailing list