From 427b330d39670b118da92ce9f76cdd43399fcc23 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 25 Jul 2020 14:27:33 -0700 Subject: [PATCH] WIP: add failing test --- tests/super_test.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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):