mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Ignore some tests for Python 3.4, because it's end of life soon and the typing library doesn't exist for it
This commit is contained in:
@@ -42,9 +42,9 @@ from test.helpers import root_dir
|
||||
])
|
||||
def test_infer_and_goto(Script, code, full_name, has_stub, has_python, way,
|
||||
kwargs, type_, goto_changes, environment):
|
||||
if environment.version_info.major == 2:
|
||||
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.
|
||||
# anymore, because its end-of-life soon. (same for 3.4)
|
||||
pytest.skip()
|
||||
|
||||
if type_ == 'infer' and full_name == 'typing.Sequence' and environment.version_info >= (3, 7):
|
||||
|
||||
Reference in New Issue
Block a user