Mercurial > vim
comparison src/testdir/test_vim9_func.vim @ 27740:2bd27d5ffbef v8.2.4396
patch 8.2.4396: Python3 test fails
Commit: https://github.com/vim/vim/commit/f5288c589500de0677444af4a428cfbccfccb8ce
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 15 21:33:29 2022 +0000
patch 8.2.4396: Python3 test fails
Problem: Python3 test fails.
Solution: Remove "let".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 15 Feb 2022 22:45:03 +0100 |
parents | d754ac2f5ac5 |
children | 60ac4228a73d |
comparison
equal
deleted
inserted
replaced
27739:0c41599193bf | 27740:2bd27d5ffbef |
---|---|
3764 | 3764 |
3765 " The following messes up syntax highlight, keep near the end. | 3765 " The following messes up syntax highlight, keep near the end. |
3766 if has('python3') | 3766 if has('python3') |
3767 def Test_python3_command() | 3767 def Test_python3_command() |
3768 py3 import vim | 3768 py3 import vim |
3769 py3 vim.command("let g:done = 'yes'") | 3769 py3 vim.command("g:done = 'yes'") |
3770 assert_equal('yes', g:done) | 3770 assert_equal('yes', g:done) |
3771 unlet g:done | 3771 unlet g:done |
3772 enddef | 3772 enddef |
3773 | 3773 |
3774 def Test_python3_heredoc() | 3774 def Test_python3_heredoc() |