]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1092: tests: fix expected return code for python 3.13 on Windows v9.1.1092
authorChristian Brabandt <cb@256bit.org>
Sun, 9 Feb 2025 16:18:07 +0000 (17:18 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 9 Feb 2025 16:18:07 +0000 (17:18 +0100)
commit2e4361bd40c302f84f3c699a90dcd0b6f637ec21
tree1b6e08a2ab412ba07e66a3ea78a6fb620a072c0d
parentec7a4e4d69d17821292048bfa85801fcfa476228
patch 9.1.1092: tests: fix expected return code for python 3.13 on Windows

Problem:  tests: fix expected return code for python 3.13 on Windows
Solution: Check for return code 1 or 123 on Windows

There is a regression with python 3.13 on Windows, that it no longer
prints the requested error code, but instead exits with return code 1,
which  breaks the test-suite.

So let's check for either exit code 1 or 123 in tests
Test_terminal_duplicate_eof_arg() and Test_terminal_eof_arg()

This will probably be fixed on the Python side, see the pull request
python/cpython#129901 but in the meantime, let's allow both error codes.

related: #16599
related: python/cpython#129900

Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_terminal.vim
src/version.c