Skip to content

Commit fd29471

Browse files
committed
Try fix tests
1 parent 0556fc6 commit fd29471

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

include/pybind11/detail/common.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,9 +359,7 @@
359359
#define PYBIND11_ENSURE_INTERNALS_READY \
360360
{ \
361361
pybind11::detail::get_internals_pp_manager().unref(); \
362-
pybind11::detail::get_local_internals_pp_manager().unref(); \
363362
pybind11::detail::get_internals(); \
364-
pybind11::detail::get_local_internals(); \
365363
}
366364

367365
#if !defined(GRAALVM_PYTHON)

tests/test_multiple_interpreters/test_multiple_interpreters.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ def test_dependent_subinterpreters():
210210

211211
PREAMBLE_CODE = textwrap.dedent(
212212
"""
213-
import sys
213+
def test():
214+
import sys
214215
215-
sys.path.append('.')
216+
sys.path.append('.')
216217
217-
def test():
218218
import collections
219219
import mod_per_interpreter_gil_with_singleton as m
220220

0 commit comments

Comments
 (0)