summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 %}"