mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
9e9e4431c1
commit
0f1bc5ddce
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user