diff --git a/tests/conftest.py b/tests/conftest.py index a44c6bbb001..efbd6f01cf7 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -286,6 +286,7 @@ def garbage_collection() -> None: to run per test case if needed. """ gc.collect() + gc.freeze() @pytest.fixture(autouse=True)