diff options
Diffstat (limited to 'tests/template_tests/test_unicode.py')
| -rw-r--r-- | tests/template_tests/test_unicode.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/template_tests/test_unicode.py b/tests/template_tests/test_unicode.py index 773dd543b7..1f333bfed2 100644 --- a/tests/template_tests/test_unicode.py +++ b/tests/template_tests/test_unicode.py @@ -20,10 +20,10 @@ class UnicodeTests(TestCase): self.assertRaises(TemplateEncodingError, Template, s) # Contexts can be constructed from unicode or UTF-8 bytestrings. - c1 = Context({b"var": b"foo"}) - c2 = Context({"var": b"foo"}) + Context({b"var": b"foo"}) + Context({"var": b"foo"}) c3 = Context({b"var": "Đđ"}) - c4 = Context({"var": b"\xc4\x90\xc4\x91"}) + Context({"var": b"\xc4\x90\xc4\x91"}) # Since both templates and all four contexts represent the same thing, # they all render the same (and are returned as unicode objects and |
