vim-patch:8.2.0074: Python 3 unicode test someitmes fails

Problem:    Python 3 unicode test someitmes fails.
Solution:   Make 'termencoding' empty.  Correct number of error message.
4b7cdca230
This commit is contained in:
Jan Edmund Lazo
2020-01-01 13:03:06 -05:00
parent 5f0d5ec985
commit abaabd1d03
4 changed files with 10 additions and 9 deletions

View File

@@ -174,13 +174,20 @@ func Test_Catch_Exception_Message()
endfunc
func Test_unicode()
throw 'skipped: Nvim only supports "utf-8" for "encoding" option'
throw 'skipped: Nvim does not support "termencoding" option and only supports "utf-8" for "encoding" option'
" this crashed Vim once
let save_tenc = &tenc
set tenc=
set encoding=utf32
py3 print('hello')
set encoding=debug
py3 print('hello')
set encoding=euc-tw
py3 print('hello')
set encoding=utf8
let &tenc = save_tenc
endfunc