bpo-41718: Reduce libregrtest runtest imports (GH-24980)
Move clear_caches() from libregrtest.refleak to libregrtest.utils to avoid importing libregrtest.refleak when it's not needed. clear_caches() now only calls re.purge() if 're' is in sys.modules.
V
Victor Stinner committed
10417dd15f135c179cf4234d1abe506915d802ff
Parent: 532e063
Committed by GitHub <noreply@github.com>
on 3/22/2021, 11:17:05 PM