diff options
Diffstat (limited to 'Lib/test/test_support.py')
| -rw-r--r-- | Lib/test/test_support.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 5391f68..0e87131 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -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) |
