From 7dca8383db4d595a8e9de929aff1263c0b0b8db5 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 1 Jan 2020 13:13:40 -0500 Subject: [PATCH] vim-patch:8.2.0076: Python 3 unicode test fails on MS-Windows Problem: Python 3 unicode test fails on MS-Windows. Solution: Do not set 'encoding' to "debug" on MS-Windows. https://github.com/vim/vim/commit/955f4e6f36ea009b90803d12a62108c94f446778 --- src/nvim/testdir/test_python3.vim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/nvim/testdir/test_python3.vim b/src/nvim/testdir/test_python3.vim index 259ba1350a..948ef0a07f 100644 --- a/src/nvim/testdir/test_python3.vim +++ b/src/nvim/testdir/test_python3.vim @@ -183,8 +183,10 @@ func Test_unicode() set encoding=utf32 py3 print('hello') - set encoding=debug - py3 print('hello') + if !has('win32') + set encoding=debug + py3 print('hello') + endif set encoding=euc-tw py3 print('hello')