]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.5032: Python 3 test fails without the GUI v8.2.5032
authorBram Moolenaar <Bram@vim.org>
Fri, 27 May 2022 19:23:20 +0000 (20:23 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 27 May 2022 19:23:20 +0000 (20:23 +0100)
Problem:    Python 3 test fails without the GUI.
Solution:   Check the balloon_eval feature is available.

src/testdir/test_python3.vim
src/version.c

index dd2da400bdf23ca34ef35e24a3419929c0d17358..778d83b8e0a27d5c468468635d6ff4ba6fdcff7f 100644 (file)
@@ -381,11 +381,13 @@ func Test_python3_opt_reset_local_to_global()
         \ ['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.
index 999cfde686c836fb7b5773c3c1804e8ac75ef64b..e6a048ce0e88025b50954a54806c156753c0ef6e 100644 (file)
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    5032,
 /**/
     5031,
 /**/