def create_pip_runner(osutils=None): pip = FakePip() pip_runner = PipRunner(python_exe=sys.executable, pip=pip, osutils=osutils) return pip, pip_runner
def create_pip_runner(osutils=None): pip = FakePip() pip_runner = PipRunner(pip, osutils=osutils) return pip, pip_runner
def pip_runner(empty_env_osutils): pip = FakePip() pip_runner = PipRunner(python_exe=sys.executable, pip=pip, osutils=empty_env_osutils) return pip, pip_runner
def pip_runner(empty_env_osutils): pip = FakePip() pip_runner = PipRunner(pip, osutils=empty_env_osutils) return pip, pip_runner