summaryrefslogtreecommitdiff
path: root/tests/farm/annotate
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-11-10 11:16:41 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-11-11 16:45:33 -0500
commit116f2f6b5a47eb2380c22f242327a7169a10ea7a (patch)
treeaa3c5f884e4f7ed9129e0519555b46b09bc51cd9 /tests/farm/annotate
parent595166ea38b970d652d10e1c6a91a09180ecd84a (diff)
downloadpython-coveragepy-git-116f2f6b5a47eb2380c22f242327a7169a10ea7a.tar.gz
Comparison is not symmetric, it's expected vs actual
Diffstat (limited to 'tests/farm/annotate')
-rw-r--r--tests/farm/annotate/annotate_dir.py2
-rw-r--r--tests/farm/annotate/run.py2
-rw-r--r--tests/farm/annotate/run_encodings.py2
-rw-r--r--tests/farm/annotate/run_multi.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/farm/annotate/annotate_dir.py b/tests/farm/annotate/annotate_dir.py
index 9bf1b768..0ecf71bd 100644
--- a/tests/farm/annotate/annotate_dir.py
+++ b/tests/farm/annotate/annotate_dir.py
@@ -6,5 +6,5 @@ run("""
coverage run multi.py
coverage annotate -d out_anno_dir
""", rundir="run")
-compare("run/out_anno_dir", "gold_anno_dir", "*,cover", left_extra=True)
+compare("gold_anno_dir", "run/out_anno_dir", "*,cover", actual_extra=True)
clean("run")
diff --git a/tests/farm/annotate/run.py b/tests/farm/annotate/run.py
index 6c98a770..6a985d5e 100644
--- a/tests/farm/annotate/run.py
+++ b/tests/farm/annotate/run.py
@@ -6,5 +6,5 @@ run("""
coverage run white.py
coverage annotate white.py
""", rundir="out")
-compare("out", "gold", "*,cover")
+compare("gold", "out", "*,cover")
clean("out")
diff --git a/tests/farm/annotate/run_encodings.py b/tests/farm/annotate/run_encodings.py
index 8fd98fea..1b738988 100644
--- a/tests/farm/annotate/run_encodings.py
+++ b/tests/farm/annotate/run_encodings.py
@@ -6,5 +6,5 @@ run("""
coverage run utf8.py
coverage annotate utf8.py
""", rundir="out_encodings")
-compare("out_encodings", "gold_encodings", "*,cover")
+compare("gold_encodings", "out_encodings", "*,cover")
clean("out_encodings")
diff --git a/tests/farm/annotate/run_multi.py b/tests/farm/annotate/run_multi.py
index d3c4cf7c..eff9ff76 100644
--- a/tests/farm/annotate/run_multi.py
+++ b/tests/farm/annotate/run_multi.py
@@ -6,5 +6,5 @@ run("""
coverage run multi.py
coverage annotate
""", rundir="out_multi")
-compare("out_multi", "gold_multi", "*,cover")
+compare("gold_multi", "out_multi", "*,cover")
clean("out_multi")