We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80b7148 commit 605f878Copy full SHA for 605f878
Lib/test/test_super.py
@@ -359,7 +359,7 @@ class C:
359
def method(self):
360
return super().msg
361
362
- with patch("test.test_super.super", MySuper) as m:
+ with patch(f"{__name__}.super", MySuper) as m:
363
self.assertEqual(C().method(), "super super")
364
365
def test_shadowed_dynamic_two_arg(self):
@@ -373,7 +373,7 @@ class C:
373
374
return super(1, 2).msg
375
376
377
378
self.assertEqual(call_args, [(1, 2)])
379
0 commit comments