Skip to content

Commit 7aa119f

Browse files
committed
Skip Sphinx tests if on Python 3.10.
It's not currently compatible, but should be in the next bug fix.
1 parent 974466f commit 7aa119f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_sphinxext.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
import pytest
1111

1212

13-
pytest.importorskip('sphinx')
13+
pytest.importorskip('sphinx',
14+
minversion=None if sys.version_info < (3, 10) else '4.1.3')
1415

1516

1617
def test_tinypages(tmpdir):

0 commit comments

Comments
 (0)