mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #21298 -- Fixed E301 pep8 warnings
This commit is contained in:
parent
317040a73b
commit
c3aa2948c6
83 changed files with 180 additions and 2 deletions
|
@ -73,6 +73,7 @@ class DefaultFiltersTests(TestCase):
|
|||
class FloatWrapper(object):
|
||||
def __init__(self, value):
|
||||
self.value = value
|
||||
|
||||
def __float__(self):
|
||||
return self.value
|
||||
|
||||
|
@ -510,6 +511,7 @@ class DefaultFiltersTests(TestCase):
|
|||
class ULItem(object):
|
||||
def __init__(self, title):
|
||||
self.title = title
|
||||
|
||||
def __str__(self):
|
||||
return 'ulitem-%s' % str(self.title)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue