summaryrefslogtreecommitdiff
path: root/tests/pagination
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-06-26 07:31:32 -0700
committerTim Graham <timograham@gmail.com>2017-06-26 10:31:32 -0400
commitfa283067c94546e38a7c4c3748c5fd31c58b7f22 (patch)
tree6477aea79ef2a68b12e7243be3d8ccbc7207ef98 /tests/pagination
parent081e78716085ff4af08604af5d084c8fd27c0730 (diff)
downloaddjango-fa283067c94546e38a7c4c3748c5fd31c58b7f22.tar.gz
Removed unnecessary empty parentheses in class definitions.
Diffstat (limited to 'tests/pagination')
-rw-r--r--tests/pagination/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pagination/tests.py b/tests/pagination/tests.py
index 9319666597..530f908027 100644
--- a/tests/pagination/tests.py
+++ b/tests/pagination/tests.py
@@ -339,7 +339,7 @@ class ModelPaginationTests(TestCase):
Unordered object list warning with an object that has an orderd
attribute but not a model attribute.
"""
- class ObjectList():
+ class ObjectList:
ordered = False
object_list = ObjectList()
with warnings.catch_warnings(record=True) as warns: