another try

This commit is contained in:
Fahad Al-Saidi 2016-12-15 11:43:41 +04:00
parent 203cba20d7
commit c9499c68f1

View File

@ -59,7 +59,7 @@ class TestImagePath(PillowTestCase):
if hasattr(arr, 'tobytes'): if hasattr(arr, 'tobytes'):
p = ImagePath.Path(arr.tobytes()) p = ImagePath.Path(arr.tobytes())
else: else:
p = ImagePath.Path(tuple(arr.tostring())) p = ImagePath.Path((arr.tostring(),))
self.assertEqual(list(p), [(0.0, 1.0)]) self.assertEqual(list(p), [(0.0, 1.0)])
def test_overflow_segfault(self): def test_overflow_segfault(self):