Malte Helmert added the comment:
Here is a minimal testcase to more clearly expose the root of the
problem, in case a regression test is needed. Without the patch, the
assertion fails.
==========================================================
from xml.dom import minidom
node = minidom.parseString("<o><i/>t</o>").documentElement
node.childNodes[1].nodeValue = ""
node.normalize()
assert node.childNodes[-1].nextSibling == None
==========================================================
_____________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1433694>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com