Mercurial > vim
comparison src/testdir/test87.ok @ 4405:907b1f035ee7 v7.3.951
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 15 May 2013 15:44:28 +0200 |
parents | a6f0544df95e |
children | fa90ebf2c8f3 |
comparison
equal
deleted
inserted
replaced
4404:8c9926befc6c | 4405:907b1f035ee7 |
---|---|
89 G: 1 | 89 G: 1 |
90 W: 1:1 2:1 3:1 4:1 | 90 W: 1:1 2:1 3:1 4:1 |
91 B: 1:1 2:1 3:1 4:1 | 91 B: 1:1 2:1 3:1 4:1 |
92 >>> previewheight | 92 >>> previewheight |
93 p/gopts1: 12 | 93 p/gopts1: 12 |
94 inv: 'a'! ValueError | 94 inv: 'a'! TypeError |
95 p/wopts1! KeyError | 95 p/wopts1! KeyError |
96 inv: 'a'! KeyError | 96 inv: 'a'! KeyError |
97 wopts1! KeyError | 97 wopts1! KeyError |
98 wopts2! KeyError | 98 wopts2! KeyError |
99 wopts3! KeyError | 99 wopts3! KeyError |
110 G: 5 | 110 G: 5 |
111 W: 1:5 2:5 3:5 4:5 | 111 W: 1:5 2:5 3:5 4:5 |
112 B: 1:5 2:5 3:5 4:5 | 112 B: 1:5 2:5 3:5 4:5 |
113 >>> operatorfunc | 113 >>> operatorfunc |
114 p/gopts1: b'' | 114 p/gopts1: b'' |
115 inv: 2! ValueError | 115 inv: 2! TypeError |
116 p/wopts1! KeyError | 116 p/wopts1! KeyError |
117 inv: 2! KeyError | 117 inv: 2! KeyError |
118 wopts1! KeyError | 118 wopts1! KeyError |
119 wopts2! KeyError | 119 wopts2! KeyError |
120 wopts3! KeyError | 120 wopts3! KeyError |
185 G: '' | 185 G: '' |
186 W: 1:'+2' 2:'+3' 3:'+1' 4:'' | 186 W: 1:'+2' 2:'+3' 3:'+1' 4:'' |
187 B: 1:'+2' 2:'+3' 3:'+1' 4:'' | 187 B: 1:'+2' 2:'+3' 3:'+1' 4:'' |
188 >>> statusline | 188 >>> statusline |
189 p/gopts1: b'' | 189 p/gopts1: b'' |
190 inv: 0! ValueError | 190 inv: 0! TypeError |
191 p/wopts1: None | 191 p/wopts1: None |
192 inv: 0! ValueError | 192 inv: 0! TypeError |
193 p/bopts1! KeyError | 193 p/bopts1! KeyError |
194 inv: 0! KeyError | 194 inv: 0! KeyError |
195 bopts1! KeyError | 195 bopts1! KeyError |
196 bopts2! KeyError | 196 bopts2! KeyError |
197 bopts3! KeyError | 197 bopts3! KeyError |
246 inv: 1! KeyError | 246 inv: 1! KeyError |
247 wopts1! KeyError | 247 wopts1! KeyError |
248 wopts2! KeyError | 248 wopts2! KeyError |
249 wopts3! KeyError | 249 wopts3! KeyError |
250 p/bopts1: b'' | 250 p/bopts1: b'' |
251 inv: 1! ValueError | 251 inv: 1! TypeError |
252 G: '' | 252 G: '' |
253 W: 1:'A' 2:'B' 3:'' 4:'C' | 253 W: 1:'A' 2:'B' 3:'' 4:'C' |
254 B: 1:'A' 2:'B' 3:'' 4:'C' | 254 B: 1:'A' 2:'B' 3:'' 4:'C' |
255 del wopts3! KeyError | 255 del wopts3! KeyError |
256 del bopts3! ValueError | 256 del bopts3! ValueError |
275 G: 0 | 275 G: 0 |
276 W: 1:0 2:1 3:0 4:1 | 276 W: 1:0 2:1 3:0 4:1 |
277 B: 1:0 2:1 3:0 4:1 | 277 B: 1:0 2:1 3:0 4:1 |
278 >>> path | 278 >>> path |
279 p/gopts1: b'.,/usr/include,,' | 279 p/gopts1: b'.,/usr/include,,' |
280 inv: 0! ValueError | 280 inv: 0! TypeError |
281 p/wopts1! KeyError | 281 p/wopts1! KeyError |
282 inv: 0! KeyError | 282 inv: 0! KeyError |
283 wopts1! KeyError | 283 wopts1! KeyError |
284 wopts2! KeyError | 284 wopts2! KeyError |
285 wopts3! KeyError | 285 wopts3! KeyError |
286 p/bopts1: None | 286 p/bopts1: None |
287 inv: 0! ValueError | 287 inv: 0! TypeError |
288 G: '.,,' | 288 G: '.,,' |
289 W: 1:'.,,' 2:',,' 3:'.,,' 4:'.' | 289 W: 1:'.,,' 2:',,' 3:'.,,' 4:'.' |
290 B: 1:'.,,' 2:',,' 3:'.,,' 4:'.' | 290 B: 1:'.,,' 2:',,' 3:'.,,' 4:'.' |
291 del wopts3! KeyError | 291 del wopts3! KeyError |
292 G: '.,,' | 292 G: '.,,' |