mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed E305 flake8 warnings.
This commit is contained in:
committed by
Tim Graham
parent
6072de727f
commit
967be82443
@@ -123,6 +123,7 @@ def make_function(input, toks):
|
||||
self.assertListEqual(result, toks)
|
||||
return test_func
|
||||
|
||||
|
||||
for i, (input, toks) in enumerate(JsTokensTest.LEX_CASES):
|
||||
setattr(JsTokensTest, "test_case_%d" % i, make_function(input, toks))
|
||||
|
||||
@@ -224,5 +225,6 @@ def make_function(js, c):
|
||||
self.assertMultiLineEqual(prepare_js_for_gettext(js), c)
|
||||
return test_func
|
||||
|
||||
|
||||
for i, pair in enumerate(GETTEXT_CASES):
|
||||
setattr(JsToCForGettextTest, "test_case_%d" % i, make_function(*pair))
|
||||
|
||||
Reference in New Issue
Block a user