From e9191ede736518b0db42d3e8593b090f80841295 Mon Sep 17 00:00:00 2001 From: Davor Dundovic <33790330+ddundo@users.noreply.github.com> Date: Wed, 11 Dec 2024 08:01:08 +0000 Subject: [PATCH] #252: Do not clear ache after tests --- test/conftest.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/test/conftest.py b/test/conftest.py index 3675a4e0..3958390b 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -15,15 +15,3 @@ def pytest_configure(config): "markers", "slow: mark test as slow to run", ) - - -def pytest_runtest_teardown(item, nextitem): - """ - Clear caches after running a test - """ - from firedrake.tsfc_interface import clear_cache - from pyop2.caching import clear_memory_cache - from pyop2.mpi import COMM_WORLD - - clear_cache() - clear_memory_cache(COMM_WORLD)