1
0
mirror of https://github.com/django/django.git synced 2025-01-03 06:55:47 +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

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

View File

@ -339,7 +339,7 @@ class ModelPaginationTests(TestCase):
Unordered object list warning with an object that has an orderd Unordered object list warning with an object that has an orderd
attribute but not a model attribute. attribute but not a model attribute.
""" """
class ObjectList(): class ObjectList:
ordered = False ordered = False
object_list = ObjectList() object_list = ObjectList()
with warnings.catch_warnings(record=True) as warns: with warnings.catch_warnings(record=True) as warns: