mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-09 23:25:47 +08:00
Remove a lot of test references to Python 2/3.5
This commit is contained in:
1 parent
0e5869b52f
commit
50b85153ce
32 files changed
+24
-87
No files matched your search
@@ -104,10 +104,11 @@ def test_signature():
|
||||
assert s.docstring() == 'some_signature(*, bar=1)'
|
||||
|
||||
|
||||
@pytest.mark.skipif(sys.version_info[0:2] < (3, 5), reason="Typing was introduced in Python 3.5")
|
||||
def test_compiled_signature_annotation_string():
|
||||
import typing
|
||||
def func(x: typing.Type, y: typing.Union[typing.Type, int]): pass
|
||||
|
||||
def func(x: typing.Type, y: typing.Union[typing.Type, int]):
|
||||
pass
|
||||
func.__name__ = 'not_func'
|
||||
|
||||
s, = jedi.Interpreter('func()', [locals()]).get_signatures(1, 5)
|
||||
|
||||
Reference in new issue
Block a user