aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-01-29 20:22:25 +0100
committerGitHub <noreply@github.com>2022-01-29 20:22:25 +0100
commite0242c4a937be5b5a7eea21bfe780fb49216e2a2 (patch)
tree934cefaf8b9a44a18fd134ef11b27d74a32089b0 /src/nvim/testdir
parent4b719e4a16dfab0829d833ed8bbc102bf6c6b0b4 (diff)
parentbaec0d3152afeab3007ebb505f3fc274511db434 (diff)
downloadrneovim-e0242c4a937be5b5a7eea21bfe780fb49216e2a2.tar.gz
rneovim-e0242c4a937be5b5a7eea21bfe780fb49216e2a2.tar.bz2
rneovim-e0242c4a937be5b5a7eea21bfe780fb49216e2a2.zip
Merge pull request #17222 from bfredl/babajpy2
feat(provider)!: remove support for python2 and python3.[3-6]
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_python3.vim1
-rw-r--r--src/nvim/testdir/test_pyx2.vim2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_python3.vim b/src/nvim/testdir/test_python3.vim
index 54da3d2eba..f6a1942e24 100644
--- a/src/nvim/testdir/test_python3.vim
+++ b/src/nvim/testdir/test_python3.vim
@@ -69,6 +69,7 @@ func Test_vim_function()
endfunc
func Test_skipped_python3_command_does_not_affect_pyxversion()
+ throw 'skipped: Nvim hardcodes pyxversion=3'
set pyxversion=0
if 0
python3 import vim
diff --git a/src/nvim/testdir/test_pyx2.vim b/src/nvim/testdir/test_pyx2.vim
index b6ed80f842..6a8ebf3da0 100644
--- a/src/nvim/testdir/test_pyx2.vim
+++ b/src/nvim/testdir/test_pyx2.vim
@@ -1,9 +1,9 @@
" Test for pyx* commands and functions with Python 2.
-set pyx=2
if !has('python')
finish
endif
+set pyx=2
let s:py2pattern = '^2\.[0-7]\.\d\+'
let s:py3pattern = '^3\.\d\+\.\d\+'