Skip to content

Commit

Permalink
wip: six broken call multiline expr
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Jan 30, 2021
1 parent 3b56358 commit 5eaad96
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/features/six_test.py
Expand Up @@ -340,6 +340,17 @@ def test_fix_six_noop(s):
'(x < y).values()',
id='needs parentehsizing for Compare',
),
pytest.param(
'x = six.itervalues(\n'
' # comment\n'
' x,\n'
')',
'x = (\n'
' # comment\n'
' x,\n'
').values()',
id='multiline first argument with comment',
),
),
)
def test_fix_six(s, expected):
Expand Down

0 comments on commit 5eaad96

Please sign in to comment.