Mercurial > vim
comparison src/testdir/test87.in @ 4425:d5177d5ece0c v7.3.961
updated for version 7.3.961
Problem: Tests 86 and 87 fail when using another language than English.
Solution: Set the language to C in the test. (Dominique Pelle)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 16 May 2013 20:47:56 +0200 |
parents | fa90ebf2c8f3 |
children | 0a94ac379769 |
comparison
equal
deleted
inserted
replaced
4424:e56bf2af53c0 | 4425:d5177d5ece0c |
---|---|
1 Tests for various python features. vim: set ft=vim : | 1 Tests for various python features. vim: set ft=vim : |
2 | 2 |
3 STARTTEST | 3 STARTTEST |
4 :so small.vim | 4 :so small.vim |
5 :if !has('python3') | e! test.ok | wq! test.out | endif | 5 :if !has('python3') | e! test.ok | wq! test.out | endif |
6 :lang C | |
6 :py3 import vim | 7 :py3 import vim |
7 :fun Test() | 8 :fun Test() |
8 :let l = [] | 9 :let l = [] |
9 :py3 l=vim.bindeval('l') | 10 :py3 l=vim.bindeval('l') |
10 :py3 f=vim.bindeval('function("strlen")') | 11 :py3 f=vim.bindeval('function("strlen")') |