summaryrefslogtreecommitdiff
path: root/tests/admin_views
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_views')
-rw-r--r--tests/admin_views/test_multidb.py2
-rw-r--r--tests/admin_views/tests.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/admin_views/test_multidb.py b/tests/admin_views/test_multidb.py
index 102cf35a5d..0273b7aaef 100644
--- a/tests/admin_views/test_multidb.py
+++ b/tests/admin_views/test_multidb.py
@@ -8,7 +8,7 @@ from django.urls import reverse
from .models import Book
-class Router(object):
+class Router:
target_db = None
def db_for_read(self, model, **hints):
diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py
index 81b7e1f6a4..ae3ebdd54d 100644
--- a/tests/admin_views/tests.py
+++ b/tests/admin_views/tests.py
@@ -65,7 +65,7 @@ ERROR_MESSAGE = "Please enter the correct username and password \
for a staff account. Note that both fields may be case-sensitive."
-class AdminFieldExtractionMixin(object):
+class AdminFieldExtractionMixin:
"""
Helper methods for extracting data from AdminForm.
"""