]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-76785: Fix Windows Refleak in test_interpreters (gh-117913)
authorEric Snow <ericsnowcurrently@gmail.com>
Tue, 16 Apr 2024 02:16:37 +0000 (20:16 -0600)
committerGitHub <noreply@github.com>
Tue, 16 Apr 2024 02:16:37 +0000 (20:16 -0600)
commit3831144f9c8ce0fd582a0830a9e48a8da85e166a
tree88202292ee1f70e2ab2d62dccb73a6bfc4d1843c
parent757891ee8ad61a864444c1fdb764d81bc8a11189
gh-76785: Fix Windows Refleak in test_interpreters (gh-117913)

gh-117662 introduced some refleaks, or, rather, exposed some existing refleaks.  The leaks are coming when test.support.os_helper is imported in a "legacy" interpreter.  I've updated test.test_interpreters.utils to avoid importing os_helper, which fixes the leaks.  I'll address the root cause separately.
Lib/test/test_interpreters/test_api.py
Lib/test/test_interpreters/utils.py