Don't attempt to garbage collect objects leaked by previous modules (#143944)

This commit is contained in:
Erik Montnemery 2025-04-30 14:52:50 +02:00 committed by GitHub
parent b16151ac6d
commit f7a9319122
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -286,6 +286,7 @@ def garbage_collection() -> None:
to run per test case if needed.
"""
gc.collect()
gc.freeze()
@pytest.fixture(autouse=True)