Fixing tests on windows/32bit

This commit is contained in:
wiredfool 2016-03-26 15:01:26 -07:00
parent f65fcf7274
commit 0c4131bf67

View File

@ -74,7 +74,10 @@ class TestImagePath(PillowTestCase):
x[i] = "0"*16
else:
x[i] = b'0'*16
except TypeError as msg:
# Some pythons fail getting the argument as an integer, and
# it falls through to the sequence. Seeing this on 32bit windows.
self.assertTrue(True, "Sequence required")
except MemoryError as msg:
self.assertTrue(msg)
except: