Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fbe46a8

Browse files
committed
TST: remove redundant parametrization
Just run with what ever version of PyQt we find.
1 parent b8856ea commit fbe46a8

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

lib/matplotlib/tests/test_backend_qt.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,7 @@ def qt_core(request):
3333
return QtCore
3434

3535

36-
@pytest.mark.parametrize('backend', [
37-
# Note: the value is irrelevant; the important part is the marker.
38-
pytest.param(
39-
'QtAgg',
40-
marks=pytest.mark.backend('QtAgg', skip_on_importerror=True)),
41-
pytest.param(
42-
'Qt5Agg',
43-
marks=pytest.mark.backend('Qt5Agg', skip_on_importerror=True)),
44-
])
36+
@pytest.mark.backend('QtAgg', skip_on_importerror=True)
4537
def test_fig_close(backend):
4638
# save the state of Gcf.figs
4739
init_figs = copy.copy(Gcf.figs)

0 commit comments

Comments
 (0)