You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Skip tests if no interpreters module.gh-110713 added some tests that use the interpreters module but did not accommodated builds that don't support subinterpreters (incl. an interpreters module). We fix that here by catching ImportError and skipping tests as appropriate.
Bug report
Bug description:
#110713 unconditionally imports
test.support.interpreters
which imports_xxsubinterpreters
which fails since it isn't provided.This doesn't fail on
main
because it has a guard against the import:cpython/Lib/test/test_sys.py
Lines 19 to 22 in 48dfd74
CPython versions tested on:
3.12
Operating systems tested on:
Other
Linked PRs
The text was updated successfully, but these errors were encountered: