mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +03:00
Run test_effect_noise() on non-Windows, don't be too strict
This commit is contained in:
parent
f1333617d5
commit
9bd38bfa06
|
@ -168,8 +168,6 @@ class TestImage(PillowTestCase):
|
|||
ValueError,
|
||||
lambda: Image.effect_mandelbrot(size, extent, quality))
|
||||
|
||||
@unittest.skipUnless(sys.platform.startswith('win32'),
|
||||
"Stalls on Travis CI, passes on Windows")
|
||||
def test_effect_noise(self):
|
||||
# Arrange
|
||||
size = (100, 100)
|
||||
|
@ -180,8 +178,8 @@ class TestImage(PillowTestCase):
|
|||
|
||||
# Assert
|
||||
self.assertEqual(im.size, (100, 100))
|
||||
self.assertEqual(im.getpixel((0, 0)), 60)
|
||||
self.assertEqual(im.getpixel((0, 1)), 28)
|
||||
self.assertEqual(im.mode, "L")
|
||||
self.assertNotEqual(im.getpixel((0, 0)), im.getpixel((0, 1)))
|
||||
|
||||
def test_effect_spread(self):
|
||||
# Arrange
|
||||
|
|
Loading…
Reference in New Issue
Block a user