Skip to content

Commit

Permalink
Fix test_errors_in_xfail_skip_expressions for Python 3.10.1
Browse files Browse the repository at this point in the history
Decided to remove the condition altogether as seems reasonable to state
that our own test suite requires Python 3.10.1.

Fix pytest-dev#9413
  • Loading branch information
nicoddemus committed Dec 16, 2021
1 parent 3bbadda commit 913439f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -78,7 +78,7 @@ jobs:
os: windows-latest
tox_env: "py39-xdist"
- name: "windows-py310"
python: "3.10-dev"
python: "3.10.1"
os: windows-latest
tox_env: "py310-xdist"

Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
os: ubuntu-latest
tox_env: "py39-xdist"
- name: "ubuntu-py310"
python: "3.10-dev"
python: "3.10.1"
os: ubuntu-latest
tox_env: "py310-xdist"
- name: "ubuntu-pypy3"
Expand Down
2 changes: 0 additions & 2 deletions testing/test_skipping.py
Expand Up @@ -1143,8 +1143,6 @@ def test_func():
pypy_version_info = getattr(sys, "pypy_version_info", None)
if pypy_version_info is not None and pypy_version_info < (6,):
markline = markline[5:]
elif sys.version_info[:2] >= (3, 10):
markline = markline[11:]
elif sys.version_info >= (3, 8) or hasattr(sys, "pypy_version_info"):
markline = markline[4:]

Expand Down

0 comments on commit 913439f

Please sign in to comment.