1
0
forked from aniani/vim

patch 8.2.1767: Vim9: test fails with python support

Problem:    Vim9: test fails with python support.
Solution:   Use "let" in legacy function.
This commit is contained in:
Bram Moolenaar
2020-09-27 23:33:59 +02:00
parent 7a9cbca00a
commit 727345ebea
2 changed files with 3 additions and 1 deletions

View File

@@ -831,7 +831,7 @@ enddef
" recognized.
func Test_function_python()
CheckFeature python3
var py = 'python3'
let py = 'python3'
execute py "<< EOF"
def do_something():
return 1

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1767,
/**/
1766,
/**/