MCPcopy Index your code
hub / github.com/python/cpython / test_unescape_extra

Method test_unescape_extra

Lib/test/test_sax.py:322–324  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

320 "<Donald Duck & Co>")
321
322 def test_unescape_extra(self):
323 self.assertEqual(unescape("Hei på deg", {"å" : "&aring;"}),
324 "Hei p&aring; deg")
325
326 def test_unescape_amp_extra(self):
327 self.assertEqual(unescape("&amp;foo;", {"&foo;": "splat"}), "&foo;")

Callers

nothing calls this directly

Calls 2

unescapeFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected