diff options
| author | Bram Moolenaar <Bram@vim.org> | 2022-09-17 21:08:33 +0100 |
|---|---|---|
| committer | Bram Moolenaar <Bram@vim.org> | 2022-09-17 21:08:33 +0100 |
| commit | 73e28dcc6125f616cf1f2d56443d22428a79e434 (patch) | |
| tree | bc26b3d1bb2e1675b7dae14b6c9cda1cd42c90d6 /src/testdir/test_python2.vim | |
| parent | 1c3dd8ddcba63c1af5112e567215b3cec2de11d0 (diff) | |
| download | vim-git-73e28dcc6125f616cf1f2d56443d22428a79e434.tar.gz | |
patch 9.0.0491: no good reason to build without the float featurev9.0.0491
Problem: No good reason to build without the float feature.
Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
Diffstat (limited to 'src/testdir/test_python2.vim')
| -rw-r--r-- | src/testdir/test_python2.vim | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/testdir/test_python2.vim b/src/testdir/test_python2.vim index af1e340fa..066b4bd88 100644 --- a/src/testdir/test_python2.vim +++ b/src/testdir/test_python2.vim @@ -686,7 +686,6 @@ func Test_python_function_call() endfunc func Test_python_float() - CheckFeature float let l = [0.0] py l = vim.bindeval('l') py l.extend([0.0]) @@ -785,9 +784,7 @@ func Test_python_pyeval() py v = vim.eval('test_null_function()') call assert_equal(v:none, pyeval('v')) - if has('float') - call assert_equal(0.0, pyeval('0.0')) - endif + call assert_equal(0.0, pyeval('0.0')) " Evaluate an invalid values call AssertException(['let v = pyeval(''"\0"'')'], 'E859:') |
