diff options
| author | chillaranand <anand21nanda@gmail.com> | 2017-01-21 18:43:44 +0530 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-01-25 12:23:46 -0500 |
| commit | d6eaf7c0183cd04b78f2a55e1d60bb7e59598310 (patch) | |
| tree | ab02fd9949d4bfa23e27dea45e213ce334c883f0 /tests/settings_tests | |
| parent | dc165ec8e5698ffc6dee6b510f1f92c9fd7467fe (diff) | |
Refs #23919 -- Replaced super(ClassName, self) with super().
Diffstat (limited to 'tests/settings_tests')
| -rw-r--r-- | tests/settings_tests/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/settings_tests/tests.py b/tests/settings_tests/tests.py index fa51c0af20..d34077c395 100644 --- a/tests/settings_tests/tests.py +++ b/tests/settings_tests/tests.py @@ -108,7 +108,7 @@ class ClassDecoratedTestCase(ClassDecoratedTestCaseSuper): @classmethod def setUpClass(cls): - super(ClassDecoratedTestCase, cls).setUpClass() + super().setUpClass() cls.foo = getattr(settings, 'TEST', 'BUG') def test_override(self): @@ -127,7 +127,7 @@ class ClassDecoratedTestCase(ClassDecoratedTestCaseSuper): Overriding a method on a super class and then calling that method on the super class should not trigger infinite recursion. See #17011. """ - super(ClassDecoratedTestCase, self).test_max_recursion_error() + super().test_max_recursion_error() @modify_settings(ITEMS={'append': 'mother'}) |
