From 4421079c4f865fe73288a0508c5fb94b67f4dd2b Mon Sep 17 00:00:00 2001 From: Evgeni Burovski Date: Mon, 12 May 2025 12:43:38 +0200 Subject: [PATCH] BUG: shield test_where_with_scalars for array api versions < 2024.12 --- array_api_tests/test_operators_and_elementwise_functions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/array_api_tests/test_operators_and_elementwise_functions.py b/array_api_tests/test_operators_and_elementwise_functions.py index d7fd9458..7fefa151 100644 --- a/array_api_tests/test_operators_and_elementwise_functions.py +++ b/array_api_tests/test_operators_and_elementwise_functions.py @@ -1922,6 +1922,7 @@ def test_binary_with_scalars_bitwise_shifts(func_data, x1x2): _check_binary_with_scalars((func_name, refimpl_, kwargs, expected), x1x2) +@pytest.mark.min_version("2024.12") @pytest.mark.unvectorized @given( x1x2=hh.array_and_py_scalar([xp.int32]),