Skip to content

Commit 0463cc1

Browse files
committed
tests: move comment for clarity
It's the leading underscore that effects the test disablement.
1 parent c02047c commit 0463cc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_openslide.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,12 @@ def test_read_region_bad_size(self):
124124
self.assertRaises(OpenSlideError,
125125
lambda: self.osr.read_region((0, 0), 1, (400, -5)))
126126

127-
# Disabled to avoid OOM killer on small systems, since the stdlib
128-
# doesn't provide a way to find out how much RAM we have
129127
@skip_if(sys.maxsize < 1 << 32, '32-bit Python')
130128
# Also skips Pillow < 2.1.0
131129
@skip_if(have_optimizations and not hasattr(Image, 'PILLOW_VERSION'),
132130
'broken on PIL')
131+
# Disabled to avoid OOM killer on small systems, since the stdlib
132+
# doesn't provide a way to find out how much RAM we have
133133
def _test_read_region_2GB(self):
134134
self.assertEqual(
135135
self.osr.read_region((1000, 1000), 0, (32768, 16384)).size,

0 commit comments

Comments
 (0)