patch 8.2.1951: test for list and dict fails
Problem: Test for list and dict fails.
Solution: Adjust for using an empty list/dict for a null one.
diff --git a/src/testdir/test_python3.vim b/src/testdir/test_python3.vim
index f05fc07..660ac46 100644
--- a/src/testdir/test_python3.vim
+++ b/src/testdir/test_python3.vim
@@ -545,13 +545,12 @@
call AssertException(["py3 t = vim.eval('[test_null_list()]')"],
\ 'Vim(py3):SystemError: <built-in function eval> returned NULL without setting an error')
- " Try to bind a null List variable
+ " Try to bind a null List variable (works because an empty list is used)
let cmds =<< trim END
let l = test_null_list()
py3 ll = vim.bindeval('l')
END
- call AssertException(cmds,
- \ 'Vim(py3):SystemError: <built-in function bindeval> returned NULL without setting an error')
+ call AssertException(cmds, '')
let l = []
py3 l = vim.bindeval('l')