summaryrefslogtreecommitdiffstats
path: root/src/testdir/test86.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-02-11 18:47:27 +0100
committerBram Moolenaar <Bram@vim.org>2014-02-11 18:47:27 +0100
commit2d5f38ff10a955058416b93aae774aeef1c34486 (patch)
treec95e374689c7f39926ab20a260eac144e389d727 /src/testdir/test86.in
parentcd981f2e0f00613a63b46e1e6b5227d5993ba994 (diff)
updated for version 7.4.176v7.4.176
Problem: Dictionary.update() thows an error when used without arguments. Python programmers don't expect that. Solution: Make Dictionary.update() without arguments do nothing. (ZyX)
Diffstat (limited to 'src/testdir/test86.in')
-rw-r--r--src/testdir/test86.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test86.in b/src/testdir/test86.in
index 240e07e477..ab5541faf2 100644
--- a/src/testdir/test86.in
+++ b/src/testdir/test86.in
@@ -39,6 +39,7 @@ STARTTEST
py << EOF
d=vim.bindeval('d')
d['1']='asd'
+d.update() # Must not do anything, including throwing errors
d.update(b=[1, 2, f])
d.update((('-1', {'a': 1}),))
d.update({'0': -1})