diff options
Diffstat (limited to 'src/testdir/test_python2.vim')
-rw-r--r-- | src/testdir/test_python2.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test_python2.vim b/src/testdir/test_python2.vim index d79400de7..43c89c972 100644 --- a/src/testdir/test_python2.vim +++ b/src/testdir/test_python2.vim @@ -63,3 +63,11 @@ func Test_vim_function() py del f delfunc s:foo endfunc + +func Test_skipped_python_command_does_not_affect_pyxversion() + set pyxversion=0 + if 0 + python import vim + endif + call assert_equal(0, &pyxversion) " This assertion would have failed with Vim 8.0.0251. (pyxversion was introduced in 8.0.0251.) +endfunc |