Message263193
| Author |
palaviv |
| Recipients |
michael.foord, palaviv, pitrou, r.david.murray |
| Date |
2016年04月11日.17:50:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1460397003.75.0.882893586362.issue14265@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Included is a patch with the suggested change.
I changed the TestCase.__str__ method to:
return "%s (%s.%s)" % (self._testMethodName, strclass(self.__class__), self._testMethodName)
instead of
return "%s (%s)" % (self._testMethodName, strclass(self.__class__))
So now a failed test look like this:
======================================================================
ERROR: test_error_handling (Lib.test.test_logging.StreamHandlerTest.test_error_handling)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/aviv/dev/cpython/Lib/test/test_logging.py", line 641, in test_error_handling
self.assertIs(h.error_record, r)
AttributeError: 'TestStreamHandler' object has no attribute 'error_record'
---------------------------------------------------------------------- |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年04月11日 17:50:03 | palaviv | set | recipients:
+ palaviv, pitrou, r.david.murray, michael.foord |
| 2016年04月11日 17:50:03 | palaviv | set | messageid: <1460397003.75.0.882893586362.issue14265@psf.upfronthosting.co.za> |
| 2016年04月11日 17:50:03 | palaviv | link | issue14265 messages |
| 2016年04月11日 17:50:03 | palaviv | create |
|