view src/testdir/if_ver-2.vim @ 13178:f83d3a633ccb v8.0.1463

patch 8.0.1463: test fails without 'autochdir' option commit https://github.com/vim/vim/commit/ec48a9c58989babcad23d73483955f35b6e41492 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 3 20:11:40 2018 +0100 patch 8.0.1463: test fails without 'autochdir' option Problem: Test fails without 'autochdir' option. Solution: Skip test if 'autochdir' is not supported.
author Christian Brabandt <cb@256bit.org>
date Sat, 03 Feb 2018 20:15:05 +0100
parents 94e37fd22556
children
line wrap: on
line source

" Print py3 interface version and write the result into if_ver.txt.
" For Ubuntu. Part 2.

redir! >> if_ver.txt
if 1
  echo "\nPython 3:"
  python3 import sys; print(sys.version)
  echo "\n"
endif
redir END