mirror of
https://github.com/davidhalter/parso.git
synced 2026-11-03 17:57:30 +08:00
Add error code for return outside function.
This commit is contained in:
1 parent
d21504e2ca
commit
9c4bf8cec4
6 files changed
+21
-15
No files matched your search
@@ -69,6 +69,7 @@ def test_indentation_errors(code, positions):
|
||||
'''), # 'continue' not supported inside 'finally' clause"
|
||||
'continue',
|
||||
'break',
|
||||
'return',
|
||||
|
||||
# IndentationError
|
||||
' foo',
|
||||
|
||||
Reference in new issue
Block a user