forked from VimPlug/jedi
Run get_type_hint tests only for 3.6+
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user