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

Method test_escape_basic

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

Source from the content-addressed store, hash-verified

309class SaxutilsTest(unittest.TestCase):
310 # ===== escape
311 def test_escape_basic(self):
312 self.assertEqual(escape("Donald Duck & Co"), "Donald Duck & Co")
313
314 def test_escape_all(self):
315 self.assertEqual(escape("<Donald Duck & Co>"),

Callers

nothing calls this directly

Calls 2

escapeFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected