diff options
Diffstat (limited to 'src/testdir/test_pyx2.vim')
-rw-r--r-- | src/testdir/test_pyx2.vim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testdir/test_pyx2.vim b/src/testdir/test_pyx2.vim index 64bd579c2..40e93c227 100644 --- a/src/testdir/test_pyx2.vim +++ b/src/testdir/test_pyx2.vim @@ -1,9 +1,8 @@ " Test for pyx* commands and functions with Python 2. set pyx=2 -if !has('python') - throw 'Skipped, python feature missing' -endif +source check.vim +CheckFeature python let s:py2pattern = '^2\.[0-7]\.\d\+' let s:py3pattern = '^3\.\d\+\.\d\+' |