Skip to content

Commit 181d720

Browse files
committed
xfail more tests on Python 3.12+ for older pips. Ref #3727.
1 parent 46dc02c commit 181d720

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

setuptools/tests/test_virtualenv.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,24 @@ def access_pypi():
6060
'pip<20.1',
6161
marks=pytest.mark.xfail(
6262
'sys.version_info > (3, 12)',
63-
reason="pip 21 requried for Python 3.12 and later",
63+
reason="pip 22 requried for Python 3.12 and later",
6464
),
6565
),
6666
pytest.param(
6767
'pip<21',
6868
marks=pytest.mark.xfail(
6969
'sys.version_info > (3, 12)',
70-
reason="pip 21 requried for Python 3.12 and later",
70+
reason="pip 22 requried for Python 3.12 and later",
7171
),
7272
),
73-
'pip<22',
73+
pytest.param(
74+
'pip<22',
75+
marks=pytest.mark.xfail(
76+
'sys.version_info > (3, 12)',
77+
reason="pip 22 requried for Python 3.12 and later",
78+
),
79+
),
80+
# 'pip<23',
7481
pytest.param(
7582
'https://github.com/pypa/pip/archive/main.zip',
7683
marks=pytest.mark.xfail(reason='#2975'),

0 commit comments

Comments
 (0)