From 0c4131bf67ab0a660db8773a0727dd96c997313f Mon Sep 17 00:00:00 2001 From: wiredfool Date: Sat, 26 Mar 2016 15:01:26 -0700 Subject: [PATCH] Fixing tests on windows/32bit --- Tests/test_imagepath.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tests/test_imagepath.py b/Tests/test_imagepath.py index 8077f1a2a..0354b0fd9 100644 --- a/Tests/test_imagepath.py +++ b/Tests/test_imagepath.py @@ -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: