[issue25687] Error during test case and tearDown
Gedai Tamás Bence
report at bugs.python.org
Wed Jan 20 11:57:43 EST 2016
Gedai Tamás Bence added the comment:
I think it's in the docs, although if you don't find it sufficient I might try to update it.
`tearDown method <https://docs.python.org/3.5/library/unittest.html#unittest.TestCase.tearDown>`_
"This is called even if the test method raised an exception [...] Any exception, other than AssertionError or SkipTest, raised by this method will be considered an error rather than a test failure. This method will only be called if the setUp() succeeds, regardless of the outcome of the test method."
----------
nosy: +beng94
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25687>
_______________________________________
More information about the Python-bugs-list
mailing list