[diffoscope] 01/03: Rename image_expected_diff -> jpeg_image_expected.

Chris Lamb chris at chris-lamb.co.uk
Tue Jan 10 23:22:08 CET 2017


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository diffoscope.

commit 5a4efaed5be769cb802a21e79bda5cce6cf0cb62
Author: Chris Lamb <lamby at debian.org>
Date:   Tue Jan 10 22:12:34 2017 +0000

    Rename image_expected_diff -> jpeg_image_expected.
    
    Gbp-Dch: ignore
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 tests/comparators/test_jpeg_image.py                         | 2 +-
 tests/data/{image_expected_diff => jpeg_image_expected_diff} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/comparators/test_jpeg_image.py b/tests/comparators/test_jpeg_image.py
index e779ac7..a731523 100644
--- a/tests/comparators/test_jpeg_image.py
+++ b/tests/comparators/test_jpeg_image.py
@@ -41,7 +41,7 @@ def differences(image1, image2):
 
 @skip_unless_tools_exist('img2txt')
 def test_diff(differences):
-    expected_diff = open(data('image_expected_diff')).read()
+    expected_diff = open(data('jpeg_image_expected_diff')).read()
     assert differences[0].unified_diff == expected_diff
 
 @skip_unless_tools_exist('img2txt')
diff --git a/tests/data/image_expected_diff b/tests/data/jpeg_image_expected_diff
similarity index 100%
rename from tests/data/image_expected_diff
rename to tests/data/jpeg_image_expected_diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git


More information about the diffoscope mailing list