From 6a1b398d26b53dcc507764339344b7e98f01e28d Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Mon, 28 Oct 2024 13:19:21 -0600 Subject: [PATCH] Default to the 2023.12 version of the standard if no ARRAY_API_TESTS_VERSION or __array_api_version__ is specified --- array_api_tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/array_api_tests/__init__.py b/array_api_tests/__init__.py index fd05697d..4e0c340f 100644 --- a/array_api_tests/__init__.py +++ b/array_api_tests/__init__.py @@ -78,7 +78,7 @@ def _from_dtype(*a, **kw): api_version = os.getenv( - "ARRAY_API_TESTS_VERSION", getattr(xp, "__array_api_version__", "2021.12") + "ARRAY_API_TESTS_VERSION", getattr(xp, "__array_api_version__", "2023.12") ) xps = array_api.make_strategies_namespace(xp, api_version=api_version)