summaryrefslogtreecommitdiff
path: root/tests/test_client_regress
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/test_client_regress
parenta5563963397aeee30c32e3c1dab31bfe453ca89f (diff)
downloaddjango-cecc079168e8669138728d31611ff3a1e7eb3a9f.tar.gz
Refs #23919 -- Stopped inheriting from object to define new style classes.
Diffstat (limited to 'tests/test_client_regress')
-rw-r--r--tests/test_client_regress/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_client_regress/tests.py b/tests/test_client_regress/tests.py
index 0436ae9968..16b344e0ae 100644
--- a/tests/test_client_regress/tests.py
+++ b/tests/test_client_regress/tests.py
@@ -24,7 +24,7 @@ from .models import CustomUser
from .views import CustomTestException
-class TestDataMixin(object):
+class TestDataMixin:
@classmethod
def setUpTestData(cls):
@@ -1298,7 +1298,7 @@ class UnicodePayloadTests(SimpleTestCase):
self.assertEqual(response.content, json.encode('koi8-r'))
-class DummyFile(object):
+class DummyFile:
def __init__(self, filename):
self.name = filename