mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-14 14:33:52 -05:00
activate "root" environment of anaconda/miniconda if environment name is not given
This commit is contained in:
@@ -106,6 +106,7 @@ EOS
|
||||
|
||||
@test "deactivate virtualenv which has been activated manually" {
|
||||
export VIRTUAL_ENV="${PYENV_ROOT}/versions/venv"
|
||||
export PYENV_ACTIVATE=
|
||||
export PYENV_ACTIVATE_SHELL=
|
||||
|
||||
PYENV_SHELL="bash" run pyenv-sh-deactivate
|
||||
@@ -203,6 +204,7 @@ EOS
|
||||
|
||||
@test "deactivate virtualenv which has been activated manually (fish)" {
|
||||
export VIRTUAL_ENV="${PYENV_ROOT}/versions/venv"
|
||||
export PYENV_ACTIVATE=
|
||||
export PYENV_ACTIVATE_SHELL=
|
||||
|
||||
PYENV_SHELL="fish" run pyenv-sh-deactivate
|
||||
|
||||
Reference in New Issue
Block a user