◐ Shell
clean mode source ↗

gh-97669: Fix test_tools reference leak by vstinner · Pull Request #98216 · python/cpython

test_tools.test_sundry() now uses an unittest mock to prevent the
logging module to register a real "atfork" function which kept the
logging module dictionary alive. So the logging module can be
properly unloaded. Previously, the logging module was loaded before
test_sundry(), but it's no longer the case since recent test_tools
sub-tests removals.

carljm added a commit to carljm/cpython that referenced this pull request

Oct 14, 2022

carljm added a commit to carljm/cpython that referenced this pull request

Oct 14, 2022