Skip to content

Commit a03598b

Browse files
committed
move teardown to global conftest
1 parent dc9e0d5 commit a03598b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/test_diagnostics/conftest.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
from bayesflow.utils.numpy_utils import softmax
55

66

7-
def pytest_runtest_teardown(item, nextitem):
8-
import matplotlib.pyplot as plt
9-
10-
plt.close("all")
11-
12-
137
@pytest.fixture()
148
def var_names():
159
return [r"$\beta_0$", r"$\beta_1$", r"$\sigma$"]

0 commit comments

Comments
 (0)