From 0f1bc5ddceb50ca8f96d91aabf8157d9758af0cd Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Mon, 12 Feb 2018 04:19:03 +0100 Subject: 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. --- test/functional/provider/python_spec.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'test/functional/provider/python_spec.lua') 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 -- cgit