]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.4396: Python3 test fails v8.2.4396
authorBram Moolenaar <Bram@vim.org>
Tue, 15 Feb 2022 21:33:29 +0000 (21:33 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 15 Feb 2022 21:33:29 +0000 (21:33 +0000)
Problem:    Python3 test fails.
Solution:   Remove "let".

src/testdir/test_vim9_func.vim
src/version.c

index 65d6dc8f91d960c03b27b678f7dcbccd893ea662..218b2527f55bed0e7708ff1c653b4b1e8906b4dc 100644 (file)
@@ -3766,7 +3766,7 @@ enddef
 if has('python3')
   def Test_python3_command()
     py3 import vim
-    py3 vim.command("let g:done = 'yes'")
+    py3 vim.command("g:done = 'yes'")
     assert_equal('yes', g:done)
     unlet g:done
   enddef
index e07308627b666b320d5f72b161ae480d343133bb..fb1b8476e1a6c7853addb7f07d87f6a807b01ce2 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4396,
 /**/
     4395,
 /**/