# HG changeset patch # User Bram Moolenaar # Date 1601243103 -7200 # Node ID 7bd80999ea21925993bcac927994ece487dc71c8 # Parent d47843ead318900e36da8b0e3478205ebc1de994 patch 8.2.1767: Vim9: test fails with python support Commit: https://github.com/vim/vim/commit/727345ebea07284ada118590d805329e6dbee014 Author: Bram Moolenaar Date: Sun Sep 27 23:33:59 2020 +0200 patch 8.2.1767: Vim9: test fails with python support Problem: Vim9: test fails with python support. Solution: Use "let" in legacy function. diff --git a/src/testdir/test_vim9_func.vim b/src/testdir/test_vim9_func.vim --- a/src/testdir/test_vim9_func.vim +++ b/src/testdir/test_vim9_func.vim @@ -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 diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1767, +/**/ 1766, /**/ 1765,