From: Bram Moolenaar Date: Wed, 1 Jan 2020 16:09:11 +0000 (+0100) Subject: patch 8.2.0075: Python 3 unicode test still sometimes fails X-Git-Tag: v8.2.0075 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2466aea508f22d44099d54ed6d15c0a1d90f8d6e;p=thirdparty%2Fvim.git 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. --- diff --git a/src/testdir/test_python3.vim b/src/testdir/test_python3.vim index cd5ac9cc09..f722edca55 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 30f4465f6e..16544f7ea9 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, /**/