view src/testdir/if_ver-2.vim @ 18968:24941a950cc7 v8.2.0045

patch 8.2.0045: script test fails Commit: https://github.com/vim/vim/commit/ec57ec692eb228ee061824a190d7c451f029c430 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 25 19:33:22 2019 +0100 patch 8.2.0045: script test fails Problem: Script test fails. Solution: For numbers "is" and "isnot" work like "==" and "!=".
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Dec 2019 19:45:03 +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