Jan Edmund Lazo and Bram Moolenaar
d2a3e0e881
vim-patch:8.2.2271: ml_get error when changing hidden buffer in Python ( #40833 )
...
Problem: ml_get error when changing hidden buffer in Python.
Solution: Block updating folds. (closes vim/vim#7598 )
----
"ctx_switch()", "ctx_restore()" obsolete "switch_buffer()" and
"restore_buffer()".
Latter are unused since https://github.com/neovim/neovim/pull/15831 .
Mark them as N/A (until some test fails).
----
https://github.com/vim/vim/commit/3e0107ea16349b354e0e9712e95b09ef019e99e5
Co-authored-by: Bram Moolenaar <Bram@vim.org >
2026-07-19 19:51:47 -04:00
Jan Edmund Lazo and lsq
08d7744e13
vim-patch:9.1.1967: if_python: 64bit numbers truncated ( #37245 )
...
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 >
2026-01-05 13:38:57 +08:00
zeertzjq and Yee Cheng Chin
737dd83d1f
vim-patch:9.1.1869: tests: test failures with Python 3.14 and test_python3 ( #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-10-25 08:02:41 +08:00
Jan Edmund Lazo and Zdenek Dohnal
b869cf8ddc
vim-patch:9.0.1689: python 3.12 produces warnings and fails test
...
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-06 01:09:05 -04:00
Jan Edmund Lazo and K.Takata
cba2f65ee4
vim-patch:8.2.3602: Python3 test fails with Python 3.10 on MS-Windows
...
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-06 01:07:11 -04:00
Jan Edmund Lazo and Bram Moolenaar
7ae8860674
vim-patch:8.2.1912: with Python 3.9 some tests fail
...
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-05 13:33:59 -04:00
Jan Edmund Lazo and Bram Moolenaar
b95413f601
vim-patch:8.2.1555: not all tests are executed on Github Actions
...
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-05 13:33:52 -04:00
Jan Edmund Lazo and Bram Moolenaar
474c477134
vim-patch:8.2.1123: Python 3 test is old style
...
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-05 13:33:44 -04:00
Jan Edmund Lazo and Bram Moolenaar
d632ffa243
vim-patch:8.2.0307: Python 3 vim.eval not well tested
...
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-08-05 13:33:10 -04:00
zeertzjq
5a7cf85c2c
vim-patch:9.1.1074: Strange error when heredoc marker starts with "trim" ( #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
2025-02-04 07:44:41 +08:00
dundargoc
eb5d15e383
refactor: rewrite python provider in lua
2024-01-22 22:36:40 +01:00
zeertzjq
2eb1f62e29
vim-patch:8.2.0672: heredoc in scripts does not accept lower case marker
...
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-29 09:20:52 +08:00
zeertzjq
4bcf8c15b3
vim-patch:8.2.0578: heredoc for interfaces does not support "trim"
...
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-29 09:20:52 +08:00
zeertzjq
291fd767e3
vim-patch:8.2.0551: not all code for options is tested
...
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-04-29 09:07:10 +08:00
dundargoc
af23d17388
test: move oldtests to test directory ( #22536 )
...
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'.
2023-03-07 11:13:04 +08:00