• Éric Araujo's avatar
    Packaging tests: don’t let an internal cache grow indefinitely. · c06f46f7
    Éric Araujo yazdı
    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.)
    c06f46f7
test_command_bdist_dumb.py 2.53 KB