diff --git a/test/conftest.py b/test/conftest.py index 3675a4e..134bf6a 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -1,7 +1,7 @@ """ Global pytest configuration. -**Disclaimer: some functions copied from firedrake/src/tests/conftest.py +**Disclaimer: some functions copied from firedrake/tests/firedrake/conftest.py """ @@ -9,21 +9,9 @@ def pytest_configure(config): """ Register an additional marker. - **Disclaimer: copied from firedrake/src/tests/conftest.py + **Disclaimer: copied from firedrake/tests/firedrake/conftest.py """ config.addinivalue_line( "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)