From 79fed2b7d50e44013c3a6e66818f8a0cf86c5d09 Mon Sep 17 00:00:00 2001 From: Harshit Nagila Date: Sun, 15 Nov 2026 21:34:28 +0530 Subject: [PATCH] test(cython): set Python 3 language level --- tests/unit/cython/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/cython/utils.py b/tests/unit/cython/utils.py index a00f8cd44f..26f3cbebd5 100644 --- a/tests/unit/cython/utils.py +++ b/tests/unit/cython/utils.py @@ -28,7 +28,7 @@ def cyimport(import_path): """ if HAVE_CYTHON: import pyximport - py_importer, pyx_importer = pyximport.install() + py_importer, pyx_importer = pyximport.install(language_level=3) mod = __import__(import_path, fromlist=[True]) pyximport.uninstall(py_importer, pyx_importer) return mod