From 8b3acd6961407fb972fe1dc7da8c9cc282bfb2c2 Mon Sep 17 00:00:00 2001 From: Brian Crowell Date: Tue, 23 Oct 2012 22:22:38 -0500 Subject: [PATCH] py3k: Add PCX to roundtrip test For some reason, the PCX codec round-trips now. --- Tests/test_imagefile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/test_imagefile.py b/Tests/test_imagefile.py index 485208c36..95ed0ee30 100644 --- a/Tests/test_imagefile.py +++ b/Tests/test_imagefile.py @@ -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"))