Closed GoogleCodeExporter closed 9 years ago
Is there a workaround while this is being fixed to know what really failed?
Original comment by praveen....@gmail.com
on 12 Nov 2008 at 12:23
This is a rather naive fix (it will mess up actual attempts to mock __str__ and
__repr__) but it's been helpful for me in terms of debugging. In the
MockAnything
class definition (mox.py ln 265) add the following:
def __str__(self):
return "<MockAnything instance>"
def __repr__(self):
return self.__str__()
Original comment by agora...@gmail.com
on 18 Feb 2009 at 3:34
Attached is a patch against r28 with agoartim's change and a test that
exercises it.
Original comment by therobot...@gmail.com
on 29 Apr 2009 at 6:07
Attachments:
Fixed in revision 29. Thanks for the patch! :)
Original comment by smidd...@gmail.com
on 5 May 2009 at 10:55
Original issue reported on code.google.com by
jmilli...@gmail.com
on 4 Oct 2008 at 5:06