From e359eb589896f15186e540a61d6901ddf78e5218 Mon Sep 17 00:00:00 2001 From: David Halter Date: Tue, 4 Sep 2012 12:16:01 +0200 Subject: [PATCH] print on errors at the end, not start --- test/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run.py b/test/run.py index 89a433d6..65de003e 100755 --- a/test/run.py +++ b/test/run.py @@ -50,8 +50,8 @@ def run_definition_test(correct, source, line_nr, line, correct_start, path): try: result = defs(line_nr, len(line)) except Exception: - print('test @%s: %s' % (line_nr - 1, line)) print(traceback.format_exc()) + print('test @%s: %s' % (line_nr - 1, line)) return 1 else: should_be = set()