patch 8.2.2881: various pieces of code not covered by tests
Problem: Various pieces of code not covered by tests.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #8245)
diff --git a/src/testdir/test_python2.vim b/src/testdir/test_python2.vim
index 84c9173..89afa2b 100644
--- a/src/testdir/test_python2.vim
+++ b/src/testdir/test_python2.vim
@@ -314,6 +314,8 @@
10new
py vim.current.window.height = 5
call assert_equal(5, winheight(0))
+ py vim.current.window.height = 3.2
+ call assert_equal(3, winheight(0))
" Test for setting the window width
10vnew