diff options
Diffstat (limited to 'src/testdir/test_python2.vim')
-rw-r--r-- | src/testdir/test_python2.vim | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/testdir/test_python2.vim b/src/testdir/test_python2.vim index cf35a50b3..84c917316 100644 --- a/src/testdir/test_python2.vim +++ b/src/testdir/test_python2.vim @@ -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 |