mirror of
https://github.com/davidhalter/parso.git
synced 2026-01-21 18:42:24 +08:00
Add default 'except:' must be last.
This commit is contained in:
@@ -70,6 +70,7 @@ def test_indentation_errors(code, positions):
|
||||
'continue',
|
||||
'break',
|
||||
'return',
|
||||
'try: pass\nexcept: pass\nexcept X: pass',
|
||||
|
||||
# IndentationError
|
||||
' foo',
|
||||
|
||||
Reference in New Issue
Block a user