From 8ddee421ad8568f3879aa567490cc84e87e5cb0a Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Wed, 23 Aug 2023 22:30:56 +0200 Subject: [PATCH] Backport PR #26581: Deduplicate test for toolbar button icon LA mode. --- lib/matplotlib/tests/test_backends_interactive.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/matplotlib/tests/test_backends_interactive.py b/lib/matplotlib/tests/test_backends_interactive.py index b5f4db4efde6..678cfc80ef71 100644 --- a/lib/matplotlib/tests/test_backends_interactive.py +++ b/lib/matplotlib/tests/test_backends_interactive.py @@ -206,10 +206,6 @@ def check_alt_backend(alt_backend): assert fig.canvas.manager.get_window_title() == "Figure 1" - if mpl.rcParams["toolbar"] == "toolmanager": - # test toolbar button icon LA mode see GH issue 25174 - _test_toolbar_button_la_mode_icon(fig) - if mpl.rcParams["toolbar"] == "toolmanager": # test toolbar button icon LA mode see GH issue 25174 _test_toolbar_button_la_mode_icon(fig)