[issue11664] Add patch method to unittest.TestCase

Michael Foord report at bugs.python.org
Mon Sep 17 15:48:57 CEST 2012


Michael Foord added the comment:

Why would mock.patch.object be the appropriate one to add to TestCase? patch.object is used orders of magnitude less than patch.

----------

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


More information about the Python-bugs-list mailing list