gh-116731: Fix refleaks in importlib tests#116763
gh-116731: Fix refleaks in importlib tests#116763jaraco wants to merge 4 commits intopython:mainfrom
Conversation
b576685 to
b33e4d5
Compare
|
With these changes, refleaks checks now pass: |
| from importlib.metadata import MetadataPathFinder | ||
| MetadataPathFinder().invalidate_caches() |
There was a problem hiding this comment.
@brettcannon I included you in the review for this section. Any concerns with adding this hook here?
|
I believe this build was the one triggered for refleaks. It looks like it may have failed to start. |
|
This is superseded by a cleaner approach in #116805. I still think |
files().test_importlibstarted leaking on refleaks #116731