aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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