Accept 't' suffix for libtiff version

This commit is contained in:
Andrew Murray 2024-06-11 07:15:47 +10:00
parent 9a8759d91b
commit 84b2847232

View File

@ -54,7 +54,7 @@ class TestFileLibTiff(LibTiffTestCase):
def test_version(self) -> None: def test_version(self) -> None:
version = features.version_codec("libtiff") version = features.version_codec("libtiff")
assert version is not None assert version is not None
assert re.search(r"\d+\.\d+\.\d+$", version) assert re.search(r"\d+\.\d+\.\d+t?$", version)
def test_g4_tiff(self, tmp_path: Path) -> None: def test_g4_tiff(self, tmp_path: Path) -> None:
"""Test the ordinary file path load path""" """Test the ordinary file path load path"""