From 8ff0c48c6407baf83f26fde70dd2a15a333fea80 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sun, 2 Jun 2013 13:41:14 -0700 Subject: [PATCH] tests: only show relevant traceback info --- tests/python_tests/utilities.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/python_tests/utilities.py b/tests/python_tests/utilities.py index d42dd94a3..9d413a97f 100644 --- a/tests/python_tests/utilities.py +++ b/tests/python_tests/utilities.py @@ -74,7 +74,8 @@ def run_all(iterable): sys.stderr.write(" Traceback:\n") for mline in traceback.format_tb(exc_tb): for line in mline.rstrip().split("\n"): - sys.stderr.write(" " + line + "\n") + if not 'utilities.py' in line and not 'trivial.py' in line and not line.strip() == 'test()': + sys.stderr.write(" " + line + "\n") sys.stderr.flush() return failed