<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/test/functional/provider/python_spec.lua, branch userregs_2</title>
<subtitle>Neovim fork with Rahm's personal hacks.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/'/>
<entry>
<title>feat(provider)!: remove support for python2 and python3.[3-5]</title>
<updated>2022-01-29T18:49:37+00:00</updated>
<author>
<name>Björn Linse</name>
<email>bjorn.linse@gmail.com</email>
</author>
<published>2022-01-28T14:42:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=baec0d3152afeab3007ebb505f3fc274511db434'/>
<id>baec0d3152afeab3007ebb505f3fc274511db434</id>
<content type='text'>
These versions of python has reached End-of-life. getting rid
of python2 support removes a lot of logic to support two
incompatible python versions in the same version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These versions of python has reached End-of-life. getting rid
of python2 support removes a lot of logic to support two
incompatible python versions in the same version.
</pre>
</div>
</content>
</entry>
<entry>
<title>system(), jobstart(): raise error on non-executable #11234</title>
<updated>2019-12-24T06:53:56+00:00</updated>
<author>
<name>Daniel Hahler</name>
<email>git@thequod.de</email>
</author>
<published>2019-12-24T06:53:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=b3686b1597ea202de464df72a88fb5c76fd1b814'/>
<id>b3686b1597ea202de464df72a88fb5c76fd1b814</id>
<content type='text'>
* tv_to_argv: error when cmd is not executable
  Callers always assume that emsg was emitted:
  - https://github.com/neovim/neovim/blob/57fbf288/src/nvim/eval.c#L12509
  - https://github.com/neovim/neovim/blob/57fbf288/src/nvim/eval.c#L17923
  - https://github.com/neovim/neovim/blob/57fbf288/src/nvim/eval.c#L18202
* test/functional/provider: display reason from missing_provider
* provider#node#Detect: skip / handle non-existing node executable
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tv_to_argv: error when cmd is not executable
  Callers always assume that emsg was emitted:
  - https://github.com/neovim/neovim/blob/57fbf288/src/nvim/eval.c#L12509
  - https://github.com/neovim/neovim/blob/57fbf288/src/nvim/eval.c#L17923
  - https://github.com/neovim/neovim/blob/57fbf288/src/nvim/eval.c#L18202
* test/functional/provider: display reason from missing_provider
* provider#node#Detect: skip / handle non-existing node executable
</pre>
</div>
</content>
</entry>
<entry>
<title>provider: has("python3_dynamic") et al. #10980</title>
<updated>2019-09-09T17:54:07+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-09-09T17:54:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=853683e72a780afef3ecebd8d46e32983abe1798'/>
<id>853683e72a780afef3ecebd8d46e32983abe1798</id>
<content type='text'>
Vim added more flags for testing yet more dimensions of its Python
situation.  Handle those in eval_has_provider().

vim-patch:8.0.1436: not enough information about what Python version may work
Problem:    Not enough information about what Python version may work.
Solution:   Add "python_compiled", "python3_compiled", "python_dynamic" and
            "python3_dynamic" values for has().

ref: https://github.com/neovim/neovim/pull/10942#issuecomment-529479500</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Vim added more flags for testing yet more dimensions of its Python
situation.  Handle those in eval_has_provider().

vim-patch:8.0.1436: not enough information about what Python version may work
Problem:    Not enough information about what Python version may work.
Solution:   Add "python_compiled", "python3_compiled", "python_dynamic" and
            "python3_dynamic" values for has().

