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