File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ def test_template_concatenation(self):
162162 t1 = t "Hello"
163163 expected_msg = 'can only concatenate Template (not "str") to Template'
164164 with self .assertRaises (TypeError , msg = expected_msg ):
165- _ = t1 + ", world"
165+ t1 + ", world"
166166
167167 # Test template + template with interpolation
168168 name = "Python"
@@ -175,7 +175,7 @@ def test_template_concatenation(self):
175175 # Test string + template
176176 expected_msg = 'can only concatenate str (not "string.templatelib.Template") to str'
177177 with self .assertRaises (TypeError , msg = expected_msg ):
178- _ = "Hello, " + t "{name}"
178+ "Hello, " + t "{name}"
179179
180180 def test_nested_templates (self ):
181181 # Test a template inside another template expression
You can’t perform that action at this time.
0 commit comments