summaryrefslogtreecommitdiff
path: root/src/testdir/test_python2.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-17 21:08:33 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-17 21:08:33 +0100
commit73e28dcc6125f616cf1f2d56443d22428a79e434 (patch)
treebc26b3d1bb2e1675b7dae14b6c9cda1cd42c90d6 /src/testdir/test_python2.vim
parent1c3dd8ddcba63c1af5112e567215b3cec2de11d0 (diff)
downloadvim-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.vim5
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:')