changeset 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 7cf98b61e022
children b8a4aec82685
files src/testdir/test_python3.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
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.
--- a/src/version.c
+++ b/src/version.c
@@ -735,6 +735,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    5032,
+/**/
     5031,
 /**/
     5030,