diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-31 06:39:24 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2014-10-31 06:39:24 -0400 |
commit | 734c3c1dc11105179fcf0b5b3622f9138af13d54 (patch) | |
tree | d756c7dbf969e77756413523317e2d311a5aa3d5 | |
parent | ed65e8dc0d138cdbcb6e20d0584764ae586b5db0 (diff) | |
download | python-coveragepy-git-734c3c1dc11105179fcf0b5b3622f9138af13d54.tar.gz |
More information from failing file comparison, since Travis fails tests
-rw-r--r-- | tests/test_farm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_farm.py b/tests/test_farm.py index 18c6b4a7..df8fa666 100644 --- a/tests/test_farm.py +++ b/tests/test_farm.py @@ -256,10 +256,10 @@ class FarmTestCase(object): if (big - little) / float(little) > size_within/100.0: # print "%d %d" % (big, little) # print "Left: ---\n%s\n-----\n%s" % (left, right) - wrong_size.append(f) + wrong_size.append("%s (%s,%s)" % (f, size_l, size_r)) assert not wrong_size, ( "File sizes differ between %s and %s: %s" % ( - dir1, dir2, wrong_size + dir1, dir2, ", ".join(wrong_size) )) else: # filecmp only compares in binary mode, but we want text mode. So |