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

Method testContext

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

Source from the content-addressed store, hash-verified

286 self.assertFalse(dom.childNodes)
287
288 def testContext(self):
289 with parse(tstfile) as dom:
290 self.assertTrue(dom.childNodes)
291 self.assertFalse(dom.childNodes)
292
293 def testElement(self):
294 dom = Document()

Callers

nothing calls this directly

Calls 3

parseFunction · 0.90
assertTrueMethod · 0.80
assertFalseMethod · 0.80

Tested by

no test coverage detected