diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-17 22:37:03 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-17 22:37:03 +0100 |
commit | 77324fc9d3206a12f5ae39da1574be3ee1273591 (patch) | |
tree | aca0c1818fb8f4869a3bd81e02c11132c00ca77f /src/testdir/test87.in | |
parent | 85084ef1e999dcf50e8d466106a33bac24a0febb (diff) |
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.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test87.in b/src/testdir/test87.in index 41d406521e..154e823827 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) |