From f566213258ee0d08426ba12448c454e83842ae82 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Wed, 23 Aug 2023 21:28:04 +0200 Subject: [PATCH] Deduplicate test for toolbar button icon LA mode. This seems to have been accidentally duplicated in 7e2d904 (perhaps a merge problem). --- 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)