Commit 7ea8086d authored by Miro Hrončok's avatar Miro Hrončok

Tests: Run `python -m pip.__main__` to support Python 2.6

See https://bugs.python.org/issue2751
parent ee40d9ff
...@@ -169,7 +169,7 @@ class TestNamespaces: ...@@ -169,7 +169,7 @@ class TestNamespaces:
install_cmd = [ install_cmd = [
sys.executable, sys.executable,
'-m', '-m',
'pip', 'pip.__main__',
'install', 'install',
str(pkg_A), str(pkg_A),
'-t', str(target), '-t', str(target),
......
...@@ -32,7 +32,7 @@ class TestNamespaces: ...@@ -32,7 +32,7 @@ class TestNamespaces:
install_cmd = [ install_cmd = [
sys.executable, sys.executable,
'-m', '-m',
'pip', 'pip.__main__',
'install', 'install',
str(pkg_A), str(pkg_A),
'-t', str(site_packages), '-t', str(site_packages),
...@@ -42,7 +42,7 @@ class TestNamespaces: ...@@ -42,7 +42,7 @@ class TestNamespaces:
install_cmd = [ install_cmd = [
sys.executable, sys.executable,
'-m', '-m',
'pip', 'pip.__main__',
'install', 'install',
str(pkg_B), str(pkg_B),
'-t', str(path_packages), '-t', str(path_packages),
...@@ -94,7 +94,7 @@ class TestNamespaces: ...@@ -94,7 +94,7 @@ class TestNamespaces:
install_cmd = [ install_cmd = [
sys.executable, sys.executable,
'-m', '-m',
'pip', 'pip.__main__',
'install', 'install',
str(pkg_A), str(pkg_A),
'-t', str(target), '-t', str(target),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment