patch 9.0.0491: no good reason to build without the float feature
Problem: No good reason to build without the float feature.
Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
diff --git a/src/testdir/test_python2.vim b/src/testdir/test_python2.vim
index af1e340..066b4bd 100644
--- a/src/testdir/test_python2.vim
+++ b/src/testdir/test_python2.vim
@@ -686,7 +686,6 @@
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 @@
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:')