mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-29 17:33:08 +03:00
Fixing tests on windows/32bit
This commit is contained in:
parent
f65fcf7274
commit
0c4131bf67
|
@ -74,7 +74,10 @@ class TestImagePath(PillowTestCase):
|
||||||
x[i] = "0"*16
|
x[i] = "0"*16
|
||||||
else:
|
else:
|
||||||
x[i] = b'0'*16
|
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:
|
except MemoryError as msg:
|
||||||
self.assertTrue(msg)
|
self.assertTrue(msg)
|
||||||
except:
|
except:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user