mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
patch 8.2.0075: Python 3 unicode test still sometimes fails
Problem: Python 3 unicode test still sometimes fails. Solution: Skip the test when 'termencoding' is not empty.
This commit is contained in:
@@ -170,8 +170,9 @@ endfunc
|
||||
|
||||
func Test_unicode()
|
||||
" this crashed Vim once
|
||||
let save_tenc = &tenc
|
||||
set tenc=
|
||||
if &tenc != ''
|
||||
throw "Skipped: 'termencoding' is not empty"
|
||||
endif
|
||||
|
||||
set encoding=utf32
|
||||
py3 print('hello')
|
||||
@@ -183,5 +184,4 @@ func Test_unicode()
|
||||
py3 print('hello')
|
||||
|
||||
set encoding=utf8
|
||||
let &tenc = save_tenc
|
||||
endfunc
|
||||
|
Reference in New Issue
Block a user