mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +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
|
|
@ -102,18 +102,23 @@ class ParserTests(TestCase):
|
|||
def test_filter_args_count(self):
|
||||
p = Parser("")
|
||||
l = Library()
|
||||
|
||||
@l.filter
|
||||
def no_arguments(value):
|
||||
pass
|
||||
|
||||
@l.filter
|
||||
def one_argument(value, arg):
|
||||
pass
|
||||
|
||||
@l.filter
|
||||
def one_opt_argument(value, arg=False):
|
||||
pass
|
||||
|
||||
@l.filter
|
||||
def two_arguments(value, arg, arg2):
|
||||
pass
|
||||
|
||||
@l.filter
|
||||
def two_one_opt_arg(value, arg, arg2=False):
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue