cgohlke / imagecodecs

Image transformation, compression, and decompression codecs
https://pypi.org/project/imagecodecs
BSD 3-Clause "New" or "Revised" License
118 stars 23 forks source link

Check if JPEGLS is present when testing that codec #15

Closed bnavigator closed 3 years ago

bnavigator commented 3 years ago

There are two checks that look for the wrong codec in order to determine if the tests should be skipped.

cgohlke commented 3 years ago

Thank you. This will be fixed in the next release.

bnavigator commented 3 years ago

While you are at it, please also use a proper expression here: https://github.com/cgohlke/imagecodecs/blob/01e7bff6d2bd844f4f782fcee452be9e662b545e/tests/test_imagecodecs.py#L1153

Reasoning: The openSUSE blosc is built with snappy, but the build for the openSUSE python-imagecodecs package does not test if it works.