diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-04 20:05:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-04 20:05:59 +0200 |
commit | 3f4f3d8e7e6fc0494d00cfb75669a554c8e67c8b (patch) | |
tree | ac8bdd089ce9a96e2e96033410b88b1836425a28 /src/testdir/test_python2.vim | |
parent | ea781459b9617aa47335061fcc78403495260315 (diff) |
patch 8.1.1984: more functions can be used as methodsv8.1.1984
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_python2.vim')
-rw-r--r-- | src/testdir/test_python2.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_python2.vim b/src/testdir/test_python2.vim index 61cf959bad..de5b0c94ac 100644 --- a/src/testdir/test_python2.vim +++ b/src/testdir/test_python2.vim @@ -54,7 +54,7 @@ func Test_vim_function() try py f = vim.Function('\x80\xfdR' + vim.eval('s:foo()')) - call assert_equal(name, pyeval('f.name')) + call assert_equal(name, 'f.name'->pyeval()) catch call assert_false(v:exception) endtry |