From 2466aea508f22d44099d54ed6d15c0a1d90f8d6e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 1 Jan 2020 17:09:11 +0100 Subject: [PATCH] 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. --- src/testdir/test_python3.vim | 6 +++--- src/version.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/testdir/test_python3.vim b/src/testdir/test_python3.vim index cd5ac9cc0..f722edca5 100644 --- a/src/testdir/test_python3.vim +++ b/src/testdir/test_python3.vim @@ -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 diff --git a/src/version.c b/src/version.c index 30f4465f6..16544f7ea 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 75, /**/ 74, /**/