From a72d46d3147a206927b71385c54db8ab18fdeed4 Mon Sep 17 00:00:00 2001 From: Christoph Gohlke Date: Thu, 14 Mar 2013 12:26:00 -0700 Subject: [PATCH] Disable debug messages during g4 tiff tests --- Tests/test_file_tiff.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tests/test_file_tiff.py b/Tests/test_file_tiff.py index af1500c66..7ad965ab6 100644 --- a/Tests/test_file_tiff.py +++ b/Tests/test_file_tiff.py @@ -117,13 +117,13 @@ def test_g4_tiff_bytesio(): def xtest_g4_tiff_fail(): # UNDONE fails badly, unknown reason """The 128x128 lena image fails for some reason. Investigating""" - Image.DEBUG = True + Image.DEBUG = 0 file = "Tests/images/lena_g4.tif" im = Image.open(file) assert_equal(im.size, (128,128)) _assert_noerr(im) - Image.DEBUG = False + Image.DEBUG = 0 def test_g4_eq_png(): """ Checking that we're actually getting the data that we expect""" @@ -134,7 +134,7 @@ def test_g4_eq_png(): def test_g4_write(): """Checking to see that the saved image is the same as what we wrote""" - Image.DEBUG = True + Image.DEBUG = 0 file = "Tests/images/lena_g4_500.tif" orig = Image.open(file) @@ -151,4 +151,4 @@ def test_g4_write(): assert_false(orig.tobytes() == reread.tobytes()) - Image.DEBUG = False + Image.DEBUG = 0