From 8f35f0a53e8eb54f07b36e336652bd9cb89faead Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Sun, 20 Oct 2024 02:23:34 -0700 Subject: [PATCH] tests: drop obsolete Pillow version test Pillow < 6.2.0 doesn't support any version of Python we still support. Signed-off-by: Benjamin Gilbert --- tests/test_openslide.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test_openslide.py b/tests/test_openslide.py index 7ee86363..ab134f33 100644 --- a/tests/test_openslide.py +++ b/tests/test_openslide.py @@ -24,7 +24,6 @@ import sys import unittest -from PIL import Image from common import file_path from openslide import ( @@ -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):