forked from VimPlug/jedi
Get rid of completions in tests
This commit is contained in:
@@ -33,7 +33,7 @@ def _check_speed(time_per_run, number=4, run_warm=True):
|
||||
@_check_speed(0.5)
|
||||
def test_os_path_join(Script):
|
||||
s = "from posixpath import join; join('', '')."
|
||||
assert len(Script(s).completions()) > 10 # is a str completion
|
||||
assert len(Script(s).complete()) > 10 # is a str completion
|
||||
|
||||
|
||||
@_check_speed(0.15)
|
||||
@@ -70,4 +70,4 @@ def test_no_repr_computation(Script):
|
||||
def __repr__(self):
|
||||
time.sleep(0.2)
|
||||
test = SlowRepr()
|
||||
jedi.Interpreter('test.som', [locals()]).completions()
|
||||
jedi.Interpreter('test.som', [locals()]).complete()
|
||||
|
||||
Reference in New Issue
Block a user