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.
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)