Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-97669: Fix test_tools reference leak #98216

Merged
merged 1 commit into from
Oct 12, 2022
Merged

gh-97669: Fix test_tools reference leak #98216

merged 1 commit into from
Oct 12, 2022

Commits on Oct 12, 2022

  1. gh-97669: Fix test_tools reference leak

    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.
    vstinner committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    dd704ca View commit details
    Browse the repository at this point in the history