diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2022-02-03 11:20:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-03 11:20:46 +0100 |
| commit | c5cd8783825b5f6384417dac5f3889b4210b7d08 (patch) | |
| tree | 3d4689aaa0e209e40d2d8df09edad7e155960b45 /tests/template_tests/test_custom.py | |
| parent | c9d6e3595cfd0aa58cde1656bd735ecfcd7a872b (diff) | |
Refs #33476 -- Refactored problematic code before reformatting by Black.
In these cases Black produces unexpected results, e.g.
def make_random_password(
self,
length=10,
allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789',
):
or
cursor.execute("""
SELECT ...
""",
[table name],
)
Diffstat (limited to 'tests/template_tests/test_custom.py')
| -rw-r--r-- | tests/template_tests/test_custom.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/template_tests/test_custom.py b/tests/template_tests/test_custom.py index cade3e4610..59f83d80e2 100644 --- a/tests/template_tests/test_custom.py +++ b/tests/template_tests/test_custom.py @@ -104,8 +104,7 @@ class SimpleTagTests(TagTestCase): ( "'simple_keyword_only_param' received multiple values for " "keyword argument 'kwarg'", - '{% load custom %}{% simple_keyword_only_param kwarg=42 ' - 'kwarg=37 %}', + '{% load custom %}{% simple_keyword_only_param kwarg=42 kwarg=37 %}', ), ( "'simple_keyword_only_default' received multiple values for " |
