aboutsummaryrefslogtreecommitdiff
path: root/test/functional/provider/python_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/provider/python_spec.lua')
-rw-r--r--test/functional/provider/python_spec.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/provider/python_spec.lua b/test/functional/provider/python_spec.lua
index 986f10b2e9..d60d8d1001 100644
--- a/test/functional/provider/python_spec.lua
+++ b/test/functional/provider/python_spec.lua
@@ -18,13 +18,14 @@ local pcall_err = helpers.pcall_err
do
clear()
- if missing_provider('python') then
+ local reason = missing_provider('python')
+ if reason then
it(':python reports E319 if provider is missing', function()
local expected = [[Vim%(py.*%):E319: No "python" provider found.*]]
matches(expected, pcall_err(command, 'py print("foo")'))
matches(expected, pcall_err(command, 'pyfile foo'))
end)
- pending('Python 2 (or the pynvim module) is broken/missing', function() end)
+ pending(string.format('Python 2 (or the pynvim module) is broken/missing (%s)', reason), function() end)
return
end
end