8000 Remove asserting about current backend at the end of mpl_test_settings. · matplotlib/matplotlib@9b1972d · GitHub
[go: up one dir, main page]

Skip to content

Commit 9b1972d

Browse files
committed
Remove asserting about current backend at the end of mpl_test_settings.
The assertion was added while debugging the backend-switching PRs, but it is not necessary anymore and breaks the mplcairo test suite (which imports the mpl_test_settings fixture from matplotlib, but doesn't set the backend to agg (it doesn't use matplotlib's pytest_configure). RC per breakage to mplcairo test suite.
1 parent 5e01393 commit 9b1972d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/matplotlib/testing/conftest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ 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-
5856

5957
@pytest.fixture
6058
def mpl_image_comparison_parameters(request, extension):

0 commit comments

Comments
 (0)
0