Add issue: Generator expression must be parenthesized if not sole argument

This commit is contained in:
Dave Halter
2017-07-23 22:56:19 +02:00
parent 42842a6949
commit 33769c6243
2 changed files with 9 additions and 0 deletions

View File

@@ -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',