diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2018-11-10 14:11:47 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2018-11-11 16:45:33 -0500 |
commit | c376209f35331b358e59c79ed3537a2ed920d677 (patch) | |
tree | 5dddd7715de562ffa851be89738af3f4e9644b3c /tests/test_coverage.py | |
parent | 19c093580d9ad80fd45dd6ea333c24c059c891bf (diff) | |
download | python-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