mirror of
https://github.com/davidhalter/jedi.git
synced 2026-01-09 05:22:19 +08:00
Remove some more Python 2/3.5 references
This commit is contained in:
@@ -144,9 +144,6 @@ def test_in_comment_before_string(Script):
|
||||
|
||||
|
||||
def test_async(Script, environment):
|
||||
if environment.version_info < (3, 5):
|
||||
pytest.skip()
|
||||
|
||||
code = dedent('''
|
||||
foo = 3
|
||||
async def x():
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user