MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_unescape_extra

Method test_unescape_extra

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

Source from the content-addressed store, hash-verified

328 "<Donald Duck & Co>")
329
330 def test_unescape_extra(self):
331 self.assertEqual(unescape("Hei på deg", {"å" : "&aring;"}),
332 "Hei p&aring; deg")
333
334 def test_unescape_amp_extra(self):
335 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