py3k: Add PCX to roundtrip test

For some reason, the PCX codec round-trips now.
This commit is contained in:
Brian Crowell 2012-10-23 22:22:38 -05:00 committed by Brian Crowell
parent 4f7d784a71
commit 2972b2178e

View File

@ -42,11 +42,11 @@ def test_parser():
assert_image_equal(*roundtrip("XBM")) assert_image_equal(*roundtrip("XBM"))
#assert_image_equal(*roundtrip("EPS")) #no eps_decoder #assert_image_equal(*roundtrip("EPS")) #no eps_decoder
assert_image_equal(*roundtrip("TGA")) assert_image_equal(*roundtrip("TGA"))
assert_image_equal(*roundtrip("PCX"))
im1, im2 = roundtrip("JPEG") # lossy compression im1, im2 = roundtrip("JPEG") # lossy compression
assert_image(im1, im2.mode, im2.size) assert_image(im1, im2.mode, im2.size)
assert_exception(IOError, lambda: roundtrip("PCX"))
assert_exception(IOError, lambda: roundtrip("PDF")) assert_exception(IOError, lambda: roundtrip("PDF"))