[python-mpop] 01/02: Disable TestEmptyImage.test_pil_image.patch

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Sat Nov 5 07:56:39 UTC 2016


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

a_valentino-guest pushed a commit to branch master
in repository python-mpop.

commit 65966c99423af0b941a596dafa1ba93fa1a9d319
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Sat Nov 5 07:54:55 2016 +0000

    Disable TestEmptyImage.test_pil_image.patch
---
 debian/changelog                                    |  8 ++++++++
 ...0006-Disable-TestEmptyImage.test_pil_image.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 3 files changed, 30 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 35155aa..7478ce0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-mpop (1.3.0-1ubuntu1) UNRELEASED; urgency=medium
+
+  * debian/patches
+    - new 0006-Disable-TestEmptyImage.test_pil_image.patch.
+      Incompatibility with Pillow 3.4.2 (Closes: #843107, #843079)
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it>  Sat, 05 Nov 2016 08:49:53 +0100
+
 python-mpop (1.3.0-1) unstable; urgency=medium
 
   [ Antonio Valentino ]
diff --git a/debian/patches/0006-Disable-TestEmptyImage.test_pil_image.patch b/debian/patches/0006-Disable-TestEmptyImage.test_pil_image.patch
new file mode 100644
index 0000000..e93f50e
--- /dev/null
+++ b/debian/patches/0006-Disable-TestEmptyImage.test_pil_image.patch
@@ -0,0 +1,21 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Sat, 5 Nov 2016 08:45:57 +0100
+Subject: Disable TestEmptyImage.test_pil_image
+
+Incompatibility with Pillow 3.4.2
+---
+ mpop/tests/test_image.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/mpop/tests/test_image.py b/mpop/tests/test_image.py
+index a129b4b..ab3d0e7 100644
+--- a/mpop/tests/test_image.py
++++ b/mpop/tests/test_image.py
+@@ -170,6 +170,7 @@ class TestEmptyImage(unittest.TestCase):
+                                True, False, True, False])
+         self.img.convert(oldmode)
+         
++    unittest.skip('disabled for incompatibility with Pillow 3.4.2')
+     def test_pil_image(self):
+         """Return an empty PIL image.
+         """
diff --git a/debian/patches/series b/debian/patches/series
index 257d9ce..f9582b1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0003-fix-missing-trollsift.patch
 0004-tempararily-disable-TestProjector.test_init.patch
 0005-Include-test-sub-package.patch
+0006-Disable-TestEmptyImage.test_pil_image.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-mpop.git



More information about the Pkg-grass-devel mailing list