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

Method test_single_quoteattr

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

Source from the content-addressed store, hash-verified

332 '"Donald Duck & Co"')
333
334 def test_single_quoteattr(self):
335 self.assertEqual(quoteattr('Includes "double" quotes'),
336 '\'Includes "double" quotes\'')
337
338 def test_double_quoteattr(self):
339 self.assertEqual(quoteattr("Includes 'single' quotes"),

Callers

nothing calls this directly

Calls 2

quoteattrFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected