Skip to content

Commit e09b1b6

Browse files
committed
tests: Note that PILLOW_VERSION check also skips old Pillow
1 parent 6f939ae commit e09b1b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_openslide.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def test_read_region_bad_size(self):
123123
lambda: self.osr.read_region((0, 0), 1, (400, -5)))
124124

125125
@skip_if(sys.maxsize < 1 << 32, '32-bit Python')
126+
# Also skips Pillow < 2.1.0
126127
@skip_if(have_optimizations and not hasattr(Image, 'PILLOW_VERSION'),
127128
'broken on PIL')
128129
def test_read_region_2GB(self):

0 commit comments

Comments
 (0)