Home
last modified time | relevance | path

Searched refs:additional_paths (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/ensurepip/
D__init__.py21 def _run_pip(args, additional_paths=None): argument
23 if additional_paths is not None:
24 sys.path = additional_paths + sys.path
94 additional_paths = []
104 additional_paths.append(os.path.join(tmpdir, wheel_name))
117 return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
/external/python/cpython2/Lib/ensurepip/
D__init__.py25 def _run_pip(args, additional_paths=None): argument
27 if additional_paths is not None:
28 sys.path = additional_paths + sys.path
100 additional_paths = []
110 additional_paths.append(os.path.join(tmpdir, wheel_name))
123 return _run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
/external/python/cpython2/Lib/test/
Dtest_ensurepip.py50 additional_paths = self.run_pip.call_args[0][1]
51 self.assertEqual(len(additional_paths), 2)
272 additional_paths = self.run_pip.call_args[0][1]
273 self.assertEqual(len(additional_paths), 2)
/external/python/cpython3/Lib/test/
Dtest_ensurepip.py49 additional_paths = self.run_pip.call_args[0][1]
50 self.assertEqual(len(additional_paths), 2)
269 additional_paths = self.run_pip.call_args[0][1]
270 self.assertEqual(len(additional_paths), 2)