• Éric Araujo's avatar
    Packaging tests: don’t let an internal cache grow indefinitely. · 2976cc8f
    Éric Araujo authored
    Victor Stinner diagnosed on #12167 that some reference leaks came from
    util._path_created, a set used for caching; there are two tests that
    cause additions to this set, so now they clear it in tearDown, avoiding
    17 refleaks.  (My tests show that it’s necessary to clear the set in
    only one test, clearing it in both does not stop more refleaks, but
    there’s no harm in doing it.)
    2976cc8f
test_command_bdist_dumb.py 2.53 KB