1
0
forked from VimPlug/jedi

Remove some more Python 2/3.5 references

This commit is contained in:
Dave Halter
2020-07-02 00:24:51 +02:00
parent 50b85153ce
commit 7e295d05a1
8 changed files with 9 additions and 38 deletions

View File

@@ -307,7 +307,6 @@ def test_endless_yield():
_assert_interpreter_complete('list(lst)[9000].rea', locals(), ['real'])
@pytest.mark.skipif('py_version < 33', reason='inspect.signature was created in 3.3.')
def test_completion_params():
foo = lambda a, b=3: None
@@ -320,7 +319,6 @@ def test_completion_params():
assert t.name == 'int'
@pytest.mark.skipif('py_version < 33', reason='inspect.signature was created in 3.3.')
def test_completion_param_annotations():
# Need to define this function not directly in Python. Otherwise Jedi is too
# clever and uses the Python code instead of the signature object.