Skip to content

Commit 4179e9e

Browse files
authored
Merge pull request #285 from bgilbert/pillow
tests: drop obsolete Pillow version test
2 parents 6a75bbd + 8f35f0a commit 4179e9e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/test_openslide.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import sys
2525
import unittest
2626

27-
from PIL import Image
2827
from common import file_path
2928

3029
from openslide import (
@@ -154,12 +153,6 @@ def test_read_region_bad_size(self):
154153
)
155154

156155
@unittest.skipIf(sys.maxsize < 1 << 32, '32-bit Python')
157-
# Broken on Pillow < 6.2.0.
158-
# https://github.com/python-pillow/Pillow/issues/3963
159-
@unittest.skipIf(
160-
[int(i) for i in getattr(Image, '__version__', '0').split('.')] < [6, 2, 0],
161-
'broken on Pillow < 6.2.0',
162-
)
163156
# Disabled to avoid OOM killer on small systems, since the stdlib
164157
# doesn't provide a way to find out how much RAM we have
165158
def _test_read_region_2GB(self):

0 commit comments

Comments
 (0)