[XML-SIG] Re: [Python-Dev] test_minidom non-failure failure? (take 2)

Fred L. Drake, Jr. fdrake@beopen.com
Thu, 12 Oct 2000 12:59:33 -0400 (EDT)


Jeremy Hylton writes:
 > Why is test_minidom producing all this output?  And why is it only
 > happening intermittently?

  It isn't.  See Neil's excellent explanation.

 > Why does regrtest.py think that test_minidom is working correctly when
 > it produces all this output?

  The test is passing just fine, and is complete before the test for
garbage is performed.  The unlink() method on DOM objects is the
culprit; it is updating the Node.allnodes dictionary correctly, but
not the Node instances.  I've already asked Paul & Lars to fix this;
it should work just fine with or without GC once they've seen the
report.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at beopen.com>
BeOpen PythonLabs Team Member