Skip to content

Commit

Permalink
Don't bother testing old versions of pip on Python 3.10 and later. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 7, 2021
1 parent 50031c8 commit b2f7b8f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions setuptools/tests/test_virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,15 @@ def mark(param, *marks):
def skip_network(param):
return param if network else mark(param, pytest.mark.skip(reason="no network"))

issue2599 = pytest.mark.skipif(
sys.version_info > (3, 10),
reason="pypa/setuptools#2599",
)

network_versions = [
'pip==9.0.3',
'pip==10.0.1',
'pip==18.1',
mark('pip==9.0.3', issue2599),
mark('pip==10.0.1', issue2599),
mark('pip==18.1', issue2599),
mark('pip==19.3.1', pytest.mark.xfail(reason='pypa/pip#6599')),
'pip==20.0.2',
'https://github.com/pypa/pip/archive/master.zip',
Expand Down

0 comments on commit b2f7b8f

Please sign in to comment.