]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-121084: Fix test_typing random leaks (#121360)
authorVictor Stinner <vstinner@python.org>
Thu, 4 Jul 2024 17:38:30 +0000 (19:38 +0200)
committerGitHub <noreply@github.com>
Thu, 4 Jul 2024 17:38:30 +0000 (19:38 +0200)
commit5f660e8e2ca3acfb89ccbdd990f072149b6baa6a
treee603b8d27c75e983d21d348395e66c067e9d9efb
parentf5c8d67de6c68bea2860d5d96af747c5e95dbf22
gh-121084: Fix test_typing random leaks (#121360)

Clear typing ABC caches when running tests for refleaks (-R option):
call _abc_caches_clear() on typing abstract classes and their
subclasses.
Lib/test/libregrtest/utils.py
Misc/NEWS.d/next/Tests/2024-07-04-15-10-29.gh-issue-121084.qxcd5d.rst [new file with mode: 0644]