summaryrefslogtreecommitdiff
path: root/src/testdir/test87.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-01-17 22:37:03 +0100
committerBram Moolenaar <Bram@vim.org>2016-01-17 22:37:03 +0100
commit77324fc9d3206a12f5ae39da1574be3ee1273591 (patch)
treeaca0c1818fb8f4869a3bd81e02c11132c00ca77f /src/testdir/test87.in
parent85084ef1e999dcf50e8d466106a33bac24a0febb (diff)
downloadvim-git-77324fc9d3206a12f5ae39da1574be3ee1273591.tar.gz
patch 7.4.1129v7.4.1129
Problem: Python None value can't be converted to a Vim value. Solution: Just use zero. (Damien)
Diffstat (limited to 'src/testdir/test87.in')
-rw-r--r--src/testdir/test87.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test87.in b/src/testdir/test87.in
index 41d406521..154e82382 100644
--- a/src/testdir/test87.in
+++ b/src/testdir/test87.in
@@ -326,6 +326,8 @@ EOF
:$put =string(l)
:let d=py3eval('{"a": "b", "c": 1, "d": ["e"]}')
:$put =sort(items(d))
+:let v:errmsg = ''
+:$put ='py3eval(\"None\") = ' . py3eval('None') . v:errmsg
:if has('float')
: let f=py3eval('0.0')
: $put =string(f)