From 7607474b42451dc277c0918980c679f345dfc11f Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 14 Jun 2025 17:25:53 +1000 Subject: [PATCH] Simplified code --- Tests/check_wheel.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tests/check_wheel.py b/Tests/check_wheel.py index 1e331cfe7..d13bc1d72 100644 --- a/Tests/check_wheel.py +++ b/Tests/check_wheel.py @@ -21,8 +21,7 @@ def test_wheel_modules() -> None: except ImportError: expected_modules.remove("tkinter") - # libavif is not available on Windows for x86 and ARM64 architectures - if sys.platform == "win32": + # libavif is not available on Windows for x86 and ARM64 architectures if platform.machine() == "ARM64" or struct.calcsize("P") == 4: expected_modules.remove("avif")