1
0
mirror of https://github.com/django/django.git synced 2025-10-28 16:16:12 +00:00

Refs #33476 -- Refactored code to strictly match 88 characters line length.

This commit is contained in:
Mariusz Felisiak
2022-02-04 08:08:27 +01:00
parent 9c19aff7c7
commit 7119f40c98
404 changed files with 5944 additions and 2842 deletions

View File

@@ -73,9 +73,12 @@ class IncludeTagTests(SimpleTestCase):
@setup(
{
"include09": "{{ first }}--"
'{% include "basic-syntax03" with first=second|lower|upper second=first|upper %}'
"--{{ second }}"
"include09": (
"{{ first }}--"
'{% include "basic-syntax03" with '
"first=second|lower|upper second=first|upper %}"
"--{{ second }}"
)
},
basic_templates,
)
@@ -117,7 +120,9 @@ class IncludeTagTests(SimpleTestCase):
@setup(
{
"include13": '{% autoescape off %}{% include "basic-syntax03" %}{% endautoescape %}'
"include13": (
'{% autoescape off %}{% include "basic-syntax03" %}{% endautoescape %}'
)
},
basic_templates,
)
@@ -350,7 +355,9 @@ class IncludeTests(SimpleTestCase):
(
"django.template.loaders.locmem.Loader",
{
"template": '{% for x in vars %}{% include "include" %}{% endfor %}',
"template": (
'{% for x in vars %}{% include "include" %}{% endfor %}'
),
"include": '{% include "next" %}',
"next": "{% load custom %}{% counter %}",
},