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

Method test_escape_all

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

Source from the content-addressed store, hash-verified

312 self.assertEqual(escape("Donald Duck & Co"), "Donald Duck & Co")
313
314 def test_escape_all(self):
315 self.assertEqual(escape("<Donald Duck & Co>"),
316 "&lt;Donald Duck &amp; Co&gt;")
317
318 def test_escape_extra(self):
319 self.assertEqual(escape("Hei på deg", {"å" : "&aring;"}),

Callers

nothing calls this directly

Calls 2

escapeFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected