Commit 867e1732 authored by Tim Peters's avatar Tim Peters

It appears that unittest was changed to stop hoarding raw exception data,

saving instead a traceback string, but test_support's run_unittest was
still peeking into unittest internals and trying to pick apart unittest's
errors and failures vectors as if they contained exc_info() tuples instead
of strings.
Whatever, when a unittest-based test failed, test_support blew up.  I'm
not sure this is the right way to fix it; it simply gets me unstuck.
parent c8c9565a
......@@ -155,7 +155,4 @@ def run_unittest(testclass):
else:
raise TestFailed("errors occurred in %s.%s"
% (testclass.__module__, testclass.__name__))
if err[0] is AssertionError:
raise TestFailed(str(err[1]))
else:
raise TestFailed("%s: %s" % err[:2])
raise TestFailed(err)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment