• Home
  • Raw
  • Download

Lines Matching full:ensurepip

9 import ensurepip
10 import ensurepip._uninstall
16 self.assertEqual(ensurepip._PIP_VERSION, ensurepip.version())
22 run_pip_patch = mock.patch("ensurepip._run_pip")
29 os_patch = mock.patch("ensurepip.os")
40 ensurepip.bootstrap()
54 ensurepip.bootstrap(root="/foo/bar/")
66 ensurepip.bootstrap(user=True)
77 ensurepip.bootstrap(upgrade=True)
88 ensurepip.bootstrap(verbosity=1)
99 ensurepip.bootstrap(verbosity=2)
110 ensurepip.bootstrap(verbosity=3)
121 ensurepip.bootstrap()
125 ensurepip.bootstrap(altinstall=True)
129 ensurepip.bootstrap(default_pip=True)
134 ensurepip.bootstrap(altinstall=True, default_pip=True)
138 # ensurepip deliberately ignores all pip environment variables
141 ensurepip.bootstrap()
145 # ensurepip deliberately ignores the pip config file
147 ensurepip.bootstrap()
152 def fake_pip(version=ensurepip._PIP_VERSION):
175 ensurepip._uninstall_helper()
181 ensurepip._uninstall_helper()
188 ensurepip._uninstall_helper()
199 ensurepip._uninstall_helper(verbosity=1)
210 ensurepip._uninstall_helper(verbosity=2)
221 ensurepip._uninstall_helper(verbosity=3)
231 # ensurepip deliberately ignores all pip environment variables
235 ensurepip._uninstall_helper()
239 # ensurepip deliberately ignores the pip config file
242 ensurepip._uninstall_helper()
248 EXPECTED_VERSION_OUTPUT = "pip " + ensurepip._PIP_VERSION
256 ensurepip._main(["--version"])
262 exit_code = ensurepip._main([])
278 exit_code = ensurepip._main([])
288 ensurepip._uninstall._main(["--version"])
295 exit_code = ensurepip._uninstall._main([])
309 exit_code = ensurepip._uninstall._main([])