mirror of
https://github.com/davidhalter/parso.git
synced 2026-02-13 05:32:00 +08:00
Add 'continue' not properly in loop
This commit is contained in:
@@ -9,3 +9,8 @@ for x in [1]:
|
||||
finally:
|
||||
#: E901
|
||||
continue
|
||||
|
||||
|
||||
for x in [1]:
|
||||
break
|
||||
continue
|
||||
|
||||
@@ -67,6 +67,7 @@ def test_indentation_errors(code, positions):
|
||||
finally:
|
||||
continue
|
||||
'''), # 'continue' not supported inside 'finally' clause"
|
||||
'continue'
|
||||
|
||||
# IndentationError
|
||||
' foo',
|
||||
|
||||
Reference in New Issue
Block a user