diff options
author | Miro Hrončok <miro@hroncok.cz> | 2017-09-20 14:52:48 +0200 |
---|---|---|
committer | Miro Hrončok <miro@hroncok.cz> | 2017-09-20 14:52:48 +0200 |
commit | 7ea8086d35b6e072c8deae6de54c55f0582161e0 (patch) | |
tree | 83583ccfd92ffa8b8aed5f65da463e0f8aa31ceb /setuptools/tests | |
parent | ee40d9fffac9c13ecfe9a427872adeeaedc57778 (diff) | |
download | external_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')
-rw-r--r-- | setuptools/tests/test_develop.py | 2 | ||||
-rw-r--r-- | setuptools/tests/test_namespaces.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/tests/test_develop.py b/setuptools/tests/test_develop.py index ec67c798..cb4ff4b4 100644 --- a/setuptools/tests/test_develop.py +++ b/setuptools/tests/test_develop.py @@ -169,7 +169,7 @@ class TestNamespaces: install_cmd = [ sys.executable, '-m', - 'pip', + 'pip.__main__', 'install', str(pkg_A), '-t', str(target), 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), |