We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_internals()
TEST_CASE("Threads")
REQUIRE(has_pybind11_internals_static());
1 parent f12f194 commit ad126f5Copy full SHA for ad126f5
tests/test_embed/test_interpreter.cpp
@@ -292,11 +292,6 @@ TEST_CASE("Threads") {
292
auto locals = py::dict("count"_a = 0);
293
294
{
295
- // This used to be triggered by py::gil_scoped_release().
296
- // TODO: Explain why/how this is relevant to this unit test.
297
- py::detail::get_internals();
298
- REQUIRE(has_pybind11_internals_static());
299
-
300
py::gil_scoped_release gil_release{};
301
302
auto threads = std::vector<std::thread>();
0 commit comments