aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_namespaces.py
diff options
context:
space:
mode:
authorMiro Hrončok <miro@hroncok.cz>2017-09-20 14:52:48 +0200
committerMiro Hrončok <miro@hroncok.cz>2017-09-20 14:52:48 +0200
commit7ea8086d35b6e072c8deae6de54c55f0582161e0 (patch)
tree83583ccfd92ffa8b8aed5f65da463e0f8aa31ceb /setuptools/tests/test_namespaces.py
parentee40d9fffac9c13ecfe9a427872adeeaedc57778 (diff)
downloadexternal_python_setuptools-7ea8086d35b6e072c8deae6de54c55f0582161e0.tar.gz
external_python_setuptools-7ea8086d35b6e072c8deae6de54c55f0582161e0.tar.bz2
external_python_setuptools-7ea8086d35b6e072c8deae6de54c55f0582161e0.zip
Tests: Run `python -m pip.__main__` to support Python 2.6
See https://bugs.python.org/issue2751
Diffstat (limited to 'setuptools/tests/test_namespaces.py')
-rw-r--r--setuptools/tests/test_namespaces.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/tests/test_namespaces.py b/setuptools/tests/test_namespaces.py
index 14759e66..1ac1b35e 100644
--- a/setuptools/tests/test_namespaces.py
+++ b/setuptools/tests/test_namespaces.py
@@ -32,7 +32,7 @@ class TestNamespaces:
install_cmd = [
sys.executable,
'-m',
- 'pip',
+ 'pip.__main__',
'install',
str(pkg_A),
'-t', str(site_packages),
@@ -42,7 +42,7 @@ class TestNamespaces:
install_cmd = [
sys.executable,
'-m',
- 'pip',
+ 'pip.__main__',
'install',
str(pkg_B),
'-t', str(path_packages),
@@ -94,7 +94,7 @@ class TestNamespaces:
install_cmd = [
sys.executable,
'-m',
- 'pip',
+ 'pip.__main__',
'install',
str(pkg_A),
'-t', str(target),