summaryrefslogtreecommitdiffstats
path: root/subcmds/diff.py
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2021-04-12 21:16:36 +0200
committerMike Frysinger <vapier@google.com>2021-05-26 13:36:20 +0000
commit5d58c18146e1cda1ab9a3593fd1324985bb5d638 (patch)
tree4aca227a0786ab20461857962bf48496986d0522 /subcmds/diff.py
parentd177609cb0283e41e23d4c19b94e17f42bdbdacb (diff)
downloadgit-repo-5d58c18146e1cda1ab9a3593fd1324985bb5d638.tar.gz
tests: Make the tests pass for Python < 3.8
Before Python 3.8, xml.dom.minidom sorted the attributes of an element when writing it to a file, while later versions output the attributes in the order they were created. Avoid these differences by sorting the attributes for each element before comparing the generated manifests with the expected ones. Bug: https://crbug.com/gerrit/14382 Change-Id: Ie2597727afcc48f9063a7261ad970e8a549f0587 Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/303326 Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'subcmds/diff.py')
0 files changed, 0 insertions, 0 deletions