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

Method testUnlink

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

Source from the content-addressed store, hash-verified

280 dom.unlink()
281
282 def testUnlink(self):
283 dom = parse(tstfile)
284 self.assertTrue(dom.childNodes)
285 dom.unlink()
286 self.assertFalse(dom.childNodes)
287
288 def testContext(self):
289 with parse(tstfile) as dom:

Callers

nothing calls this directly

Calls 4

parseFunction · 0.90
assertTrueMethod · 0.80
assertFalseMethod · 0.80
unlinkMethod · 0.45

Tested by

no test coverage detected