summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_management.py
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/auth_tests/test_management.py
parenta5563963397aeee30c32e3c1dab31bfe453ca89f (diff)
Refs #23919 -- Stopped inheriting from object to define new style classes.
Diffstat (limited to 'tests/auth_tests/test_management.py')
-rw-r--r--tests/auth_tests/test_management.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auth_tests/test_management.py b/tests/auth_tests/test_management.py
index 4fd1563f84..12d029ffcd 100644
--- a/tests/auth_tests/test_management.py
+++ b/tests/auth_tests/test_management.py
@@ -62,7 +62,7 @@ def mock_inputs(inputs):
return inner
-class MockTTY(object):
+class MockTTY:
"""
A fake stdin object that pretends to be a TTY to be used in conjunction
with mock_inputs.
@@ -329,7 +329,7 @@ class CreatesuperuserManagementCommandTestCase(TestCase):
If the command is not called from a TTY, it should be skipped and a
message should be displayed (#7423).
"""
- class FakeStdin(object):
+ class FakeStdin:
"""A fake stdin object that has isatty() return False."""
def isatty(self):
return False