Skip to content

Commit

Permalink
Merge pull request #285 from bgilbert/pillow
Browse files Browse the repository at this point in the history
tests: drop obsolete Pillow version test
  • Loading branch information
bgilbert authored Oct 20, 2024
2 parents 6a75bbd + 8f35f0a commit 4179e9e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test_openslide.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import sys
import unittest

from PIL import Image
from common import file_path

from openslide import (
Expand Down Expand Up @@ -154,12 +153,6 @@ def test_read_region_bad_size(self):
)

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

0 comments on commit 4179e9e

Please sign in to comment.