# HG changeset patch # User Bram Moolenaar # Date 1577895303 -3600 # Node ID 8aa4ba1f934598524483967f69c4629f4b5ed2e3 # Parent a0744b998efa83a5eeeef0aa6c7d4a233f2680eb patch 8.2.0075: Python 3 unicode test still sometimes fails Commit: https://github.com/vim/vim/commit/2466aea508f22d44099d54ed6d15c0a1d90f8d6e Author: Bram Moolenaar Date: Wed Jan 1 17:09:11 2020 +0100 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 --- 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 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 75, +/**/ 74, /**/ 73,