mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2872: Python tests fail without the channel feature
Problem: Python tests fail without the channel feature. Solution: Add a feature check. (Dominique Pellé, closes #8226)
This commit is contained in:
committed by
Bram Moolenaar
parent
4781d6fd86
commit
56c9fd0107
@@ -814,8 +814,12 @@ func Test_python_vim_bindeval()
|
||||
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()')"))
|
||||
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
|
||||
|
Reference in New Issue
Block a user