src/tests/__init__.py: don't test for color space now that we support palette PNGs
This commit is contained in:
parent
ac9ba1d0f6
commit
b99fae1380
1 changed files with 0 additions and 5 deletions
|
@ -557,11 +557,6 @@ def test_suite():
|
||||||
imgprops.Filter, [PdfName.DCTDecode, PdfName.JPXDecode,
|
imgprops.Filter, [PdfName.DCTDecode, PdfName.JPXDecode,
|
||||||
PdfName.FlateDecode,
|
PdfName.FlateDecode,
|
||||||
PdfName.CCITTFaxDecode])
|
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
|
# test if the image has correct size
|
||||||
self.assertEqual(imgprops.Width, str(orig_img.size[0]))
|
self.assertEqual(imgprops.Width, str(orig_img.size[0]))
|
||||||
|
|
Loading…
Reference in a new issue