diff options
Diffstat (limited to 'tests/functional/u/useless_super_delegation_py3.py')
-rw-r--r-- | tests/functional/u/useless_super_delegation_py3.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functional/u/useless_super_delegation_py3.py b/tests/functional/u/useless_super_delegation_py3.py index 09bc25b4c..b32ced873 100644 --- a/tests/functional/u/useless_super_delegation_py3.py +++ b/tests/functional/u/useless_super_delegation_py3.py @@ -4,10 +4,10 @@ class NotUselessSuper(object): def not_passing_keyword_only(self, first, *, second): - return super(NotUselessSuper, self).not_passing_keyword_only(first) + return super().not_passing_keyword_only(first) def passing_keyword_only_with_modifications(self, first, *, second): - return super(NotUselessSuper, self).passing_keyword_only_with_modifications( + return super().passing_keyword_only_with_modifications( first, second + 1) @@ -19,7 +19,7 @@ class AlsoNotUselessSuper(NotUselessSuper): class UselessSuper(object): def useless(self, *, first): # [useless-super-delegation] - super(UselessSuper, self).useless(first=first) + super().useless(first=first) class Egg(): |