From 55c36bc2fac28b475e7cab170e11efeb3749884e Mon Sep 17 00:00:00 2001 From: Gleb Kanterov Date: Wed, 25 Sep 2024 16:25:52 +0200 Subject: [PATCH] Better error messages --- bundle/tests/python_import_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundle/tests/python_import_test.go b/bundle/tests/python_import_test.go index d99991d1..f2093ceb 100644 --- a/bundle/tests/python_import_test.go +++ b/bundle/tests/python_import_test.go @@ -73,7 +73,7 @@ func activateVEnv(t *testing.T) { venvDir := pathlib.Join(dir, "venv") 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 @@ -91,5 +91,5 @@ func activateVEnv(t *testing.T) { "install", "databricks-pydabs==0.5.1", ).Run() - require.NoError(t, err) + require.NoError(t, err, "failed to install databricks-pydabs") }