From 5d58335f5257d67b56e60b81e77ca7d17d962439 Mon Sep 17 00:00:00 2001 From: Fahad Al-Saidi Date: Thu, 15 Dec 2016 11:20:36 +0400 Subject: [PATCH] fix SystemError: new style getargs format but argument is not a tuple --- Tests/test_imagepath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):