Skip to content
Prev Previous commit
Next Next commit
TST: remove redundant parametrization
Just run with what ever version of PyQt we find.
  • Loading branch information
tacaswell committed Aug 4, 2021
commit fbe46a83e1a62848fb5929478e6fa03569180dda
10 changes: 1 addition & 9 deletions lib/matplotlib/tests/test_backend_qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,7 @@ def qt_core(request):
return QtCore


@pytest.mark.parametrize('backend', [
# Note: the value is irrelevant; the important part is the marker.
pytest.param(
'QtAgg',
marks=pytest.mark.backend('QtAgg', skip_on_importerror=True)),
pytest.param(
'Qt5Agg',
marks=pytest.mark.backend('Qt5Agg', skip_on_importerror=True)),
])
@pytest.mark.backend('QtAgg', skip_on_importerror=True)
def test_fig_close(backend):
# save the state of Gcf.figs
init_figs = copy.copy(Gcf.figs)
Expand Down