Tweaks to test flags and module exclusions.

This commit is contained in:
Russell Keith-Magee 2025-06-27 20:47:44 +08:00
parent d7cab29d5d
commit 14b761aed5
No known key found for this signature in database
GPG Key ID: 3D2DAB6A37BB5BC3
2 changed files with 2 additions and 4 deletions

View File

@ -25,10 +25,8 @@ def test_wheel_modules() -> None:
elif sys.platform == "ios":
# tkinter is not available on iOS
expected_modules.remove("tkinter")
# libavif is not available on iOS (for now)
expected_modules.remove("avif")
expected_modules -= {"tkinter", "avif"}
assert set(features.get_supported_modules()) == expected_modules

View File

@ -133,7 +133,7 @@ test-sources = [
]
test-command = [
"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...)