Reflect which printgin command not found and hint
This commit is contained in:
parent
02b53f5662
commit
28fa28ce95
@ -71,7 +71,16 @@ create_executable() {
|
|||||||
@test "version not installed" {
|
@test "version not installed" {
|
||||||
create_executable "3.4" "py.test"
|
create_executable "3.4" "py.test"
|
||||||
PYENV_VERSION=3.3 run pyenv-which py.test
|
PYENV_VERSION=3.3 run pyenv-which py.test
|
||||||
assert_failure "pyenv: version \`3.3' is not installed (set by PYENV_VERSION environment variable)"
|
assert_failure <<OUT
|
||||||
|
pyenv: version \`3.3' is not installed (set by PYENV_VERSION environment variable)
|
||||||
|
pyenv: py.test: command not found
|
||||||
|
|
||||||
|
The \`py.test' command exists in these Python versions:
|
||||||
|
3.4
|
||||||
|
|
||||||
|
Note: See 'pyenv help global' for tips on allowing both
|
||||||
|
python2 and python3 to be found.
|
||||||
|
OUT
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "versions not installed" {
|
@test "versions not installed" {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user