[issue24959] unittest swallows part of stack trace when raising AssertionError in a TestCase

Robert Collins report at bugs.python.org
Sun Mar 13 23:07:09 EDT 2016


Robert Collins added the comment:

Hmm, this is a little surprising, but - why are you raising AssertionError like that - thats what assertRaises is for.

----------
stage:  -> needs patch

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


More information about the Python-bugs-list mailing list