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

Method test_single_double_quoteattr

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

Source from the content-addressed store, hash-verified

340 "\"Includes 'single' quotes\"")
341
342 def test_single_double_quoteattr(self):
343 self.assertEqual(quoteattr("Includes 'single' and \"double\" quotes"),
344 "\"Includes 'single' and "double" quotes\"")
345
346 # ===== make_parser
347 def test_make_parser(self):

Callers

nothing calls this directly

Calls 2

quoteattrFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected