Mercurial > vim
diff src/testdir/test_python3.vim @ 19027:d72b30bf3a80 v8.2.0074
patch 8.2.0074: Python 3 unicode test someitmes fails
Commit: https://github.com/vim/vim/commit/4b7cdca23035eacf6cd0e30b90546cf32f7efe9e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 1 16:18:38 2020 +0100
patch 8.2.0074: Python 3 unicode test someitmes fails
Problem: Python 3 unicode test someitmes fails.
Solution: Make 'termencoding' empty. Correct number of error message.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Jan 2020 16:30:05 +0100 |
parents | 75562beba71c |
children | 8aa4ba1f9345 |
line wrap: on
line diff
--- a/src/testdir/test_python3.vim +++ b/src/testdir/test_python3.vim @@ -170,11 +170,18 @@ endfunc func Test_unicode() " this crashed Vim once + let save_tenc = &tenc + set tenc= + set encoding=utf32 py3 print('hello') + set encoding=debug py3 print('hello') + set encoding=euc-tw py3 print('hello') + set encoding=utf8 + let &tenc = save_tenc endfunc