summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_develop.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-09-29 15:27:34 +0100
committerGitHub <noreply@github.com>2017-09-29 15:27:34 +0100
commitf443d77addf998ed760523faf76111686cc10367 (patch)
tree832cba6a0c3822e8619d45338498620f1fe75a01 /setuptools/tests/test_develop.py
parent651f97af37171b03b7181208d820c3a925961e13 (diff)
parent7ea8086d35b6e072c8deae6de54c55f0582161e0 (diff)
downloadpython-setuptools-git-f443d77addf998ed760523faf76111686cc10367.tar.gz
Merge pull request #1155 from hroncok/python-m-pip
Tests: Run `python -m pip` instead of plain `pip`
Diffstat (limited to 'setuptools/tests/test_develop.py')
-rw-r--r--setuptools/tests/test_develop.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/tests/test_develop.py b/setuptools/tests/test_develop.py
index ad7cfa05..cb4ff4b4 100644
--- a/setuptools/tests/test_develop.py
+++ b/setuptools/tests/test_develop.py
@@ -167,7 +167,9 @@ class TestNamespaces:
target = tmpdir / 'packages'
# use pip to install to the target directory
install_cmd = [
- 'pip',
+ sys.executable,
+ '-m',
+ 'pip.__main__',
'install',
str(pkg_A),
'-t', str(target),