Commit 794fea64 authored by Kevin Rocard's avatar Kevin Rocard
Browse files

Use minidom factory methods in xml coverage generator

The exportToXML was creating an minidom.Element using
it's constructor, which is forbidden in the documentation:
> Applications should not instantiate the classes themselves; they should use the creator functions available on the Document object.
http://docs.python.org/library/xml.dom.minidom.html

Since python 3.4 this method no longer works (private interface change)
thus the xml coverage generation was broken.

Fix by calling the recommended method Document.createElement.

See bug: http://bugs.python.org/issue15290



Signed-off-by: default avatarKevin Rocard <kevin.rocard@intel.com>
parent f39078a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment