diff options
Diffstat (limited to 'src/testdir/test_python3.vim')
-rw-r--r-- | src/testdir/test_python3.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/testdir/test_python3.vim b/src/testdir/test_python3.vim index 58b6427f3..1e9ef82b0 100644 --- a/src/testdir/test_python3.vim +++ b/src/testdir/test_python3.vim @@ -1007,8 +1007,12 @@ func Test_python3_vim_bindeval() 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()')")) + 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 |