mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
Python 2.6's ElementTree.write() does not have an xml_declaration argument, so junitxml_prune_notrun.py fails on python 2.6. This fixes junitxml_prune_notrun.py by using minidom to write the output. This mirrors how bin/generate_junitxml.py outputs XML. Verified that tests now pass on python 2.6 and python 2.7 does not change. Change-Id: I9ef8fb77b1ac8c51e3dfb6b04690ae9ccc490d62 Reviewed-on: http://gerrit.cloudera.org:8080/12479 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>