Skip to content

Commit

Permalink
#252: Do not clear ache after tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ddundo committed Dec 11, 2024
1 parent 6930fea commit e9191ed
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit e9191ed

Please sign in to comment.