mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-27 06:53:17 +08:00
Fix a tuple test
This commit is contained in:
1 parent
36b800f8d3
commit
759808e8bb
1 file changed
+1
-1
@@ -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