Patch 8.2.0075

11 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 1, 2020, 11:09:48 AM1/1/20
to vim...@googlegroups.com

Patch 8.2.0075
Problem: Python 3 unicode test still sometimes fails.
Solution: Skip the test when 'termencoding' is not empty.
Files: src/testdir/test_python3.vim


*** ../vim-8.2.0074/src/testdir/test_python3.vim 2020-01-01 16:18:33.204997405 +0100
--- src/testdir/test_python3.vim 2020-01-01 17:07:41.865307762 +0100
***************
*** 170,177 ****

func Test_unicode()
" this crashed Vim once
! let save_tenc = &tenc
! set tenc=

set encoding=utf32
py3 print('hello')
--- 170,178 ----

func Test_unicode()
" this crashed Vim once
! if &tenc != ''
! throw "Skipped: 'termencoding' is not empty"
! endif

set encoding=utf32
py3 print('hello')
***************
*** 183,187 ****
py3 print('hello')

set encoding=utf8
- let &tenc = save_tenc
endfunc
--- 184,187 ----
*** ../vim-8.2.0074/src/version.c 2020-01-01 16:18:33.204997405 +0100
--- src/version.c 2020-01-01 17:08:30.869117981 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 75,
/**/

--
Michael: There is no such thing as a dump question.
Bernard: Sure there is. For example "what is a core dump?"

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages