mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-17 18:54:46 +03:00
another try
This commit is contained in:
parent
5d58335f52
commit
203cba20d7
|
@ -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(list(arr.tostring()))
|
p = ImagePath.Path(tuple(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):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user