Skip to content

Commit

Permalink
unpin pytest for py3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdinur committed Dec 30, 2022
1 parent ee03804 commit 03ee183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riotfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def select_pys(min_version=MIN_PYTHON_VERSION, max_version=MAX_PYTHON_VERSION):
venv = Venv(
pkgs={
"mock": latest,
"pytest": "<7.0.0",
**({"pytest": "<7.0.0"} if sys.version_info < (3, 11) else {"pytest": "==7.2.0"}),
"pytest-mock": latest,
"coverage": latest,
"pytest-cov": latest,
Expand Down

0 comments on commit 03ee183

Please sign in to comment.