summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-17 15:43:18 +0200
committerÉric Araujo <merwok@netwok.org>2011-06-17 15:43:18 +0200
commitc06f46f74c4a5f3cc46aa3a6d1c9cc1cb187e4c4 (patch)
tree9bda96b9c57c5321faf75675b8430b4cf38b47ef /Python/Python-ast.c
parentd2c7e3fe96b16122fe23e018f970c5518c6411b5 (diff)
downloadcpython-git-c06f46f74c4a5f3cc46aa3a6d1c9cc1cb187e4c4.tar.gz
Packaging tests: don’t let an internal cache grow indefinitely.
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.)
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions