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

Method test_double_quoteattr

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

Source from the content-addressed store, hash-verified

344 '\'Includes "double" quotes\'')
345
346 def test_double_quoteattr(self):
347 self.assertEqual(quoteattr("Includes 'single' quotes"),
348 "\"Includes 'single' quotes\"")
349
350 def test_single_double_quoteattr(self):
351 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