From 068cd6036651c7564dd3e465fbea458b75d7244a Mon Sep 17 00:00:00 2001
From: Claude Paroz <claude@2xlibre.net>
Date: Sun, 29 Jan 2017 18:06:26 +0100
Subject: [PATCH] Removed unneeded parentheses in class definitions

---
 django/core/mail/message.py           | 2 +-
 tests/model_fields/test_imagefield.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/django/core/mail/message.py b/django/core/mail/message.py
index 7fab676474..abb921541b 100644
--- a/django/core/mail/message.py
+++ b/django/core/mail/message.py
@@ -123,7 +123,7 @@ def sanitize_address(addr, encoding):
     return str(address)
 
 
-class MIMEMixin():
+class MIMEMixin:
     def as_string(self, unixfrom=False, linesep='\n'):
         """Return the entire formatted message as a string.
         Optional `unixfrom' when True, means include the Unix From_ envelope
diff --git a/tests/model_fields/test_imagefield.py b/tests/model_fields/test_imagefield.py
index 96fa8c839b..3a86d3daf5 100644
--- a/tests/model_fields/test_imagefield.py
+++ b/tests/model_fields/test_imagefield.py
@@ -21,7 +21,7 @@ if Image:
     from .models import temp_storage_dir
 else:
     # Pillow not available, create dummy classes (tests will be skipped anyway)
-    class Person():
+    class Person:
         pass
     PersonWithHeight = PersonWithHeightAndWidth = PersonDimensionsFirst = Person
     PersonTwoImages = Person