From 6185bb55e602f673dac4ca1cca0df382adda53d1 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Wed, 15 Sep 2021 22:26:39 +0300 Subject: [PATCH] allow for sys.executable to be different --- test/exec.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/exec.bats b/test/exec.bats index 61b4711d..56a0f61e 100644 --- a/test/exec.bats +++ b/test/exec.bats @@ -79,7 +79,7 @@ OUT } @test "sys.executable with system version (#98)" { - system_python=$(which python3) + system_python="$(python3 -c 'import sys; print(sys.executable)')" PYENV_VERSION="custom" create_executable "python3" ""