diff --git a/Tests/test_imagepath.py b/Tests/test_imagepath.py index db36972fe..144004b34 100644 --- a/Tests/test_imagepath.py +++ b/Tests/test_imagepath.py @@ -59,7 +59,7 @@ class TestImagePath(PillowTestCase): if hasattr(arr, 'tobytes'): p = ImagePath.Path(arr.tobytes()) else: - p = ImagePath.Path(list(arr.tostring())) + p = ImagePath.Path(tuple(arr.tostring())) self.assertEqual(list(p), [(0.0, 1.0)]) def test_overflow_segfault(self):