aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_pyx2.vim
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/testdir/test_pyx2.vim')
-rw-r--r--src/nvim/testdir/test_pyx2.vim5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nvim/testdir/test_pyx2.vim b/src/nvim/testdir/test_pyx2.vim
index b6ed80f842..eee825fa9b 100644
--- a/src/nvim/testdir/test_pyx2.vim
+++ b/src/nvim/testdir/test_pyx2.vim
@@ -1,9 +1,8 @@
" Test for pyx* commands and functions with Python 2.
+source check.vim
+CheckFeature python
set pyx=2
-if !has('python')
- finish
-endif
let s:py2pattern = '^2\.[0-7]\.\d\+'
let s:py3pattern = '^3\.\d\+\.\d\+'