summaryrefslogtreecommitdiff
path: root/tests/test_files.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-08 07:38:38 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-08 09:42:43 -0400
commit6217af70939d939b6abfc4abfe32a03bc47da967 (patch)
treee0c09571b420a8e78132ce1026a71e017bde87be /tests/test_files.py
parent56f850956513578b2a73ac1e1be5e3c9483432e6 (diff)
downloadpython-coveragepy-git-6217af70939d939b6abfc4abfe32a03bc47da967.tar.gz
test: canonicalize this bit of debug output
Diffstat (limited to 'tests/test_files.py')
-rw-r--r--tests/test_files.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_files.py b/tests/test_files.py
index 39a51d8c..d6005d36 100644
--- a/tests/test_files.py
+++ b/tests/test_files.py
@@ -172,7 +172,7 @@ class MatcherTest(CoverageTest):
files.canonical_filename("SUB5/file6.py"),
]
tm = TreeMatcher(trees, "test")
- assert tm.info() == trees
+ assert tm.info() == sorted(trees)
for filepath, matches in matches_to_try:
self.assertMatches(tm, filepath, matches)