mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-17 18:54:46 +03:00
fix SystemError: new style getargs format but argument is not a tuple
This commit is contained in:
parent
40dc3ba32e
commit
5d58335f52
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user