changeset 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 10ad4bc93d66
children fce90a7faf9c
files src/testdir/test_python3.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
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.
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    3485,
+/**/
     3484,
 /**/
     3483,