summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
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/postgres_tests
parenta5563963397aeee30c32e3c1dab31bfe453ca89f (diff)
Refs #23919 -- Stopped inheriting from object to define new style classes.
Diffstat (limited to 'tests/postgres_tests')
-rw-r--r--tests/postgres_tests/models.py2
-rw-r--r--tests/postgres_tests/test_search.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/postgres_tests/models.py b/tests/postgres_tests/models.py
index 2a0d69b21a..a77fc4b152 100644
--- a/tests/postgres_tests/models.py
+++ b/tests/postgres_tests/models.py
@@ -8,7 +8,7 @@ from .fields import (
)
-class Tag(object):
+class Tag:
def __init__(self, tag_id):
self.tag_id = tag_id
diff --git a/tests/postgres_tests/test_search.py b/tests/postgres_tests/test_search.py
index 0bf2df50f1..2108beb181 100644
--- a/tests/postgres_tests/test_search.py
+++ b/tests/postgres_tests/test_search.py
@@ -15,7 +15,7 @@ from . import PostgreSQLTestCase
from .models import Character, Line, Scene
-class GrailTestData(object):
+class GrailTestData:
@classmethod
def setUpTestData(cls):