forked from VimPlug/jedi
Remove the skip_python2 fixture
This commit is contained in:
@@ -126,7 +126,7 @@ def test_math(Script):
|
||||
assert value
|
||||
|
||||
|
||||
def test_type_var(Script, skip_python2):
|
||||
def test_type_var(Script):
|
||||
def_, = Script('import typing; T = typing.TypeVar("T1")').infer()
|
||||
assert def_.name == 'TypeVar'
|
||||
assert def_.description == 'class TypeVar'
|
||||
|
||||
@@ -85,7 +85,7 @@ def test_find_module_package_zipped(Script, inference_state, environment):
|
||||
|
||||
)
|
||||
def test_correct_zip_package_behavior(Script, inference_state, environment, code,
|
||||
file, package, path, skip_python2):
|
||||
file, package, path):
|
||||
sys_path = environment.get_sys_path() + [pkg_zip_path]
|
||||
pkg, = Script(code, project=Project('.', sys_path=sys_path)).infer()
|
||||
value, = pkg._name.infer()
|
||||
|
||||
@@ -26,7 +26,7 @@ def test_f_strings(Script, environment):
|
||||
assert _infer_literal(Script, 'rF"{asdf} "', is_fstring=True) == ''
|
||||
|
||||
|
||||
def test_rb_strings(Script, environment, skip_python2):
|
||||
def test_rb_strings(Script, environment):
|
||||
assert _infer_literal(Script, 'x = br"asdf"; x') == b'asdf'
|
||||
assert _infer_literal(Script, 'x = rb"asdf"; x') == b'asdf'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user