comparison src/testdir/test_python3.vim @ 25903:eb6e4f0ba31d v8.2.3485

patch 8.2.3485: Python 3 test fails with Python 3.10 Commit: https://github.com/vim/vim/commit/edd7a476fbcba199dc0b026461917912c574c629 Author: Zdenek Dohnal <zdohnal@redhat.com> Date: Wed Oct 6 19:39:16 2021 +0100 patch 8.2.3485: Python 3 test fails with Python 3.10 Problem: Python 3 test fails with Python 3.10. Solution: Adjust expected error message. (zdohnal Dohnal, closes https://github.com/vim/vim/issues/8969)
author Bram Moolenaar <Bram@vim.org>
date Wed, 06 Oct 2021 20:45:03 +0200
parents 04205b7d67d5
children 97b4e8c55c1d
comparison
equal deleted inserted replaced
25902:10ad4bc93d66 25903:eb6e4f0ba31d
10 10
11 func Create_vim_dict() 11 func Create_vim_dict()
12 return {'a': 1} 12 return {'a': 1}
13 endfunction 13 endfunction
14 14
15 let s:system_error_pat = 'Vim(py3):SystemError: \(<built-in function eval> returned NULL without setting an error\|error return without exception set\)' 15 let s:system_error_pat = 'Vim(py3):SystemError: \(<built-in function eval> returned NULL without setting an \(error\|exception\)\|error return without exception set\)'
16 16
17 " This function should be called first. This sets up python functions used by 17 " This function should be called first. This sets up python functions used by
18 " the other tests. 18 " the other tests.
19 func Test_AAA_python3_setup() 19 func Test_AAA_python3_setup()
20 py3 << trim EOF 20 py3 << trim EOF