1
0
forked from VimPlug/jedi

Get rid of completions in tests

This commit is contained in:
Dave Halter
2019-12-20 16:29:43 +01:00
parent 38460ce9d7
commit 2cc898ba35
27 changed files with 144 additions and 144 deletions

View File

@@ -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()