]> granicus.if.org Git - vim/commitdiff
patch 8.2.0079: Python 3 unicode test still fails on MS-Windows v8.2.0079
authorBram Moolenaar <Bram@vim.org>
Thu, 2 Jan 2020 15:38:07 +0000 (16:38 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 2 Jan 2020 15:38:07 +0000 (16:38 +0100)
Problem:    Python 3 unicode test still fails on MS-Windows.
Solution:   Do not set 'encoding' to "euc-tw" on MS-Windows.

src/testdir/test_python3.vim
src/version.c

index 4cb50945678dda9734f2f463c6de5911ae667d4d..aec7721af39fd2dd71af80f6562cc3707d1c22e5 100644 (file)
@@ -180,10 +180,10 @@ func Test_unicode()
   if !has('win32')
     set encoding=debug
     py3 print('hello')
-  endif
 
-  set encoding=euc-tw
-  py3 print('hello')
+    set encoding=euc-tw
+    py3 print('hello')
+  endif
 
   set encoding=utf8
 endfunc
index 4516eb71bc60df61a1e4f1808e6f633a58d559d7..052b6341e1d105ac791eebfff311d94734b33752 100644 (file)
@@ -742,6 +742,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    79,
 /**/
     78,
 /**/