1
0
forked from VimPlug/jedi

Remove a lot of test references to Python 2/3.5

This commit is contained in:
Dave Halter
2020-07-02 00:17:21 +02:00
parent 0e5869b52f
commit 50b85153ce
32 changed files with 24 additions and 87 deletions

View File

@@ -175,7 +175,7 @@ def test_tree_signature(Script, environment, code, expected):
('no_redirect(simple)', '*args, **kwargs'),
]
)
def test_nested_signatures(Script, environment, combination, expected, skip_pre_python35):
def test_nested_signatures(Script, environment, combination, expected):
code = dedent('''
def simple(a, b, *, c): ...
def simple2(x): ...
@@ -265,7 +265,7 @@ def test_pow_signature(Script):
x(f)('''), 'f()'],
]
)
def test_wraps_signature(Script, code, signature, skip_pre_python35):
def test_wraps_signature(Script, code, signature):
sigs = Script(code).get_signatures()
assert {sig.to_string() for sig in sigs} == {signature}
@@ -315,7 +315,7 @@ def test_dataclass_signature(Script, skip_pre_python37, start, start_params):
('kwargs = dict(b=3)', 'wrapped(b, /, **kwargs)'),
]
)
def test_param_resolving_to_static(Script, stmt, expected, skip_pre_python35):
def test_param_resolving_to_static(Script, stmt, expected):
code = dedent('''\
def full_redirect(func):
def wrapped(*args, **kwargs):