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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user