diff 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
line wrap: on
line diff
--- a/src/testdir/test_python3.vim
+++ b/src/testdir/test_python3.vim
@@ -12,7 +12,7 @@ func Create_vim_dict()
   return {'a': 1}
 endfunction
 
-let s:system_error_pat = 'Vim(py3):SystemError: \(<built-in function eval> returned NULL without setting an error\|error return without exception set\)'
+let s:system_error_pat = 'Vim(py3):SystemError: \(<built-in function eval> returned NULL without setting an \(error\|exception\)\|error return without exception set\)'
 
 " This function should be called first. This sets up python functions used by
 " the other tests.