

def run(self, *args, **kw):
    if self.verbose:
        print(('>> running %s %s' % (args, kw)))
    cwd = kw.pop('cwd', None)
    run_from = kw.pop('run_from', None)
    assert ((not cwd) or (not cwd)), "Don't use run_from; it's going away"
    cwd = (cwd or run_from or self.cwd)
    return TestPipResult(super(PipTestEnvironment, self).run(*args, cwd=cwd, **kw), verbose=self.verbose)

dataset/ETHPy150Open pypa/pip/tests/lib/__init__.py PipTestEnvironment.run/VarMisuse@68/88 `run_from`->`cwd`