gh-101758: Add a Test For Single-Phase Init Modules in Multiple Interpreters by ericsnowcurrently · Pull Request #101920 · python/cpython (original) (raw)

Traceback (most recent call last): File "/Lib/test/libregrtest/runtest.py", line 360, in _runtest_inner refleak = _runtest_inner2(ns, test_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Lib/test/libregrtest/runtest.py", line 300, in _runtest_inner2 the_module = importlib.import_module(abstest) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Lib/importlib/init.py", line 124, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1334, in _gcd_import File "", line 1307, in _find_and_load File "", line 1278, in _find_and_load_unlocked File "", line 841, in _load_unlocked File "", line 1015, in exec_module File "", line 400, in _call_with_frames_removed File "/Lib/test/test_imp.py", line 19, in import _xxsubinterpreters as _interpreters ModuleNotFoundError: No module named '_xxsubinterpreters'