[diffoscope] 01/01: Fix test for JPEGImageFile.
Chris Lamb
chris at chris-lamb.co.uk
Tue Jan 10 23:09:42 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 48e17c9c86ddf42d49b5ac435ed8af89f28c648c
Author: Chris Lamb <lamby at debian.org>
Date: Tue Jan 10 22:09:01 2017 +0000
Fix test for JPEGImageFile.
Gbp-Dch: ignore
---
tests/comparators/test_image.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/comparators/test_image.py b/tests/comparators/test_image.py
index 80a7175..e779ac7 100644
--- a/tests/comparators/test_image.py
+++ b/tests/comparators/test_image.py
@@ -20,7 +20,7 @@
import pytest
from diffoscope.config import Config
-from diffoscope.comparators.image import ImageFile
+from diffoscope.comparators.image import JPEGImageFile
from diffoscope.comparators.missing_file import MissingFile
from utils import skip_unless_tools_exist, data, load_fixture
@@ -29,7 +29,7 @@ image1 = load_fixture(data('test1.jpg'))
image2 = load_fixture(data('test2.jpg'))
def test_identification(image1):
- assert isinstance(image1, ImageFile)
+ assert isinstance(image1, JPEGImageFile)
def test_no_differences(image1):
difference = image1.compare(image1)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list