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

Method test_double_quoteattr

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

Source from the content-addressed store, hash-verified

336 '\'Includes "double" quotes\'')
337
338 def test_double_quoteattr(self):
339 self.assertEqual(quoteattr("Includes 'single' quotes"),
340 "\"Includes 'single' quotes\"")
341
342 def test_single_double_quoteattr(self):
343 self.assertEqual(quoteattr("Includes 'single' and \"double\" quotes"),

Callers

nothing calls this directly

Calls 2

quoteattrFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected