From 1bf6e5143ceeb466b1c38c859654178027562b63 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Mon, 22 Dec 2025 00:31:06 -0800 Subject: [PATCH] Remove skip for Move Subinterpreter test on free-threaded Python 3.14+ --- tests/test_with_catch/test_subinterpreter.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test_with_catch/test_subinterpreter.cpp b/tests/test_with_catch/test_subinterpreter.cpp index 26e0597582..f53c322fe1 100644 --- a/tests/test_with_catch/test_subinterpreter.cpp +++ b/tests/test_with_catch/test_subinterpreter.cpp @@ -94,13 +94,6 @@ TEST_CASE("Single Subinterpreter") { # if PY_VERSION_HEX >= 0x030D0000 TEST_CASE("Move Subinterpreter") { - // Test is skipped on free-threaded Python 3.14+ due to a hang in Py_EndInterpreter() - // when the subinterpreter is destroyed from a different thread than it was created on. - // See: https://github.com/pybind/pybind11/pull/5940 -# if PY_VERSION_HEX >= 0x030E0000 && defined(Py_GIL_DISABLED) - PYBIND11_CATCH2_SKIP_IF(true, "Skipped on free-threaded Python 3.14+ (see PR #5940)"); -# endif - std::unique_ptr sub(new py::subinterpreter(py::subinterpreter::create())); // on this thread, use the subinterpreter and import some non-trivial junk