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

@ -9,7 +9,7 @@ from .models import (
)
class Nested():
class Nested:
class Field(models.Field):
pass

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: