From 690df9333a0267ebfa21cd53d4babf1fb7fc6401 Mon Sep 17 00:00:00 2001 From: John Szakmeister Date: Wed, 4 Nov 2015 05:01:22 -0500 Subject: Ensure a session is running before attempting to do Python detection. --- test/functional/provider/python3_spec.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'test/functional/provider/python3_spec.lua') diff --git a/test/functional/provider/python3_spec.lua b/test/functional/provider/python3_spec.lua index 5ecc1a0a91..a94880d4a2 100644 --- a/test/functional/provider/python3_spec.lua +++ b/test/functional/provider/python3_spec.lua @@ -4,6 +4,7 @@ local eq, clear, insert = helpers.eq, helpers.clear, helpers.insert local expect, write_file = helpers.expect, helpers.write_file do + clear() command('let [g:interp, g:errors] = provider#pythonx#Detect(3)') local errors = eval('g:errors') if errors ~= '' then -- cgit