mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-15 11:56:28 +03:00
Known Bad tests -- skipping jpeg2k tests on travis on OSX
This commit is contained in:
parent
a029e5da93
commit
fa7817a4d3
|
@ -57,6 +57,10 @@ class TestFileIcns(PillowTestCase):
|
||||||
if not enable_jpeg2k:
|
if not enable_jpeg2k:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.skipKnownBadTest("Jpeg2000 hangs on Travis on OSX",
|
||||||
|
platform='darwin',
|
||||||
|
travis=True)
|
||||||
|
|
||||||
im = Image.open('Tests/images/pillow3.icns')
|
im = Image.open('Tests/images/pillow3.icns')
|
||||||
for w, h, r in im.info['sizes']:
|
for w, h, r in im.info['sizes']:
|
||||||
wr = w * r
|
wr = w * r
|
||||||
|
|
|
@ -18,6 +18,9 @@ class TestFileJpeg2k(PillowTestCase):
|
||||||
def setUp(self):
|
def setUp(self):
|
||||||
if "jpeg2k_encoder" not in codecs or "jpeg2k_decoder" not in codecs:
|
if "jpeg2k_encoder" not in codecs or "jpeg2k_decoder" not in codecs:
|
||||||
self.skipTest('JPEG 2000 support not available')
|
self.skipTest('JPEG 2000 support not available')
|
||||||
|
self.skipKnownBadTest("Jpeg2000 hangs on Travis on OSX",
|
||||||
|
platform='darwin',
|
||||||
|
travis=True)
|
||||||
|
|
||||||
def roundtrip(self, im, **options):
|
def roundtrip(self, im, **options):
|
||||||
out = BytesIO()
|
out = BytesIO()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user