summaryrefslogtreecommitdiff
path: root/tests/deprecation
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/deprecation
parenta5563963397aeee30c32e3c1dab31bfe453ca89f (diff)
downloaddjango-cecc079168e8669138728d31611ff3a1e7eb3a9f.tar.gz
Refs #23919 -- Stopped inheriting from object to define new style classes.
Diffstat (limited to 'tests/deprecation')
-rw-r--r--tests/deprecation/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/deprecation/tests.py b/tests/deprecation/tests.py
index 5c2361f7a0..220010d909 100644
--- a/tests/deprecation/tests.py
+++ b/tests/deprecation/tests.py
@@ -140,11 +140,11 @@ class RenameMethodsTests(SimpleTestCase):
def new(self):
pass
- class RenamedMixin(object):
+ class RenamedMixin:
def new(self):
super(RenamedMixin, self).new()
- class DeprecatedMixin(object):
+ class DeprecatedMixin:
def old(self):
super(DeprecatedMixin, self).old()