MCPcopy
hub / github.com/tornadoweb/tornado / test_unicode_template

Method test_unicode_template

tornado/test/template_test.py:80–82  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 )
79
80 def test_unicode_template(self):
81 template = Template(utf8("\u00e9"))
82 self.assertEqual(template.generate(), utf8("\u00e9"))
83
84 def test_unicode_literal_expression(self):
85 # Unicode literals should be usable in templates. Note that this

Callers

nothing calls this directly

Calls 3

generateMethod · 0.95
TemplateClass · 0.90
utf8Function · 0.90

Tested by

no test coverage detected