[New-bugs-announce] [issue1467] error in TestResult.addError and TestResult.addFailure
Raghuram Devarakonda
report at bugs.python.org
Mon Nov 19 21:23:59 CET 2007
New submission from Raghuram Devarakonda:
The page at
http://docs.python.org/dev/library/unittest.html#module-unittest says:
-------------
TestResult.addError(test, err)
Called when the test case test raises an unexpected exception err is
a tuple of the form returned by sys.exc_info(): (type, value, traceback).
The default implementation appends (test, err) to the instance's
errors attribute.
--------------
Starting from 2.2, a formatted traceback is added to the "error"
attribute instead of the actual sys.exc_info(). The same error is
present for addFailure() as well.
----------
components: Documentation
messages: 57663
nosy: draghuram
severity: minor
status: open
title: error in TestResult.addError and TestResult.addFailure
versions: Python 2.6
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1467>
__________________________________
More information about the New-bugs-announce
mailing list