From 8e599ff6f91cb9c3ef3178ccf1f2e8b0e10812de Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Tue, 10 Nov 2020 15:56:55 -0800 Subject: [PATCH] wip: six broken call multiline expr --- tests/features/six_test.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/features/six_test.py b/tests/features/six_test.py index 71d41c8b..287e80f4 100644 --- a/tests/features/six_test.py +++ b/tests/features/six_test.py @@ -347,6 +347,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):