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

Method testCloneDocumentTypeShallowNotOk

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

Source from the content-addressed store, hash-verified

890 and len(clone.childNodes) == 0)
891
892 def testCloneDocumentTypeShallowNotOk(self):
893 doc = create_doc_with_doctype()
894 clone = doc.doctype.cloneNode(0)
895 self.assertIsNone(clone)
896
897 def check_import_document(self, deep, testName):
898 doc1 = parseString("<doc/>")

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