pyenv/test
Alex Hedges 02e1d4a293
Handle case where pyenv-commands --sh returns nothing (#2908)
In exceptional cases (custom installation, malfunctions elsewhere), `pyenv-commands --sh` may return nothing.
In non-Fish, this would cause "syntax error near unexpected token `)'" in `pyenv()`.

Bash does not allow to specify a `case` option that would never match.
This works around it by defaulting to `/`. Commands, being filenames, can never match it.
In Fish, nothing needs to be done: it apparently does interpret a `case` without argument as one that never matches.
2024-02-26 00:07:52 +03:00
..
libexec
--version.bats
commands.bats
completions.bats
exec.bats allow for sys.executable to be different 2021-09-21 05:07:06 +03:00
global.bats
help.bats
hooks.bats
init.bats Handle case where pyenv-commands --sh returns nothing (#2908) 2024-02-26 00:07:52 +03:00
latest.bats Fix pyenv-latest to ignore virtualenvs (#2608) 2023-02-02 15:15:16 +03:00
local.bats
prefix.bats consistent message 2021-09-21 05:07:12 +03:00
pyenv.bats Search for plugins in PYENV_DIR and PYENV_ROOT (#1697) 2020-10-01 21:33:34 -04:00
pyenv_ext.bats Revert "add tests for PYENV_FILE_ARG" 2021-02-16 23:46:08 +03:00
rehash.bats
run
shell.bats Make work in nounset (-u) mode 2021-02-23 22:29:56 +02:00
shims.bats
test_helper.bash Show output for assert_line() and refure_line() 2022-05-02 04:46:00 +03:00
version-file-read.bats Re-allow paths in .python-version provided that they resolve to within the versions dir (#2442) 2022-09-03 22:37:53 +03:00
version-file-write.bats
version-file.bats
version-name.bats Auto-resolve prefixes to the latest version (#2487) 2022-10-30 03:38:40 +03:00
version-origin.bats
version.bats
versions.bats Fix intermittent "broken pipe" in version sort test (#2817) 2023-10-12 22:09:48 +03:00
whence.bats
which.bats Fix pyenv which to support auto-resolved prefixes (#2601) 2023-01-22 18:22:26 +03:00