File tree 3 files changed +3
-3
lines changed
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() {
599
599
simple_gil_scoped_acquire gil;
600
600
601
601
error_scope err_scope;
602
-
602
+
603
603
local_internals_pp = find_internals_pp<local_internals>(get_local_internals_id ());
604
604
if (!local_internals_pp) {
605
605
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() {
239
239
auto **&internals_ptr_ptr = detail::get_internals_pp ();
240
240
internals_ptr_ptr = detail::find_internals_pp<detail::internals>(PYBIND11_INTERNALS_ID);
241
241
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 ());
243
244
244
245
Py_Finalize ();
245
246
Original file line number Diff line number Diff line change @@ -382,7 +382,6 @@ TEST_CASE("Subinterpreter") {
382
382
REQUIRE (py::hasattr (py::module_::import (" __main__" ), " main_tag" ));
383
383
REQUIRE (py::hasattr (py::module_::import (" widget_module" ), " extension_module_tag" ));
384
384
REQUIRE (has_state_dict_internals_obj ());
385
-
386
385
}
387
386
388
387
TEST_CASE (" Execution frame" ) {
You can’t perform that action at this time.
0 commit comments