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

Method testPickledDocument

Lib/test/test_minidom.py:1725–1730  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1723 stack.append((n1.childNodes[i], n2.childNodes[i]))
1724
1725 def testPickledDocument(self):
1726 doc = parseString(sample)
1727 for proto in range(2, pickle.HIGHEST_PROTOCOL + 1):
1728 s = pickle.dumps(doc, proto)
1729 doc2 = pickle.loads(s)
1730 self.assert_recursive_equal(doc, doc2)
1731
1732 def testDeepcopiedDocument(self):
1733 doc = parseString(sample)

Callers

nothing calls this directly

Calls 4

parseStringFunction · 0.90
dumpsMethod · 0.45
loadsMethod · 0.45

Tested by

no test coverage detected