This commit is contained in:
David Halter
2012-07-30 01:00:48 +02:00
parent 0a3a167561
commit eb7e877fd9
4 changed files with 13 additions and 12 deletions

View File

@@ -27,6 +27,9 @@ def run_completion_test(correct, source, line_nr, line, path):
# difference for testing)
try:
completions = functions.complete(source, line_nr, len(line), path)
#import cProfile as profile
#profile.run('functions.complete("""%s""", %i, %i, "%s")'
# % (source, line_nr, len(line), path))
except Exception:
print('test @%s: %s' % (line_nr - 1, line))
print(traceback.format_exc())