diff --git a/tests/super_test.py b/tests/super_test.py index 377dfa43..65c40720 100644 --- a/tests/super_test.py +++ b/tests/super_test.py @@ -200,6 +200,21 @@ def test_old_style_class_super_noop(s): ' super().f()\n' ' super().f(arg, arg)\n', ), + pytest.param( + 'class C(B):\n' + ' def f(self, a):\n' + ' B.f(\n' + ' self,\n' + ' a,\n' + ' )\n', + + 'class C(B):\n' + ' def f(self, a):\n' + ' super().f(\n' + ' a,\n' + ' )\n', + id='multi-line super call', + ), ), ) def test_old_style_class_super(s, expected):