Skip to content

Commit

Permalink
WIP: add failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Jul 25, 2020
1 parent 8222682 commit 427b330
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/super_test.py
Expand Up @@ -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):
Expand Down

0 comments on commit 427b330

Please sign in to comment.