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/test87.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/test87.ok')
-rw-r--r-- | src/testdir/test87.ok | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok index 9a2d686cd9..eed179c5a9 100644 --- a/src/testdir/test87.ok +++ b/src/testdir/test87.ok @@ -505,6 +505,9 @@ d.get("\0"):(<class 'TypeError'>, TypeError('expected bytes with no null',)) <<< Finished d.pop("a"):(<class 'KeyError'>, KeyError('a',)) dl.pop("a"):(<class 'vim.error'>, error('dictionary is locked',)) +>> DictionaryContains +"" in d:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) +0 in d:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) >> DictionaryIterNext for i in ned: ned["a"] = 1:(<class 'RuntimeError'>, RuntimeError('hashtab changed during iteration',)) >> DictionaryAssItem |