| Age | Commit message (Collapse) | Author | Files |
|
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>
|
|
(#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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
(#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
|
|
|
|
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
|
|
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
|
|
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
|
|
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'.
|