Better error messages

This commit is contained in:
Gleb Kanterov 2024-09-25 16:25:52 +02:00
parent 6fd701ec84
commit 55c36bc2fa
No known key found for this signature in database
GPG Key ID: 4D87C640DBD00176
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ func activateVEnv(t *testing.T) {
venvDir := pathlib.Join(dir, "venv") venvDir := pathlib.Join(dir, "venv")
err := exec.Command("python3", "-m", "venv", venvDir).Run() err := exec.Command("python3", "-m", "venv", venvDir).Run()
require.NoError(t, err) require.NoError(t, err, "failed to create venv")
// we don't have shell to activate venv, updating PATH is enough // we don't have shell to activate venv, updating PATH is enough
@ -91,5 +91,5 @@ func activateVEnv(t *testing.T) {
"install", "install",
"databricks-pydabs==0.5.1", "databricks-pydabs==0.5.1",
).Run() ).Run()
require.NoError(t, err) require.NoError(t, err, "failed to install databricks-pydabs")
} }