Merge pull request #8650 from jamessan/skip-pydo-tests

oldtest: Disable tests that :py(3)do stop executing when buffer changes
This commit is contained in:
James McCoy
2018-06-27 12:51:36 -04:00
committed by GitHub
2 changed files with 22 additions and 16 deletions

View File

@@ -13,6 +13,8 @@ func Test_pydo()
pydo vim.command("%d_") pydo vim.command("%d_")
bwipe! bwipe!
" Disabled until neovim/neovim#8554 is resolved
if 0
" Check switching to another buffer does not trigger ml_get error. " Check switching to another buffer does not trigger ml_get error.
new new
let wincount = winnr('$') let wincount = winnr('$')
@@ -21,4 +23,5 @@ func Test_pydo()
call assert_equal(wincount + 1, winnr('$')) call assert_equal(wincount + 1, winnr('$'))
bwipe! bwipe!
bwipe! bwipe!
endif
endfunc endfunc

View File

@@ -13,6 +13,8 @@ func Test_py3do()
py3do vim.command("%d_") py3do vim.command("%d_")
bwipe! bwipe!
" Disabled until neovim/neovim#8554 is resolved
if 0
" Check switching to another buffer does not trigger an ml_get error. " Check switching to another buffer does not trigger an ml_get error.
new new
let wincount = winnr('$') let wincount = winnr('$')
@@ -21,4 +23,5 @@ func Test_py3do()
call assert_equal(wincount + 1, winnr('$')) call assert_equal(wincount + 1, winnr('$'))
bwipe! bwipe!
bwipe! bwipe!
endif
endfunc endfunc