Skip to content

Commit a9aa2f9

Browse files
fix python2.6 issue with the new test
1 parent 3e5cc24 commit a9aa2f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_regressions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ def test_pip_egg_info(tmpdir, monkeypatch):
5353
def test_pip_download(tmpdir, monkeypatch):
5454
monkeypatch.chdir(tmpdir)
5555
subprocess.check_call([
56-
sys.executable, '-m',
57-
'pip', 'download', 'lz4==0.9.0',
56+
sys.executable, '-c',
57+
'import pip;pip.main()', 'download', 'lz4==0.9.0',
5858
])
5959

6060

0 commit comments

Comments
 (0)