

def open(self):
    assert isinstance(self.parent, path_type)
    assert os.path.exists(self.parent)
    args = (['virtualenv', '--quiet', self.path] + self.args)
    if (not os.path.exists(self.path)):
        process = Popen(args)
        process.wait()
        assert (process.returncode == 0)
    assert os.path.exists(self.path)
    bin_path = os.path.join(self.path, b'bin')
    assert os.path.exists(bin_path)

dataset/ETHPy150Open sashahart/vex/vex/tests/tempvenv.py TempVenv.open/original