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

Method test_quoteattr_basic

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

Source from the content-addressed store, hash-verified

328
329 # ===== quoteattr
330 def test_quoteattr_basic(self):
331 self.assertEqual(quoteattr("Donald Duck & Co"),
332 '"Donald Duck & Co"')
333
334 def test_single_quoteattr(self):
335 self.assertEqual(quoteattr('Includes "double" quotes'),

Callers

nothing calls this directly

Calls 2

quoteattrFunction · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected