aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-02-12 04:19:03 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-02-12 13:24:48 +0100
commit0f1bc5ddceb50ca8f96d91aabf8157d9758af0cd (patch)
tree0b981530727d265e953906658dc969a9245c3538
parent9e9e4431c122f3b98fb0e7498b6572ceac0bca53 (diff)
downloadrneovim-0f1bc5ddceb50ca8f96d91aabf8157d9758af0cd.tar.gz
rneovim-0f1bc5ddceb50ca8f96d91aabf8157d9758af0cd.tar.bz2
rneovim-0f1bc5ddceb50ca8f96d91aabf8157d9758af0cd.zip
test/python: less-noisy Python skip-message
Developer can use :checkhealth to get more details, don't need to blast the details in the skip-message every time.
-rw-r--r--test/functional/provider/python3_spec.lua7
-rw-r--r--test/functional/provider/python_spec.lua7
2 files changed, 4 insertions, 10 deletions
diff --git a/test/functional/provider/python3_spec.lua b/test/functional/provider/python3_spec.lua
index aa50f53451..f06728ec0e 100644
--- a/test/functional/provider/python3_spec.lua
+++ b/test/functional/provider/python3_spec.lua
@@ -7,11 +7,8 @@ local missing_provider = helpers.missing_provider
do
clear()
- local err = missing_provider('python3')
- if err then
- pending(
- 'Python 3 (or the Python 3 neovim module) is broken or missing:\n' .. err,
- function() end)
+ if missing_provider('python3') then
+ pending('Python 3 (or the neovim module) is broken/missing', function() end)
return
end
end
diff --git a/test/functional/provider/python_spec.lua b/test/functional/provider/python_spec.lua
index 25f5e0a6d0..2fa74e9644 100644
--- a/test/functional/provider/python_spec.lua
+++ b/test/functional/provider/python_spec.lua
@@ -16,11 +16,8 @@ local missing_provider = helpers.missing_provider
do
clear()
- local err = missing_provider('python')
- if err then
- pending(
- 'Python 2 (or the Python 2 neovim module) is broken or missing:\n' .. err,
- function() end)
+ if missing_provider('python') then
+ pending('Python 2 (or the neovim module) is broken/missing', function() end)
return
end
end