mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14: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:
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user