Skip to content

Commit 05d9fb1

Browse files
authored
Fix type check failure stemming from new pytest release (#9798)
The release of pytest 6.2 broke mypy's type checking of itself, since pytest 6.2 drops support for Python 3.5 (https://docs.pytest.org/en/stable/changelog.html#pytest-6-2-0-2020-12-12) Co-authored-by: hauntsaninja <>
1 parent ac32495 commit 05d9fb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ flake8-bugbear; python_version >= '3.5'
55
flake8-pyi>=20.5; python_version >= '3.6'
66
lxml>=4.4.0
77
psutil>=4.0
8-
pytest>=6.1.0,<7.0.0
8+
# pytest 6.2 does not support Python 3.5
9+
pytest>=6.1.0,<6.2.0
910
pytest-xdist>=1.34.0,<2.0.0
1011
pytest-forked>=1.3.0,<2.0.0
1112
pytest-cov>=2.10.0,<3.0.0

0 commit comments

Comments
 (0)