Skip to content

Commit

Permalink
tests: don't use pytest-skiptest 0.14.0 with Python 3.9 and 3.10
Browse files Browse the repository at this point in the history
see also:
pytest-dev/pytest-subtests#173

Bug: T381719
Change-Id: I2c7a0e5cc7aea7617070dbce32bc46b072092270
  • Loading branch information
xqt committed Dec 7, 2024
1 parent acc0a35 commit 21073ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
pytest >= 7.0.1
pytest-cov >= 3.0.0; python_version>="3.10"
pytest-cov >= 2.11.1; python_version<"3.10"
pytest-subtests >= 0.3.2
pytest-subtests >= 0.3.2, < 0.14.0; python_version<"3.11"
pytest-subtests >= 0.3.2; python_version>"3.10"
pytest-attrib>=0.1.3
pytest-xvfb>=3.0.0

Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ deps =

fasttest: pytest >= 7.0.1
fasttest: pytest-attrib>=0.1.3
fasttest: pytest-subtests >= 0.3.2
fasttest: pytest-subtests >= 0.3.2, < 0.14.0; python_version < "3.11"
fasttest: pytest-subtests >= 0.3.2; python_version > "3.10"
fasttest: mock
fasttest: .[scripts]

Expand Down

0 comments on commit 21073ec

Please sign in to comment.