Known Bad tests -- skipping jpeg2k tests on travis on OSX

This commit is contained in:
wiredfool 2014-07-05 13:14:42 -07:00
parent a029e5da93
commit fa7817a4d3
2 changed files with 7 additions and 0 deletions

View File

@ -57,6 +57,10 @@ class TestFileIcns(PillowTestCase):
if not enable_jpeg2k:
return
self.skipKnownBadTest("Jpeg2000 hangs on Travis on OSX",
platform='darwin',
travis=True)
im = Image.open('Tests/images/pillow3.icns')
for w, h, r in im.info['sizes']:
wr = w * r

View File

@ -18,6 +18,9 @@ class TestFileJpeg2k(PillowTestCase):
def setUp(self):
if "jpeg2k_encoder" not in codecs or "jpeg2k_decoder" not in codecs:
self.skipTest('JPEG 2000 support not available')
self.skipKnownBadTest("Jpeg2000 hangs on Travis on OSX",
platform='darwin',
travis=True)
def roundtrip(self, im, **options):
out = BytesIO()