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 Shuge Lee
parent 727c068231
commit 0bc8cfc90c

View File

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