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

Method testCloneDocumentTypeDeepNotOk

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

Source from the content-addressed store, hash-verified

871 and cn.systemId == sn.systemId)
872
873 def testCloneDocumentTypeDeepNotOk(self):
874 doc = create_doc_with_doctype()
875 clone = doc.doctype.cloneNode(1)
876 self.assertIsNone(clone)
877
878 def testCloneDocumentTypeShallowOk(self):
879 doctype = create_nonempty_doctype()

Callers

nothing calls this directly

Calls 3

create_doc_with_doctypeFunction · 0.85
assertIsNoneMethod · 0.80
cloneNodeMethod · 0.45

Tested by

no test coverage detected