Skip to content

Commit 571fd0b

Browse files
committed
TST: add check at end of auto-fixture that backend is still agg
1 parent e2d4fc4 commit 571fd0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/testing/conftest.py

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def mpl_test_settings(request):
5353
if backend is not None:
5454
plt.switch_backend(prev_backend)
5555

56+
assert matplotlib.get_backend() == 'agg'
57+
5658

5759
@pytest.fixture
5860
def mpl_image_comparison_parameters(request, extension):

0 commit comments

Comments
 (0)