Skip to content

Commit d567933

Browse files
committed
Fallback pytest to 4.6.x for python2
1 parent fc2694c commit d567933

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

requirements/dev.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ pylint>=1.7.2,<2.0
66
pyyaml>=5.3.1
77

88
# Test requirements
9-
pytest>=6.1.1
9+
pytest>=6.1.1; python_version >= '3.6'
10+
pytest~=4.6.11; python_version < '3.6' # pytest dropped python 2 support after 4.6.x
1011
mock>=3.0.5,<4.0.0 # 4.0.0 drops Python 2 support
1112
parameterized>=0.7.4
1213

0 commit comments

Comments
 (0)