From fa283067c94546e38a7c4c3748c5fd31c58b7f22 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 26 Jun 2017 07:31:32 -0700 Subject: [PATCH] Removed unnecessary empty parentheses in class definitions. --- tests/model_fields/tests.py | 2 +- tests/pagination/tests.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/model_fields/tests.py b/tests/model_fields/tests.py index 29e1f102ab..ab8ccd8b4c 100644 --- a/tests/model_fields/tests.py +++ b/tests/model_fields/tests.py @@ -9,7 +9,7 @@ from .models import ( ) -class Nested(): +class Nested: class Field(models.Field): pass 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: