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

Method test_escape_basic

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

Source from the content-addressed store, hash-verified

301class SaxutilsTest(unittest.TestCase):
302 # ===== escape
303 def test_escape_basic(self):
304 self.assertEqual(escape("Donald Duck & Co"), "Donald Duck & Co")
305
306 def test_escape_all(self):
307 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