]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-112503: Fix test_sys on WASI (gh-112505)
authorEric Snow <ericsnowcurrently@gmail.com>
Wed, 29 Nov 2023 00:36:07 +0000 (17:36 -0700)
committerGitHub <noreply@github.com>
Wed, 29 Nov 2023 00:36:07 +0000 (00:36 +0000)
commit3e6b32875207c39325ed8eded5819cfa5dcebc82
tree8746b285aca87607c7bec90d9c92dc3e2154e223
parent5b6858c22049b467c844620bf591c3b1bca629d6
[3.12] gh-112503: Fix test_sys on WASI (gh-112505)

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.
Lib/test/test_sys.py