summaryrefslogtreecommitdiff
path: root/tests/order_with_respect_to
diff options
context:
space:
mode:
authorSimon Charette <charettes@users.noreply.github.com>2017-01-19 02:39:46 -0500
committerClaude Paroz <claude@2xlibre.net>2017-01-19 08:39:46 +0100
commitcecc079168e8669138728d31611ff3a1e7eb3a9f (patch)
tree2415083d44f84c6f206930fc689a8c0e50a98caa /tests/order_with_respect_to
parenta5563963397aeee30c32e3c1dab31bfe453ca89f (diff)
downloaddjango-cecc079168e8669138728d31611ff3a1e7eb3a9f.tar.gz
Refs #23919 -- Stopped inheriting from object to define new style classes.
Diffstat (limited to 'tests/order_with_respect_to')
-rw-r--r--tests/order_with_respect_to/base_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/order_with_respect_to/base_tests.py b/tests/order_with_respect_to/base_tests.py
index ad8925bf88..3ca7ada800 100644
--- a/tests/order_with_respect_to/base_tests.py
+++ b/tests/order_with_respect_to/base_tests.py
@@ -5,7 +5,7 @@ reference any models directly. Subclasses should inherit django.test.TestCase.
from operator import attrgetter
-class BaseOrderWithRespectToTests(object):
+class BaseOrderWithRespectToTests:
# Hook to allow subclasses to run these tests with alternate models.
Answer = None
Post = None