[Python-modules-commits] [willow] 08/18: Subject: Adjust orientation test tollerance Required as repack.sh modifies images Bug: https://github.com/wagtail/Willow/issues/46 Forwarded: https://github.com/wagtail/Willow/pull/50 Author: Christopher Hoskin <mans0954 at debian.org> Last-Update: 2017-01-29
Christopher Stuart Hoskin
mans0954 at moszumanska.debian.org
Sun Jan 29 18:11:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
mans0954 pushed a commit to branch master
in repository willow.
commit 752ca65aec94e29840ac550baa42fa0ff921b40b
Author: Christopher Hoskin <mans0954 at debian.org>
Date: Sun Jan 29 15:46:40 2017 +0000
Subject: Adjust orientation test tollerance
Required as repack.sh modifies images
Bug: https://github.com/wagtail/Willow/issues/46
Forwarded: https://github.com/wagtail/Willow/pull/50
Author: Christopher Hoskin <mans0954 at debian.org>
Last-Update: 2017-01-29
---
tests/test_wand.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_wand.py b/tests/test_wand.py
index 6104019..5dafbf5 100644
--- a/tests/test_wand.py
+++ b/tests/test_wand.py
@@ -111,7 +111,7 @@ class TestWandImageOrientation(unittest.TestCase):
# Check that the red flower is in the bottom left
# The JPEGs have compressed slightly differently so the colours won't be spot on
colour = image.image[282][155]
- self.assertAlmostEqual(colour.red * 255, 217, delta=10)
+ self.assertAlmostEqual(colour.red * 255, 217, delta=12)
self.assertAlmostEqual(colour.green * 255, 38, delta=11)
self.assertAlmostEqual(colour.blue * 255, 46, delta=13)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/willow.git
More information about the Python-modules-commits
mailing list