mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-27 08:30:05 +03:00
Tweaks to test flags and module exclusions.
This commit is contained in:
parent
d7cab29d5d
commit
14b761aed5
|
@ -25,10 +25,8 @@ def test_wheel_modules() -> None:
|
||||||
|
|
||||||
elif sys.platform == "ios":
|
elif sys.platform == "ios":
|
||||||
# tkinter is not available on iOS
|
# tkinter is not available on iOS
|
||||||
expected_modules.remove("tkinter")
|
|
||||||
|
|
||||||
# libavif is not available on iOS (for now)
|
# libavif is not available on iOS (for now)
|
||||||
expected_modules.remove("avif")
|
expected_modules -= {"tkinter", "avif"}
|
||||||
|
|
||||||
assert set(features.get_supported_modules()) == expected_modules
|
assert set(features.get_supported_modules()) == expected_modules
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,7 @@ test-sources = [
|
||||||
]
|
]
|
||||||
test-command = [
|
test-command = [
|
||||||
"python -m selftest",
|
"python -m selftest",
|
||||||
"python -m pytest -vv checks/check_wheel.py Tests",
|
"python -m pytest -vv -x -W always checks/check_wheel.py Tests",
|
||||||
]
|
]
|
||||||
|
|
||||||
# There's no numpy wheel for iOS (yet...)
|
# There's no numpy wheel for iOS (yet...)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user