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.
diff --git a/src/testdir/test_python3.vim b/src/testdir/test_python3.vim
index dd2da40..778d83b 100644
--- a/src/testdir/test_python3.vim
+++ b/src/testdir/test_python3.vim
@@ -381,11 +381,13 @@
\ ['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.