mirror of
https://github.com/davidhalter/parso.git
synced 2026-03-09 16:40:47 +08:00
Some issues regarding annotations.
This commit is contained in:
@@ -79,6 +79,17 @@ def test_indentation_errors(code, positions):
|
||||
#'(True,) = x',
|
||||
#'([False], a) = x',
|
||||
#'__debug__ = 1'
|
||||
# Mostly 3.6 relevant
|
||||
'[]: int',
|
||||
'[a, b]: int',
|
||||
'(): int',
|
||||
'(()): int',
|
||||
'((())): int',
|
||||
'{}: int',
|
||||
'True: int',
|
||||
'(a, b): int',
|
||||
'*star,: int',
|
||||
'a, b: int = 3',
|
||||
|
||||
# IndentationError
|
||||
' foo',
|
||||
|
||||
Reference in New Issue
Block a user