mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 06:24:27 +08:00
Fix a tuple test
This commit is contained in:
@@ -12,7 +12,7 @@ _tuple_code = 'from typing import Tuple\ndef f(x: Tuple[int]): ...\nf'
|
|||||||
('def f(x: int): ...\nf', ['instance int'], True),
|
('def f(x: int): ...\nf', ['instance int'], True),
|
||||||
('from typing import List\ndef f(x: List[int]): ...\nf', ['instance list'], True),
|
('from typing import List\ndef f(x: List[int]): ...\nf', ['instance list'], True),
|
||||||
('from typing import List\ndef f(x: List[int]): ...\nf', ['class list'], False),
|
('from typing import List\ndef f(x: List[int]): ...\nf', ['class list'], False),
|
||||||
(_tuple_code, ['Tuple: _SpecialForm = ...'], True),
|
(_tuple_code, ['instance tuple'], True),
|
||||||
(_tuple_code, ['Tuple: _SpecialForm = ...'], False),
|
(_tuple_code, ['Tuple: _SpecialForm = ...'], False),
|
||||||
('x=str\ndef f(p: x): ...\nx=int\nf', ['instance int'], True),
|
('x=str\ndef f(p: x): ...\nx=int\nf', ['instance int'], True),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user