enable connection tests now pyvips is updated

pyvips should now support connections, so always enable the tests
This commit is contained in:
John Cupitt 2020-01-12 14:15:23 +00:00
parent 3862b636e4
commit 2e9d89b6d4

View File

@ -17,13 +17,7 @@ class TestConnection:
@classmethod
def setup_class(cls):
# for now, only run these tests if we have the source pyvips installed
if pyvips.__version__ != "2.1.10":
pytest.skip("tests cannot run with pyvips {}"
.format(pyvips.__version__))
cls.tempdir = tempfile.mkdtemp()
cls.colour = pyvips.Image.jpegload(JPEG_FILE)
cls.mono = cls.colour.extract_band(1).copy()
# we remove the ICC profile: the RGB one will no longer be appropriate