From e21e36ad53408f0817892026eca008c8cb4f48ed Mon Sep 17 00:00:00 2001 From: David Cortes Date: Wed, 3 Dec 2025 14:01:48 +0100 Subject: [PATCH] modify env. variable in other scrips too --- .circleci/run_xpu_tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/run_xpu_tests.py b/.circleci/run_xpu_tests.py index c457e90544..dfdf42b1da 100644 --- a/.circleci/run_xpu_tests.py +++ b/.circleci/run_xpu_tests.py @@ -16,9 +16,11 @@ # ============================================================================== # coding: utf-8 -import argparse import os +os.environ["SCIPY_ARRAY_API"] = "1" +import argparse + import pytest if __name__ == "__main__": @@ -83,8 +85,6 @@ if args.json_report_file is not None: pytest_params += ["--json-report", f"--json-report-file={args.json_report_file}"] - os.environ["SCIPY_ARRAY_API"] = "1" - if not args.no_intel_optimized: from sklearnex import patch_sklearn