Skip to content

Commit

Permalink
Update nireports/tests/conftest.py
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Markiewicz <[email protected]>
  • Loading branch information
jhlegarreta and effigies authored Feb 16, 2025
1 parent 9d7f3d9 commit 2ff2689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nireports/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def nthreads():
return min(int(getenv("CIRCLE_NPROCS", "8")), cpu_count())


@pytest.fixture()
@pytest.fixture(autouse=True)
def close_mpl_figures():
"""Automatically close all Matplotlib figures after each test."""
yield
Expand Down

0 comments on commit 2ff2689

Please sign in to comment.