From 14b761aed5667d9f9562594d587268fc964b35cf Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 27 Jun 2025 20:47:44 +0800 Subject: [PATCH] Tweaks to test flags and module exclusions. --- checks/check_wheel.py | 4 +--- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/checks/check_wheel.py b/checks/check_wheel.py index e29ade580..c89d32ed7 100644 --- a/checks/check_wheel.py +++ b/checks/check_wheel.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 0e347b161..752d49327 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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...)