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

@@ -43,11 +43,6 @@ from test.helpers import root_dir
])
def test_infer_and_goto(Script, code, full_name, has_stub, has_python, way,
kwargs, type_, options, environment):
if environment.version_info < (3, 5):
# We just don't care about much of the detailed Python 2 failures
# anymore, because its end-of-life soon.
pytest.skip()
if type_ == 'infer' and full_name == 'typing.Sequence' and environment.version_info >= (3, 7):
# In Python 3.7+ there's not really a sequence definition, there's just
# a name that leads nowhere.