From cc2c4722f076d10d9bc73cd0c6b6801641d142ca 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/six_test.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/six_test.py b/tests/six_test.py index bdcb9803..9ffb29d7 100644 --- a/tests/six_test.py +++ b/tests/six_test.py @@ -434,6 +434,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):