1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Removed unnecessary empty parentheses in class definitions.

This commit is contained in:
Jon Dufresne
2017-06-26 07:31:32 -07:00
committed by Tim Graham
parent 081e787160
commit fa283067c9
2 changed files with 2 additions and 2 deletions

View File

@@ -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: