diff src/testdir/test_python3.vim @ 29020:b9b8422ad671 v8.2.5032

patch 8.2.5032: Python 3 test fails without the GUI Commit: https://github.com/vim/vim/commit/ddf531292971f44e8545a3e097c0d8a11773eb38 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 27 20:23:20 2022 +0100 patch 8.2.5032: Python 3 test fails without the GUI Problem: Python 3 test fails without the GUI. Solution: Check the balloon_eval feature is available.
author Bram Moolenaar <Bram@vim.org>
date Fri, 27 May 2022 21:30:03 +0200
parents 44481ae7c7ce
children 13b02c1ea0f7
line wrap: on
line diff
--- a/src/testdir/test_python3.vim
+++ b/src/testdir/test_python3.vim
@@ -381,11 +381,13 @@ func Test_python3_opt_reset_local_to_glo
         \ ['errorformat', '%f:%l:%m', '%s-%l-%m', ''],
         \ ['grepprg', 'ggprg', 'lgprg', ''],
         \ ['makeprg', 'gmprg', 'lmprg', ''],
-        \ ['balloonexpr', 'gbexpr', 'lbexpr', ''],
         \ ['cryptmethod', 'blowfish2', 'zip', ''],
         \ ['lispwords', 'abc', 'xyz', ''],
         \ ['makeencoding', 'utf-8', 'latin1', ''],
         \ ['undolevels', 100, 200, -123456]]
+  if has('balloon_eval')
+    call add(bopts, ['balloonexpr', 'gbexpr', 'lbexpr', ''])
+  endif
 
   " Set the global and buffer-local option values and then clear the
   " buffer-local option value.