Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: drop obsolete Pillow version test #285

Merged
merged 1 commit into from
Oct 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading