Finally fix all tests.

This commit is contained in:
Dave Halter committed 2016-07-25 00:15:58 +02:00
1 parent ebbaaf7ad2
commit aeb734564c
3 files changed
+6 -14

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ def setup_readline(namespace_module=__main__):
lines = common.splitlines(text)
position = (len(lines), len(lines[-1]))
name = get_on_completion_name(interpreter._get_module(), position)
name = get_on_completion_name(interpreter._get_module(), lines, position)
before = text[:len(text) - len(name)]
completions = interpreter.completions()
finally: