diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-05-15 15:44:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-05-15 15:44:28 +0200 |
commit | 8661b17843d95866dedfa0f4fbfec2278ee010be (patch) | |
tree | e0de67a475e37adf3254859a9b3e870970ce50ec /src/testdir/test87.ok | |
parent | 4d188da22bc42b58ed66746c8d6235616214e55f (diff) | |
download | vim-8661b17843d95866dedfa0f4fbfec2278ee010be.zip |
updated for version 7.3.951
Problem: Python exceptions have problems.
Solution: Change some IndexErrors to TypeErrors. Make “line number out of
range” an IndexError. Make “unable to get option value” a
RuntimeError. Make all PyErr_SetString messages start with
lowercase letter and use _(). (ZyX)
Diffstat (limited to 'src/testdir/test87.ok')
-rw-r--r-- | src/testdir/test87.ok | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok index 3addec8b3..d7fb06b7f 100644 --- a/src/testdir/test87.ok +++ b/src/testdir/test87.ok @@ -91,7 +91,7 @@ bar B: 1:1 2:1 3:1 4:1 >>> previewheight p/gopts1: 12 - inv: 'a'! ValueError + inv: 'a'! TypeError p/wopts1! KeyError inv: 'a'! KeyError wopts1! KeyError @@ -112,7 +112,7 @@ bar B: 1:5 2:5 3:5 4:5 >>> operatorfunc p/gopts1: b'' - inv: 2! ValueError + inv: 2! TypeError p/wopts1! KeyError inv: 2! KeyError wopts1! KeyError @@ -187,9 +187,9 @@ bar B: 1:'+2' 2:'+3' 3:'+1' 4:'' >>> statusline p/gopts1: b'' - inv: 0! ValueError + inv: 0! TypeError p/wopts1: None - inv: 0! ValueError + inv: 0! TypeError p/bopts1! KeyError inv: 0! KeyError bopts1! KeyError @@ -248,7 +248,7 @@ bar wopts2! KeyError wopts3! KeyError p/bopts1: b'' - inv: 1! ValueError + inv: 1! TypeError G: '' W: 1:'A' 2:'B' 3:'' 4:'C' B: 1:'A' 2:'B' 3:'' 4:'C' @@ -277,14 +277,14 @@ bar B: 1:0 2:1 3:0 4:1 >>> path p/gopts1: b'.,/usr/include,,' - inv: 0! ValueError + inv: 0! TypeError p/wopts1! KeyError inv: 0! KeyError wopts1! KeyError wopts2! KeyError wopts3! KeyError p/bopts1: None - inv: 0! ValueError + inv: 0! TypeError G: '.,,' W: 1:'.,,' 2:',,' 3:'.,,' 4:'.' B: 1:'.,,' 2:',,' 3:'.,,' 4:'.' |