Patch 8.2.2872
Problem: Python tests fail without the channel feature.
Solution: Add a feature check. (Dominique Pellé, closes #8226)
Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim
*** ../vim-8.2.2871/src/testdir/test_python2.vim 2020-12-21 16:02:58.486392542 +0100
--- src/testdir/test_python2.vim 2021-05-19 00:13:47.931829789 +0200
***************
*** 814,821 ****
call assert_equal(v:none, pyeval("vim.bindeval('v:none')"))
" channel/job
! call assert_equal(v:none, pyeval("vim.bindeval('test_null_channel()')"))
! call assert_equal(v:none, pyeval("vim.bindeval('test_null_job()')"))
endfunc
" threading
--- 814,825 ----
call assert_equal(v:none, pyeval("vim.bindeval('v:none')"))
" channel/job
! if has('channel')
! call assert_equal(v:none, pyeval("vim.bindeval('test_null_channel()')"))
! endif
! if has('job')
! call assert_equal(v:none, pyeval("vim.bindeval('test_null_job()')"))
! endif
endfunc
" threading
*** ../vim-8.2.2871/src/testdir/test_python3.vim 2021-02-21 19:12:43.018019657 +0100
--- src/testdir/test_python3.vim 2021-05-19 00:13:47.935829768 +0200
***************
*** 1007,1014 ****
call assert_equal(v:none, py3eval("vim.bindeval('v:none')"))
" channel/job
! call assert_equal(v:none, py3eval("vim.bindeval('test_null_channel()')"))
! call assert_equal(v:none, py3eval("vim.bindeval('test_null_job()')"))
endfunc
" threading
--- 1007,1018 ----
call assert_equal(v:none, py3eval("vim.bindeval('v:none')"))
" channel/job
! if has('channel')
! call assert_equal(v:none, py3eval("vim.bindeval('test_null_channel()')"))
! endif
! if has('job')
! call assert_equal(v:none, py3eval("vim.bindeval('test_null_job()')"))
! endif
endfunc
" threading
*** ../vim-8.2.2871/src/version.c 2021-05-18 21:46:27.716961252 +0200
--- src/version.c 2021-05-19 00:15:52.231266851 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2872,
/**/
--
"To whoever finds this note -
I have been imprisoned by my father who wishes me to marry
against my will. Please please please please come and rescue me.
I am in the tall tower of Swamp Castle."
SIR LAUNCELOT's eyes light up with holy inspiration.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///