SIGN IN SIGN UP

[3.13] gh-121084: Fix test_typing random leaks (GH-121360) (#121373)

gh-121084: Fix test_typing random leaks (GH-121360)

Clear typing ABC caches when running tests for refleaks (-R option):
call _abc_caches_clear() on typing abstract classes and their
subclasses.
(cherry picked from commit 5f660e8e2ca3acfb89ccbdd990f072149b6baa6a)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
abefbcba8a0ced0f729c08031672d6f188059181
Parent: 273c993
Committed by GitHub <noreply@github.com> on 7/4/2024, 6:07:07 PM