1
0
forked from VimPlug/jedi

Run get_type_hint tests only for 3.6+

This commit is contained in:
Dave Halter
2020-02-03 01:03:12 +01:00
parent eee919174d
commit 3ad3dc08b8

View File

@@ -594,7 +594,7 @@ def test_definition_goto_follow_imports(Script):
'foo(x: str, y: int=None) -> Union[int, str]'),
]
)
def test_get_type_hint(Script, code, expected, skip_pre_python35):
def test_get_type_hint(Script, code, expected, skip_pre_python36):
code = 'from typing import *\n' + code
d, = Script(code).goto()
assert d.get_type_hint() == expected