File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -599,7 +599,7 @@ inline local_internals &get_local_internals() {
599599 simple_gil_scoped_acquire gil;
600600
601601 error_scope err_scope;
602-
602+
603603 local_internals_pp = find_internals_pp<local_internals>(get_local_internals_id ());
604604 if (!local_internals_pp) {
605605 local_internals_pp = new local_internals *(nullptr );
Original file line number Diff line number Diff line change @@ -239,7 +239,8 @@ inline void finalize_interpreter() {
239239 auto **&internals_ptr_ptr = detail::get_internals_pp ();
240240 internals_ptr_ptr = detail::find_internals_pp<detail::internals>(PYBIND11_INTERNALS_ID);
241241 auto **&local_internals_pp = detail::get_local_internals_pp ();
242- local_internals_pp = detail::find_internals_pp<detail::local_internals>(detail::get_local_internals_id ());
242+ local_internals_pp
243+ = detail::find_internals_pp<detail::local_internals>(detail::get_local_internals_id ());
243244
244245 Py_Finalize ();
245246
Original file line number Diff line number Diff line change @@ -382,7 +382,6 @@ TEST_CASE("Subinterpreter") {
382382 REQUIRE (py::hasattr (py::module_::import (" __main__" ), " main_tag" ));
383383 REQUIRE (py::hasattr (py::module_::import (" widget_module" ), " extension_module_tag" ));
384384 REQUIRE (has_state_dict_internals_obj ());
385-
386385}
387386
388387TEST_CASE (" Execution frame" ) {
You can’t perform that action at this time.
0 commit comments