summaryrefslogtreecommitdiffstats
path: root/src/testdir/test87.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/test87.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/test87.in')
-rw-r--r--src/testdir/test87.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test87.in b/src/testdir/test87.in
index e45883b59d..1515a906bb 100644
--- a/src/testdir/test87.in
+++ b/src/testdir/test87.in
@@ -33,6 +33,7 @@ STARTTEST
py3 << 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})