test: Don't run legacy test 87

The python3 emulation layer doesn't work well enough to run that test. Also add
notes to test86/test87 explaining why.
This commit is contained in:
Thiago de Arruda 2015-05-20 08:04:36 -03:00
parent c8c5af5a7a
commit 67e45e1852
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Tests for various python features. vim: set ft=vim : Tests for various python features. vim: set ft=vim :
This test is not run in Neovim(see the has('nvim') check below) because the
python compatibility layer is not complete.
NOTE: This will cause errors when run under valgrind. NOTE: This will cause errors when run under valgrind.
This would require recompiling Python with: This would require recompiling Python with:
./configure --without-pymalloc ./configure --without-pymalloc

View File

@ -1,9 +1,12 @@
Tests for various python features. vim: set ft=vim : Tests for various python features. vim: set ft=vim :
This test is not run in Neovim(see the has('nvim') check below) because the
python3 compatibility layer is not complete.
STARTTEST STARTTEST
:so small.vim :so small.vim
:set noswapfile :set noswapfile
:if !has('python3') | e! test.ok | wq! test.out | endif :if !has('python3') || has('nvim') | e! test.ok | wq! test.out | endif
:lang C :lang C
:fun Test() :fun Test()
:py3 import vim :py3 import vim