Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
29019:7cf98b61e022 | 29020:b9b8422ad671 |
---|---|
379 \ ['thesaurus', 'gtsr', 'ltsr', ''], | 379 \ ['thesaurus', 'gtsr', 'ltsr', ''], |
380 \ ['formatprg', 'gfprg', 'lfprg', ''], | 380 \ ['formatprg', 'gfprg', 'lfprg', ''], |
381 \ ['errorformat', '%f:%l:%m', '%s-%l-%m', ''], | 381 \ ['errorformat', '%f:%l:%m', '%s-%l-%m', ''], |
382 \ ['grepprg', 'ggprg', 'lgprg', ''], | 382 \ ['grepprg', 'ggprg', 'lgprg', ''], |
383 \ ['makeprg', 'gmprg', 'lmprg', ''], | 383 \ ['makeprg', 'gmprg', 'lmprg', ''], |
384 \ ['balloonexpr', 'gbexpr', 'lbexpr', ''], | |
385 \ ['cryptmethod', 'blowfish2', 'zip', ''], | 384 \ ['cryptmethod', 'blowfish2', 'zip', ''], |
386 \ ['lispwords', 'abc', 'xyz', ''], | 385 \ ['lispwords', 'abc', 'xyz', ''], |
387 \ ['makeencoding', 'utf-8', 'latin1', ''], | 386 \ ['makeencoding', 'utf-8', 'latin1', ''], |
388 \ ['undolevels', 100, 200, -123456]] | 387 \ ['undolevels', 100, 200, -123456]] |
388 if has('balloon_eval') | |
389 call add(bopts, ['balloonexpr', 'gbexpr', 'lbexpr', '']) | |
390 endif | |
389 | 391 |
390 " Set the global and buffer-local option values and then clear the | 392 " Set the global and buffer-local option values and then clear the |
391 " buffer-local option value. | 393 " buffer-local option value. |
392 for opt in bopts | 394 for opt in bopts |
393 py3 << trim END | 395 py3 << trim END |