diff --git a/Tests/test_imagepath.py b/Tests/test_imagepath.py index 14cc4d14b..db36972fe 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(arr.tostring()) + p = ImagePath.Path(list(arr.tostring())) self.assertEqual(list(p), [(0.0, 1.0)]) def test_overflow_segfault(self):