mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-24 17:06:16 +03:00
Merge pull request #8126 from radarhere/libtiff_version
This commit is contained in:
commit
444faa28ee
|
@ -38,7 +38,9 @@ def test_version() -> None:
|
||||||
assert function(name) == version
|
assert function(name) == version
|
||||||
if name != "PIL":
|
if name != "PIL":
|
||||||
if name == "zlib" and version is not None:
|
if name == "zlib" and version is not None:
|
||||||
version = version.replace(".zlib-ng", "")
|
version = re.sub(".zlib-ng$", "", version)
|
||||||
|
elif name == "libtiff" and version is not None:
|
||||||
|
version = re.sub("t$", "", version)
|
||||||
assert version is None or re.search(r"\d+(\.\d+)*$", version)
|
assert version is None or re.search(r"\d+(\.\d+)*$", version)
|
||||||
|
|
||||||
for module in features.modules:
|
for module in features.modules:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user