mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-07 13:24:39 +08:00
Add issue: Generator expression must be parenthesized if not sole argument
This commit is contained in:
@@ -71,6 +71,7 @@ def test_indentation_errors(code, positions):
|
||||
'return',
|
||||
'yield',
|
||||
'try: pass\nexcept: pass\nexcept X: pass',
|
||||
'f(x for x in bar, 1)',
|
||||
|
||||
# IndentationError
|
||||
' foo',
|
||||
|
||||
Reference in New Issue
Block a user