forked from VimPlug/jedi
self redirection solved
This commit is contained in:
@@ -9,6 +9,7 @@ sys.path.append('.')
|
||||
import functions
|
||||
from _compatibility import unicode, BytesIO
|
||||
|
||||
only_line = int(sys.argv[2]) if len(sys.argv) > 2 else None
|
||||
#functions.set_debug_function(functions.debug.print_to_stdout)
|
||||
|
||||
def run_completion_test(correct, source, line_nr, line):
|
||||
@@ -100,7 +101,7 @@ def completion_test(source):
|
||||
correct = None
|
||||
else:
|
||||
# reset the test, if only one specific test is wanted
|
||||
if len(sys.argv) > 2 and line_nr != int(sys.argv[2]):
|
||||
if only_line is not None and line_nr != only_line:
|
||||
correct = None
|
||||
import debug
|
||||
debug.debug_function = \
|
||||
|
||||
Reference in New Issue
Block a user