diff options
Diffstat (limited to 'src/testdir/test_pyx3.vim')
-rw-r--r-- | src/testdir/test_pyx3.vim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/testdir/test_pyx3.vim b/src/testdir/test_pyx3.vim index 1b7bdae79..5dfa6cd21 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\+' |