Skip to content

Commit

Permalink
Remove another usage of vistir.misc.run
Browse files Browse the repository at this point in the history
  • Loading branch information
oz123 committed Dec 6, 2022
1 parent 764fbed commit 05a1060
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
from pipenv.utils.processes import subprocess_run
from pipenv.vendor import toml, tomlkit
from pipenv.vendor.vistir.contextmanagers import temp_environ
from pipenv.vendor.vistir.misc import run
from pipenv.vendor.vistir.path import (
create_tracked_tempdir, handle_remove_readonly
)
Expand Down Expand Up @@ -498,10 +497,7 @@ def create(self):
cmd = [
python, "-m", "virtualenv", self.path.absolute().as_posix()
]
c = run(
cmd, verbose=False, return_object=True, write_to_stdout=False,
combine_stderr=False, block=True, nospin=True,
)
c = sp.run(cmd, shell=True)
assert c.returncode == 0

def activate(self):
Expand Down

0 comments on commit 05a1060

Please sign in to comment.