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 | c8d32271f96e0b3a3e0505c2acb28e07eaaabe27 (patch) | |
tree | 27c640b54ca1a146e5d89dcf57bb4406cc273bc6 /tests/test_farm.py | |
parent | e79f0b8c0c96cedb41a47abc309a2031f95beec5 (diff) | |
download | python-coveragepy-c8d32271f96e0b3a3e0505c2acb28e07eaaabe27.tar.gz |
More information from failing file comparison, since Travis fails tests
Diffstat (limited to 'tests/test_farm.py')
-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 18c6b4a..df8fa66 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 |