diff options
author | Stéphane Bidoul (ACSONE) <stephane.bidoul@acsone.eu> | 2018-04-25 18:24:25 +0200 |
---|---|---|
committer | Stéphane Bidoul (ACSONE) <stephane.bidoul@acsone.eu> | 2018-04-25 19:10:18 +0200 |
commit | a036d3f21d546ec63659ba9f5d57352f25b12c04 (patch) | |
tree | e92f501d7562eaeb8fdaab75b584c90a96fafa0b /testing/test_regressions.py | |
parent | d917cace49b73b25f82cd594102a0c2392f37160 (diff) | |
download | setuptools-scm-a036d3f21d546ec63659ba9f5d57352f25b12c04.tar.gz |
Fix pip invocation test.
Diffstat (limited to 'testing/test_regressions.py')
-rw-r--r-- | testing/test_regressions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/test_regressions.py b/testing/test_regressions.py index 7abd659..8e4f396 100644 --- a/testing/test_regressions.py +++ b/testing/test_regressions.py @@ -53,8 +53,8 @@ def test_pip_egg_info(tmpdir, monkeypatch): def test_pip_download(tmpdir, monkeypatch): monkeypatch.chdir(tmpdir) subprocess.check_call([ - sys.executable, '-c', - 'import pip;pip.main()', 'download', 'lz4==0.9.0', + sys.executable, '-m', + 'pip', 'download', 'lz4==0.9.0', ]) |