Skip to content

Commit 14b761a

Browse files
committed
Tweaks to test flags and module exclusions.
1 parent d7cab29 commit 14b761a

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

checks/check_wheel.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ def test_wheel_modules() -> None:
2525

2626
elif sys.platform == "ios":
2727
# tkinter is not available on iOS
28-
expected_modules.remove("tkinter")
29-
3028
# libavif is not available on iOS (for now)
31-
expected_modules.remove("avif")
29+
expected_modules -= {"tkinter", "avif"}
3230

3331
assert set(features.get_supported_modules()) == expected_modules
3432

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ test-sources = [
133133
]
134134
test-command = [
135135
"python -m selftest",
136-
"python -m pytest -vv checks/check_wheel.py Tests",
136+
"python -m pytest -vv -x -W always checks/check_wheel.py Tests",
137137
]
138138

139139
# There's no numpy wheel for iOS (yet...)

0 commit comments

Comments
 (0)