ref: https://github.com/neovim/neovim/pull/10942#issuecomment-529479500</pre>
</div>
</content>
</entry>
<entry>
<title>test: Eliminate expect_err</title>
<updated>2019-09-07T00:19:07+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2019-09-07T00:17:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=7e1c9598617a140e40a0a22676c0631294617246'/>
<id>7e1c9598617a140e40a0a22676c0631294617246</id>
<content type='text'>
Eliminate `expect_err` in favor of `pcall_err` + `eq` or `matches`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Eliminate `expect_err` in favor of `pcall_err` + `eq` or `matches`.
</pre>
</div>
</content>
</entry>
<entry>
<title>provider: improve error message if provider is missing (#9487)</title>
<updated>2019-01-11T23:52:12+00:00</updated>
<author>
<name>Marco Hinz</name>
<email>mh.codebro+github@gmail.com</email>
</author>
<published>2019-01-11T23:52:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=db3c797c6b3ce9c4f0f50ae22acde0c1aac60725'/>
<id>db3c797c6b3ce9c4f0f50ae22acde0c1aac60725</id>
<content type='text'>
Move `has_eval_provider()` check to `eval_call_provider()` to make sure that
every code path calls it first.

Previously we would, when pynvim was missing, get a nice error message for
`:python3 1`, but not for `:py3file blah`.

Fixes https://github.com/neovim/neovim/issues/9485</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move `has_eval_provider()` check to `eval_call_provider()` to make sure that
every code path calls it first.

Previously we would, when pynvim was missing, get a nice error message for
`:python3 1`, but not for `:py3file blah`.

Fixes https://github.com/neovim/neovim/issues/9485</pre>
</div>
</content>
</entry>
<entry>
<title>provider: repurpose E319</title>
<updated>2018-12-12T00:26:21+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-12-11T23:17:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=61d0dfee32ce9a9fb2497b02558df02eabb61d1b'/>
<id>61d0dfee32ce9a9fb2497b02558df02eabb61d1b</id>
<content type='text'>
In Vim (and some vestigial parts of Nvim) E319 was a placeholder for
ex_ni commands, i.e. commands that are only available in certain builds
of Vim.  That is obviously counter to Nvim's goals: all Nvim commands
are available on all platforms and build types (the remaining ex_ni
commands are actually just missing providers).

We need an error id for "missing provider", so it makes sense to use
E319 for that purpose.

ref #9344
ref #3577
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Vim (and some vestigial parts of Nvim) E319 was a placeholder for
ex_ni commands, i.e. commands that are only available in certain builds
of Vim.  That is obviously counter to Nvim's goals: all Nvim commands
are available on all platforms and build types (the remaining ex_ni
commands are actually just missing providers).

We need an error id for "missing provider", so it makes sense to use
E319 for that purpose.

ref #9344
ref #3577
</pre>
</div>
</content>
</entry>
<entry>
<title>test/python: less-noisy Python skip-message</title>
<updated>2018-02-12T12:24:48+00:00</updated>
<author>
<name>Justin M. Keyes</name>
<email>justinkz@gmail.com</email>
</author>
<published>2018-02-12T03:19:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=0f1bc5ddceb50ca8f96d91aabf8157d9758af0cd'/>
<id>0f1bc5ddceb50ca8f96d91aabf8157d9758af0cd</id>
<content type='text'>
Developer can use :checkhealth to get more details, don't need to blast
the details in the skip-message every time.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Developer can use :checkhealth to get more details, don't need to blast
the details in the skip-message every time.
</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Replace check_provider -&gt; missing_provider with err report</title>
<updated>2017-05-13T00:06:50+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-05-12T17:47:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=19d38c4d0f98004e8b2c39821f9bee8ca7e2f5d2'/>
<id>19d38c4d0f98004e8b2c39821f9bee8ca7e2f5d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Test invalid behaviour</title>
<updated>2017-05-13T00:06:30+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2017-05-12T17:03:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=8b171b8c507dd9db01abee169d3a71e33f8e8ff4'/>
<id>8b171b8c507dd9db01abee169d3a71e33f8e8ff4</id>
<content type='text'>
Test correctly fail for oneline ruby, python and python3.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test correctly fail for oneline ruby, python and python3.
</pre>
</div>
</content>
</entry>
<entry>
<title>functests: Check logs in lua code</title>
<updated>2016-06-10T18:50:49+00:00</updated>
<author>
<name>ZyX</name>
<email>kp-pav@yandex.ru</email>
</author>
<published>2016-04-23T23:53:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.josher.dev/cgit/rneovim.git/commit/?id=ff470bb853397fcb25bfa5dd952ebb32307b7875'/>
<id>ff470bb853397fcb25bfa5dd952ebb32307b7875</id>
<content type='text'>
It is otherwise impossible to determine which test failed sanitizer/valgrind
check. test/functional/helpers.lua module return was changed so that tests which
do not provide after_each function to get new check will automatically fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is otherwise impossible to determine which test failed sanitizer/valgrind
check. test/functional/helpers.lua module return was changed so that tests which
do not provide after_each function to get new check will automatically fail.
</pre>
</div>
</content>
</entry>
</feed>
