Skip to content

Commit 758f7c7

Browse files
committed
just run the venv creation, it'll raise if it fails
1 parent ad38590 commit 758f7c7

File tree

1 file changed

+1
-2
lines changed
  • graalpython/com.oracle.graal.python.test/src/tests

1 file changed

+1
-2
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_venv.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ def tearDown(self):
5252
shutil.rmtree(self.env_dir)
5353

5454
def test_create_and_use_basic_venv(self):
55-
create = subprocess.check_output([sys.executable, "-m", "venv", self.env_dir, "--without-pip"])
56-
assert create.decode() == "", create
55+
subprocess.check_output([sys.executable, "-m", "venv", self.env_dir, "--without-pip"])
5756
run = subprocess.getoutput(". %s/bin/activate; python -m site" % self.env_dir)
5857
assert "ENABLE_USER_SITE: False" in run, run
5958
assert self.env_dir in run, run

0 commit comments

Comments
 (0)