summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Edmunds <medmunds@gmail.com>2025-07-21 13:09:15 -0700
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2025-07-22 13:36:01 +0200
commit0f5b573d3d1909f8cd28aaea240a6a0e734faa92 (patch)
treeea3c8d6b64349318f8c70831704f793eb773aab5 /tests
parent78fac1b0473ed8960ecd2a30aca4fa8420d150b8 (diff)
Fixed incorrectly concatenated string in SimpleBlockTagTests.test_simple_block_tag_with_context_missing_content().
Diffstat (limited to 'tests')
-rw-r--r--tests/template_tests/test_custom.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/template_tests/test_custom.py b/tests/template_tests/test_custom.py
index 9ec27b481f..424c110875 100644
--- a/tests/template_tests/test_custom.py
+++ b/tests/template_tests/test_custom.py
@@ -514,9 +514,11 @@ class SimpleBlockTagTests(TagTestCase):
def test_simple_block_tag_with_context_missing_content(self):
# The 'content' parameter must be present when takes_context is True
- msg = "'simple_block_tag_with_context_without_content' is decorated with "
- "takes_context=True so it must have a first argument of 'context' and a "
- "second argument of 'content'"
+ msg = (
+ "'simple_block_tag_with_context_without_content' is decorated with "
+ "takes_context=True so it must have a first argument of 'context' and a "
+ "second argument of 'content'"
+ )
with self.assertRaisesMessage(TemplateSyntaxError, msg):
self.engine.from_string(
"{% load custom %}{% simple_block_tag_with_context_without_content %}"