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 #8969)
diff --git a/src/testdir/test_python3.vim b/src/testdir/test_python3.vim
index 66d5db5..ed05309 100644
--- a/src/testdir/test_python3.vim
+++ b/src/testdir/test_python3.vim
@@ -12,7 +12,7 @@
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.