mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
py3k: Add PCX to roundtrip test
For some reason, the PCX codec round-trips now.
This commit is contained in:
parent
4f7d784a71
commit
2972b2178e
|
@ -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"))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user