0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -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:
Bram Moolenaar
2020-01-01 17:09:11 +01:00
parent 4b7cdca230
commit 2466aea508
2 changed files with 5 additions and 3 deletions

View File

@@ -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

View File

@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
75,
/**/
74,
/**/