mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 22:14:27 +08:00
Get rid of completions in tests
This commit is contained in:
@@ -70,8 +70,8 @@ def test_add_to_end(Script):
|
||||
" self."
|
||||
|
||||
def complete(code, line=None, column=None):
|
||||
script = Script(code, line, column, 'example.py')
|
||||
assert script.completions()
|
||||
script = Script(code, 'example.py')
|
||||
assert script.complete(line, column)
|
||||
|
||||
complete(a, 7, 12)
|
||||
complete(a + b)
|
||||
|
||||
Reference in New Issue
Block a user