Skip to content

Commit f062ecd

Browse files
authored
TST: do not use ax fixture with image_comparison fixture
1 parent 070ef27 commit f062ecd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_widgets.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,8 @@ def test_TextBox(ax, toolbar):
995995

996996

997997
@image_comparison(['check_radio_buttons.png'], style='mpl20', remove_text=True)
998-
def test_check_radio_buttons_image(ax):
998+
def test_check_radio_buttons_image():
999+
ax = get_ax()
9991000
# Remove this line when this test image is regenerated.
10001001
plt.rcParams['text.kerning_factor'] = 6
10011002

0 commit comments

Comments
 (0)