summaryrefslogtreecommitdiff
path: root/tests/admin_checks/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_checks/tests.py')
-rw-r--r--tests/admin_checks/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_checks/tests.py b/tests/admin_checks/tests.py
index e8714fe1a8..e081caeca1 100644
--- a/tests/admin_checks/tests.py
+++ b/tests/admin_checks/tests.py
@@ -106,7 +106,7 @@ class SystemChecksTestCase(SimpleTestCase):
def test_allows_checks_relying_on_other_modeladmins(self):
class MyBookAdmin(admin.ModelAdmin):
def check(self, **kwargs):
- errors = super(MyBookAdmin, self).check(**kwargs)
+ errors = super().check(**kwargs)
author_admin = self.admin_site._registry.get(Author)
if author_admin is None:
errors.append('AuthorAdmin missing!')