Skip to content

Commit 913439f

Browse files
committed
Fix test_errors_in_xfail_skip_expressions for Python 3.10.1
Decided to remove the condition altogether as seems reasonable to state that our own test suite requires Python 3.10.1. Fix #9413
1 parent 3bbadda commit 913439f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
os: windows-latest
7979
tox_env: "py39-xdist"
8080
- name: "windows-py310"
81-
python: "3.10-dev"
81+
python: "3.10.1"
8282
os: windows-latest
8383
tox_env: "py310-xdist"
8484

@@ -108,7 +108,7 @@ jobs:
108108
os: ubuntu-latest
109109
tox_env: "py39-xdist"
110110
- name: "ubuntu-py310"
111-
python: "3.10-dev"
111+
python: "3.10.1"
112112
os: ubuntu-latest
113113
tox_env: "py310-xdist"
114114
- name: "ubuntu-pypy3"

testing/test_skipping.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,8 +1143,6 @@ def test_func():
11431143
pypy_version_info = getattr(sys, "pypy_version_info", None)
11441144
if pypy_version_info is not None and pypy_version_info < (6,):
11451145
markline = markline[5:]
1146-
elif sys.version_info[:2] >= (3, 10):
1147-
markline = markline[11:]
11481146
elif sys.version_info >= (3, 8) or hasattr(sys, "pypy_version_info"):
11491147
markline = markline[4:]
11501148

0 commit comments

Comments
 (0)