]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1869: tests: test failures with Python 3.14 and test_python3 v9.1.1869
authorYee Cheng Chin <ychin.git@gmail.com>
Fri, 24 Oct 2025 15:40:09 +0000 (15:40 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 24 Oct 2025 15:40:09 +0000 (15:40 +0000)
commit6cb995970eeb01453b3ef93ffb141d515950e9d7
treef6e17b3f70cb0371e3b1c7b536fffe5b213793cd
parent0124320c97b0fbbb44613f42fc1c34fee6181fc8
patch 9.1.1869: tests: test failures with Python 3.14 and test_python3

Problem:  tests: test failures with Python 3.14 and test_python3
Solution: Adjust the expected error message (Yee Cheng Chin)

Python 3.14 changed the error message from "argument must be 2-item
sequence" to "argument must be 2-item tuple". Fix test to account for
that. Otherwise the error message for the `vim.current.window.cursor =
True` line would not match.

closes: #18629

Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_python3.vim
src/version.c