diff options
| author | Tim Graham <timograham@gmail.com> | 2013-10-19 08:31:38 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-19 08:31:38 -0400 |
| commit | 96d1d4e29275f4f5900f0725975d2ad0a4d05816 (patch) | |
| tree | 17b846e3b77f68fbb3b1dc7a2ff413f574c62ce1 /tests/template_tests/test_unicode.py | |
| parent | 5f52590368063fc8284e23be492d83ba751f66bf (diff) | |
Removed unused local variables in tests.
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 |
