Michael Foord added the comment:

It maybe that patch.object is a more natural interface to the small sample of 
people commenting here, in which case great - that's what it's there for. 

However in common usage patch is used around two orders of magnitude more. I've 
seen large codebases with hundreds of uses of patch and only a handful of uses 
of patch.object.

To support the *minor* use case and not the major use case in TestCase would be 
an inanity.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11664>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to