mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 16:22:22 +03:00
Updated test
This commit is contained in:
parent
f891043101
commit
4d10b3c0ab
|
@ -36,7 +36,9 @@ def test_version() -> None:
|
||||||
assert version is None
|
assert version is None
|
||||||
else:
|
else:
|
||||||
assert function(name) == version
|
assert function(name) == version
|
||||||
if name != "PIL":
|
if name == "acceleration":
|
||||||
|
assert version in ("avx2", "sse4", "sse2", "neon", None)
|
||||||
|
elif name != "PIL":
|
||||||
if name == "zlib" and version is not None:
|
if name == "zlib" and version is not None:
|
||||||
version = re.sub(".zlib-ng$", "", version)
|
version = re.sub(".zlib-ng$", "", version)
|
||||||
elif name == "libtiff" and version is not None:
|
elif name == "libtiff" and version is not None:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user