]> granicus.if.org Git - vim/commitdiff
patch 8.2.3485: Python 3 test fails with Python 3.10 v8.2.3485
authorZdenek Dohnal <zdohnal@redhat.com>
Wed, 6 Oct 2021 18:39:16 +0000 (19:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 6 Oct 2021 18:39:16 +0000 (19:39 +0100)
Problem:    Python 3 test fails with Python 3.10.
Solution:   Adjust expected error message. (zdohnal Dohnal, closes #8969)

src/testdir/test_python3.vim
src/version.c

index 66d5db57fef91ce75036d96f963587565b9e4e63..ed053094f8e026e0c935af7f4f32ec178d328562 100644 (file)
@@ -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.
index 62c7f8f111ce2a37ab798286d9340ef822b1b30a..987f6ffc7dd12d273b4fba629b776174478faffb 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3485,
 /**/
     3484,
 /**/