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
index 7bc46d8..c9f9027 100644
--- a/src/testdir/test_vim9_func.vim
+++ b/src/testdir/test_vim9_func.vim
@@ -831,7 +831,7 @@
 " 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
index 7a2b4f8..8cfa149 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1767,
+/**/
     1766,
 /**/
     1765,