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.
This commit is contained in:
Justin M. Keyes 2018-02-12 04:19:03 +01:00
parent 9e9e4431c1
commit 0f1bc5ddce
2 changed files with 4 additions and 10 deletions

View File

@ -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

View File

@ -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