summaryrefslogtreecommitdiff
path: root/tests/migrations/test_executor.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/migrations/test_executor.py
parenta5563963397aeee30c32e3c1dab31bfe453ca89f (diff)
Refs #23919 -- Stopped inheriting from object to define new style classes.
Diffstat (limited to 'tests/migrations/test_executor.py')
-rw-r--r--tests/migrations/test_executor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/migrations/test_executor.py b/tests/migrations/test_executor.py
index 60e7ec9771..d6cc802149 100644
--- a/tests/migrations/test_executor.py
+++ b/tests/migrations/test_executor.py
@@ -642,13 +642,13 @@ class ExecutorTests(MigrationTestBase):
)
-class FakeLoader(object):
+class FakeLoader:
def __init__(self, graph, applied):
self.graph = graph
self.applied_migrations = applied
-class FakeMigration(object):
+class FakeMigration:
"""Really all we need is any object with a debug-useful repr."""
def __init__(self, name):
self.name = name