From 5eaad964c98e044b23cf220e082cb242b06524fe 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 aef6736e..7753003c 100644 --- a/tests/features/six_test.py +++ b/tests/features/six_test.py @@ -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):