diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-11-04 00:34:53 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-11-04 00:34:53 +0100 |
commit | ba2d7ffc4bd69175ddeffb77a7b459787baa0d92 (patch) | |
tree | 938ed24d19490797dad752ba16a8893cbde3ea80 /src/testdir/test86.ok | |
parent | d5d015d4570eabc9a2da620cce906617e72ac625 (diff) |
updated for version 7.4.063v7.4.063
Problem: Crash when using invalid key in Python dictionary.
Solution: Check for object to be NULL. Add tests. (ZyX)
Diffstat (limited to 'src/testdir/test86.ok')
-rw-r--r-- | src/testdir/test86.ok | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test86.ok b/src/testdir/test86.ok index c8517b3dcd..69c98d02d3 100644 --- a/src/testdir/test86.ok +++ b/src/testdir/test86.ok @@ -516,6 +516,9 @@ d.get("\0"):TypeError:('expected string without null bytes',) <<< Finished d.pop("a"):KeyError:('a',) dl.pop("a"):error:('dictionary is locked',) +>> DictionaryContains +"" in d:ValueError:('empty keys are not allowed',) +0 in d:TypeError:('expected str() or unicode() instance, but got int',) >> DictionaryIterNext for i in ned: ned["a"] = 1:RuntimeError:('hashtab changed during iteration',) >> DictionaryAssItem |