aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/tests/test_develop.py2
-rw-r--r--setuptools/tests/test_namespaces.py6
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),