summaryrefslogtreecommitdiffstatshomepage
path: root/test/old/testdir/test_python3.vim
AgeCommit message (Collapse)AuthorFiles
2026-01-05vim-patch:9.1.1967: if_python: 64bit numbers truncated (#37245)Jan Edmund Lazo1
Problem: if_python: 64bit numbers truncated Solution: cast python result to long long (lsq) fixes: vim/vim#18899 closes: vim/vim#18904 https://github.com/vim/vim/commit/a52b11d05757ee9c056a7f1118e6f7d3c2da9d44 Co-authored-by: lsq <lsqypj@gmail.com>
2025-10-25vim-patch:9.1.1869: tests: test failures with Python 3.14 and test_python3 ↵zeertzjq1
(#36310) 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: vim/vim#18629 https://github.com/vim/vim/commit/6cb995970eeb01453b3ef93ffb141d515950e9d7 Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
2025-08-06vim-patch:9.0.1689: python 3.12 produces warnings and fails testJan Edmund Lazo1
Problem: python 3.12 produces warnings and fails test Solution: Make use of raw strings in python3 tests closes: vim/vim#12765 https://github.com/vim/vim/commit/288bf26c5310ce3b06042d3f731c0d2341325fb5 Co-authored-by: Zdenek Dohnal <zdohnal@redhat.com>
2025-08-06vim-patch:8.2.3602: Python3 test fails with Python 3.10 on MS-WindowsJan Edmund Lazo1
Problem: Python3 test fails with Python 3.10 on MS-Windows. Solution: Adjust the expected error. (Ken Takata, closes vim/vim#9118) https://github.com/vim/vim/commit/1be7e215830d6ec9aa6200aac4ef34ac0ae85af5 Co-authored-by: K.Takata <kentkt@csc.jp>
2025-08-05vim-patch:8.2.1912: with Python 3.9 some tests failJan Edmund Lazo1
Problem: With Python 3.9 some tests fail. Solution: Take into account the different error message. (James McCoy, closes vim/vim#7210) https://github.com/vim/vim/commit/68a48ee55e55c189b03a6718a0d06af1dfedcd16 Co-authored-by: Bram Moolenaar <Bram@vim.org>
2025-08-05vim-patch:8.2.1555: not all tests are executed on Github ActionsJan Edmund Lazo1
Problem: Not all tests are executed on Github Actions. Solution: Copy "src" to "src2" earlier. Recognize "src2" in a couple more places. Add two tests to the list of flaky tests. (Ken Takata, closes vim/vim#6798) https://github.com/vim/vim/commit/7d6979608ee83b06ccfab2589da3047b143defae Co-authored-by: Bram Moolenaar <Bram@vim.org>
2025-08-05vim-patch:8.2.1123: Python 3 test is old styleJan Edmund Lazo1
Problem: Python 3 test is old style. Solution: Turn into new style test. (Yegappan Lakshmanan, closes vim/vim#6385) https://github.com/vim/vim/commit/effb0cd75de647a2a0bf95cb26eaa2feee8068d9 Neovim has Lua context that conflict with asserted error message. Disable incompatible tests due to unsupported features from python3 provider (ie. LegacyVim bindings, vim.bindeval). Co-authored-by: Bram Moolenaar <Bram@vim.org>
2025-08-05vim-patch:8.2.0307: Python 3 vim.eval not well testedJan Edmund Lazo1
Problem: Python 3 vim.eval not well tested. Solution: Add a test. (Dominique Pelle, closes vim/vim#5680) https://github.com/vim/vim/commit/026270c01d8ae4425b2afe289d464451718cb9ab Amend float values to pass on Ubuntu. Comment out failing cases (ie. v:none, blob). Co-authored-by: Bram Moolenaar <Bram@vim.org>
2025-02-04vim-patch:9.1.1074: Strange error when heredoc marker starts with "trim" ↵zeertzjq1
(#32317) Problem: Strange error when heredoc marker starts with "trim". Solution: Check for whitespace after "trim" or "eval" (zeertzjq) For :python3 etc., a heredoc marker that starts with a lower-case letter is valid, and when it starts with "trim" it works in a script but not in a function, and this PR makes it works in a function. For :let, a heredoc marker that starts with a lower-case letter is not valid, but when it starts with "trim" or "eval" the error can be a bit confusing in a function, and this PR make it less confusing. closes: vim/vim#16574 https://github.com/vim/vim/commit/449c2e5454735fe1cfc8c21b2c6880d6bdf4cd6e
2024-01-22refactor: rewrite python provider in luadundargoc1
2023-04-29vim-patch:8.2.0672: heredoc in scripts does not accept lower case markerzeertzjq1
Problem: Heredoc in scripts does not accept lower case marker. Solution: Allow lower case only in non-Vim scripts. (Ken Takata, closes vim/vim#6019) https://github.com/vim/vim/commit/6ab0953fefe31fef91e40752a675ceb60fc2fe03
2023-04-29vim-patch:8.2.0578: heredoc for interfaces does not support "trim"zeertzjq1
Problem: Heredoc for interfaces does not support "trim". Solution: Update the script heredoc support to be same as the :let command. (Yegappan Lakshmanan, closes vim/vim#5916) https://github.com/vim/vim/commit/6c2b7b8055b96463f78abb70f58c4c6d6d4b9d55
2023-04-29vim-patch:8.2.0551: not all code for options is testedzeertzjq1
Problem: Not all code for options is tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#5913) https://github.com/vim/vim/commit/1363a30cef382b912bf092969e040333c5c293c6
2023-03-07test: move oldtests to test directory (#22536)dundargoc1
The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.