From 31b7e1c3902dee0bf7080f01d6fbc3a43b371403 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Tue, 24 Sep 2019 04:59:49 +0200 Subject: [PATCH] tests: remove "supports python -S " (#1168) This was imported semi-automatically in 0965577, but `ruby -S` is different from `python -S`. `ruby -S`: look for the script using PATH environment variable `python -S`: don't imply 'import site' on initialization --- test/exec.bats | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/test/exec.bats b/test/exec.bats index 5f5f40fd..73ae3a18 100644 --- a/test/exec.bats +++ b/test/exec.bats @@ -77,33 +77,3 @@ ${PYENV_ROOT}/versions/3.4/bin/python args OUT } - -@test "supports python -S " { - export PYENV_VERSION="3.4" - - # emulate `python -S' behavior - create_executable "python" </dev/null; then - \$BASH "\$found" - else - echo "python: no Python script found in input (LoadError)" >&2 - exit 1 - fi -else - echo 'python 3.4 (pyenv test)' -fi -SH - - create_executable "fab" <