comparison 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
comparison
equal deleted inserted replaced
19026:0c0f1f148632 19027:d72b30bf3a80
168 endtry 168 endtry
169 endfunc 169 endfunc
170 170
171 func Test_unicode() 171 func Test_unicode()
172 " this crashed Vim once 172 " this crashed Vim once
173 let save_tenc = &tenc
174 set tenc=
175
173 set encoding=utf32 176 set encoding=utf32
174 py3 print('hello') 177 py3 print('hello')
178
175 set encoding=debug 179 set encoding=debug
176 py3 print('hello') 180 py3 print('hello')
181
177 set encoding=euc-tw 182 set encoding=euc-tw
178 py3 print('hello') 183 py3 print('hello')
184
179 set encoding=utf8 185 set encoding=utf8
186 let &tenc = save_tenc
180 endfunc 187 endfunc