From d4ddf772abf13e0fcd02d8c1fd7ffb34560873d0 Mon Sep 17 00:00:00 2001 From: Megan Wachs Date: Mon, 14 Aug 2017 10:17:01 -0700 Subject: [PATCH] When a test fails with exception, actually print out the reason why. --- debug/testlib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debug/testlib.py b/debug/testlib.py index 9a45cd0..b81b4cd 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -560,6 +560,8 @@ class BaseTest(object): result = "fail" else: result = "exception" + header ("Backtrace") + print e if isinstance(e, TestFailed): header("Message") print e.message -- 2.30.2