Removed unneeded parentheses in class definitions

This commit is contained in:
Claude Paroz 2017-01-29 18:06:26 +01:00
parent f5bf11c72b
commit 068cd60366
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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