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

Skip to content

Commit d981d26

Browse files
committed
TST: switch order of tests
Perfer to run with Qt6 if available
1 parent 9af08db commit d981d26

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/tests/test_backend_qt.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ def qt_core(request):
3535

3636
@pytest.mark.parametrize('backend', [
3737
# Note: the value is irrelevant; the important part is the marker.
38-
pytest.param(
39-
'Qt5Agg',
40-
marks=pytest.mark.backend('Qt5Agg', skip_on_importerror=True)),
4138
pytest.param(
4239
'QtAgg',
4340
marks=pytest.mark.backend('QtAgg', skip_on_importerror=True)),
41+
pytest.param(
42+
'Qt5Agg',
43+
marks=pytest.mark.backend('Qt5Agg', skip_on_importerror=True)),
4444
])
4545
def test_fig_close(backend):
4646
# save the state of Gcf.figs

0 commit comments

Comments
 (0)