[py-svn] r45647 - py/trunk/py/test
fijal at codespeak.net
fijal at codespeak.net
Tue Aug 14 11:47:28 CEST 2007
Author: fijal
Date: Tue Aug 14 11:47:27 2007
New Revision: 45647
Modified:
py/trunk/py/test/outcome.py
Log:
use repr() rather than direct return
Modified: py/trunk/py/test/outcome.py
==============================================================================
--- py/trunk/py/test/outcome.py (original)
+++ py/trunk/py/test/outcome.py Tue Aug 14 11:47:27 2007
@@ -9,7 +9,7 @@
def __repr__(self):
if self.msg:
- return self.msg
+ return repr(self.msg)
return "<%s instance>" %(self.__class__.__name__,)
__str__ = __repr__
More information about the py-svn
mailing list