Skip to content

Commit 649216d

Browse files
committed
skip mypy example check for older Pythons
1 parent adc5ed8 commit 649216d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_mypy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
Test our typing with mypy
33
"""
44

5-
import os
65
import sys
76
from pathlib import Path
87
from subprocess import PIPE, STDOUT, Popen
98

109
import pytest
1110

1211
pytest.importorskip("mypy")
12+
pytestmark = pytest.mark.skipif(sys.version_info < (3, 10), reason="targets 3.10")
1313

1414
repo_root = Path(__file__).parents[1]
1515

0 commit comments

Comments
 (0)