summaryrefslogtreecommitdiff
path: root/tests/contenttypes_tests/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/contenttypes_tests/tests.py')
-rw-r--r--tests/contenttypes_tests/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/contenttypes_tests/tests.py b/tests/contenttypes_tests/tests.py
index c91c265eaf..0ae2ddbb64 100644
--- a/tests/contenttypes_tests/tests.py
+++ b/tests/contenttypes_tests/tests.py
@@ -432,7 +432,7 @@ class UpdateContentTypesTests(TestCase):
self.assertEqual(ContentType.objects.count(), self.before_count + 1)
-class TestRouter(object):
+class TestRouter:
def db_for_read(self, model, **hints):
return 'other'