Skip to content

Commit adc5ed8

Browse files
committed
raise mypy python version to 3.10 in examples
1 parent a6dc624 commit adc5ed8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_mypy.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ def run_mypy(*mypy_args):
2525
Captures output and reports it on errors
2626
"""
2727
p = Popen(
28-
[sys.executable, "-m", "mypy"] + list(mypy_args), stdout=PIPE, stderr=STDOUT
28+
[sys.executable, "-m", "mypy", "--python-version=3.10"] + list(mypy_args),
29+
stdout=PIPE,
30+
stderr=STDOUT,
2931
)
3032
o, _ = p.communicate()
3133
out = o.decode("utf8", "replace")

0 commit comments

Comments
 (0)