Disable debug messages during g4 tiff tests

This commit is contained in:
Christoph Gohlke 2013-03-14 12:26:00 -07:00
parent 64ba20743a
commit a72d46d314

View File

@ -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