[New-bugs-announce] [issue16599] unittest: Access test result from tearDown

anatoly techtonik report at bugs.python.org
Mon Dec 3 10:42:03 CET 2012


New submission from anatoly techtonik:

A common usage pattern is to prevent clean up in tearDown() if the test failed. However, it requires a hack: http://stackoverflow.com/questions/4414234/getting-pythons-unittest-results-in-a-teardown-method. Would be nice to have an officially documented feature.

----------
components: Library (Lib), Tests
messages: 176832
nosy: techtonik
priority: normal
severity: normal
status: open
title: unittest: Access test result from tearDown
versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16599>
_______________________________________


More information about the New-bugs-announce mailing list