MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_single_quoteattr

Method test_single_quoteattr

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

Source from the content-addressed store, hash-verified

340 '"Donald Duck & Co"')
341
342 def test_single_quoteattr(self):
343 self.assertEqual(quoteattr('Includes "double" quotes'),
344 '\'Includes "double" quotes\'')
345
346 def test_double_quoteattr(self):
347 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