summaryrefslogtreecommitdiff
path: root/tests/test_coverage.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-11-10 14:11:47 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-11-11 16:45:33 -0500
commitc376209f35331b358e59c79ed3537a2ed920d677 (patch)
tree5dddd7715de562ffa851be89738af3f4e9644b3c /tests/test_coverage.py
parent19c093580d9ad80fd45dd6ea333c24c059c891bf (diff)
downloadpython-coveragepy-git-c376209f35331b358e59c79ed3537a2ed920d677.tar.gz
Canonicalize the XML output
https://bugs.python.org/issue34160 added retaining the user's attribute order to the XML output, which removed the sorting that used to happen. This broke our XML tests, which compare against saved gold files. This adds in a rough-and-ready canonicalization to avoid the problem. Maybe the core devs will eventually support a sort_attributes option, and I can get rid of this.
Diffstat (limited to 'tests/test_coverage.py')
0 files changed, 0 insertions, 0 deletions