From b99fae13800435087a93e6524c67d97f7e8408cf Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Wed, 18 Jul 2018 00:04:30 +0200 Subject: [PATCH] src/tests/__init__.py: don't test for color space now that we support palette PNGs --- src/tests/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/tests/__init__.py b/src/tests/__init__.py index 3c89b0f..98ebeaf 100644 --- a/src/tests/__init__.py +++ b/src/tests/__init__.py @@ -557,11 +557,6 @@ def test_suite(): imgprops.Filter, [PdfName.DCTDecode, PdfName.JPXDecode, PdfName.FlateDecode, PdfName.CCITTFaxDecode]) - # test if the colorspace is valid - self.assertIn( - imgprops.ColorSpace, [PdfName.DeviceGray, - PdfName.DeviceRGB, - PdfName.DeviceCMYK]) # test if the image has correct size self.assertEqual(imgprops.Width, str(orig_img.size[0]))