
report at bugs
Nov 19, 2007, 12:23 PM
Post #1 of 2
(168 views)
Permalink
|
|
[issue1467] error in TestResult.addError and TestResult.addFailure
|
|
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> <http://bugs.python.org/issue1467> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|