mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
print on errors at the end, not start
This commit is contained in:
@@ -50,8 +50,8 @@ def run_definition_test(correct, source, line_nr, line, correct_start, path):
|
|||||||
try:
|
try:
|
||||||
result = defs(line_nr, len(line))
|
result = defs(line_nr, len(line))
|
||||||
except Exception:
|
except Exception:
|
||||||
print('test @%s: %s' % (line_nr - 1, line))
|
|
||||||
print(traceback.format_exc())
|
print(traceback.format_exc())
|
||||||
|
print('test @%s: %s' % (line_nr - 1, line))
|
||||||
return 1
|
return 1
|
||||||
else:
|
else:
|
||||||
should_be = set()
|
should_be = set()
|
||||||
|
|||||||
Reference in New Issue
Block a user