From e2dae7d849428032eba6e59d4781f056f4b6de0c Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Mon, 19 Aug 2024 23:57:06 -0500 Subject: [PATCH] fix macro test --- c/test_euler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/test_euler.py b/c/test_euler.py index 5dcbee80..04b61fe7 100644 --- a/c/test_euler.py +++ b/c/test_euler.py @@ -214,8 +214,8 @@ def test_compiler_macros(compiler): assert flags[5] == compiler.startswith("EMCC") assert flags[6] == (EXE_EXT == "x86" or expect_32) assert flags[7] == (EXE_EXT == "x86_64" and not expect_32) - assert flags[8] == (EXE_EXT not in ("x86", "x86_64", "exe")) - assert flags[9] == (EXE_EXT not in ("wasm", "wasm32", "wasm64")) + assert flags[8] == ("arm" in EXE_EXT.lower()) + assert flags[9] == ("wasm" in EXE_EXT.lower()) @mark.skipif('NO_OPTIONAL_TESTS or ONLY_SLOW')