Mercurial > vim
annotate src/testdir/test86.ok @ 6257:6f80b9a773db v7.4.463
updated for version 7.4.463
Problem: Test 86 and 87 may hang on MS-Windows.
Solution: Call inputrestore() after inputsave(). (Ken Takata)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 29 Sep 2014 18:08:59 +0200 |
parents | c2e88a40d530 |
children | 692dac7183de |
rev | line source |
---|---|
3618 | 1 start: |
2 [1, 'as''d', [1, 2, function('strlen'), {'a': 1}]] | |
3 [1, 2, function('strlen'), {'a': 1}] | |
4 Vim(put):E684: | |
5 [0, 'as''d', [1, 2, function('strlen'), {'a': 1}]] | |
6 [0, function('strlen'), [1, 2, function('strlen'), {'a': 1}]] | |
4631
4157fef7b950
updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents:
4629
diff
changeset
|
7 1 |
4157fef7b950
updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents:
4629
diff
changeset
|
8 ['-1', '0', '1', 'b', 'f'] |
4157fef7b950
updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents:
4629
diff
changeset
|
9 ['asd', -1L, <vim.Function '1'>, <vim.dictionary object at >, <vim.list object at >] |
4157fef7b950
updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents:
4629
diff
changeset
|
10 [('-1', <vim.dictionary object at >), ('0', -1L), ('1', 'asd'), ('b', <vim.list object at >), ('f', <vim.Function '1'>)] |
3618 | 11 '-1' : {'a': 1} |
4627
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
12 '0' : -1 |
3618 | 13 '1' : 'asd' |
14 'b' : [1, 2, function('strlen')] | |
4631
4157fef7b950
updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents:
4629
diff
changeset
|
15 'f' : function('1') |
3618 | 16 [0, function('strlen')] |
17 [3] | |
4627
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
18 [1, 2, function('strlen')] |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
19 [1, 2, function('strlen')] |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
20 1 |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
21 'asd' |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
22 2 |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
23 True |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
24 False |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
25 True |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
26 False |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
27 ['0'] |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
28 {'0': -1} |
4698
2db005052371
updated for version 7.3.1096
Bram Moolenaar <bram@vim.org>
parents:
4684
diff
changeset
|
29 ('0', -1L) |
4627
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
30 None |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
31 [] |
3618 | 32 [0, 1, 2, 3] |
33 [0, 1, 2, 3] | |
34 [0, 1, 3] | |
35 [0, 1] | |
36 [0, 1] | |
37 [0, 1] | |
38 [0, 1, 2, 3] | |
39 [0, 1, 2, 3] | |
40 [0, 2, 3] | |
41 [2, 3] | |
42 [2, 3] | |
43 [2, 3] | |
5608 | 44 [1, 3] |
45 [0, 2] | |
46 [0, 1, 2, 3] | |
3618 | 47 ['a', 0, 1, 2, 3] |
48 [0, 'b', 2, 3] | |
49 [0, 1, 'c'] | |
50 [0, 1, 2, 3, 'd'] | |
51 [0, 1, 2, 'e', 3] | |
52 ['f', 2, 3] | |
53 [0, 1, 'g', 2, 3] | |
54 ['h'] | |
5608 | 55 [0, 1, 10, 3, 20, 5, 6, 7] |
56 [0, 1, 2, 3, 20, 5, 10, 7] | |
57 [0, 1, 2, 3, 4, 5, 6, 7] | |
58 [0, 1, 2, 3, 4, 5, 6, 7] | |
59 [0, 1, 2, 3, 4, 5, 6, 7] | |
3618 | 60 [0, 1, 2, 3] |
61 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd'] | |
62 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}] | |
63 [function('New'), function('DictNew'), 'NewStart', 1, 2, 3, 'NewEnd', 'DictNewStart', 1, 2, 3, 'DictNewEnd', {'a': 'b'}, 'New'] | |
5517 | 64 l[1](1, 2, 3):error:('Vim:E725: Calling dict function without Dictionary: DictNew',) |
65 f(1, 2, 3):error:('Vim:E117: Unknown function: New',) | |
3618 | 66 [0.0, 0.0] |
4315 | 67 KeyError |
3802 | 68 TypeError |
69 TypeError | |
70 ValueError | |
71 TypeError | |
72 TypeError | |
4627
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
73 KeyError |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
74 KeyError |
3828 | 75 d : locked:0;scope:0 |
76 dl : locked:1;scope:0 | |
77 v: : locked:2;scope:1 | |
78 g: : locked:0;scope:2 | |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
79 d:{'abc2': 1} |
3828 | 80 dl:{'def': 1} |
81 l : locked:0 | |
82 ll : locked:1 | |
83 l:[0] | |
84 ll:[1] | |
3618 | 85 [0, 1, 2] |
86 ['a', 'b'] | |
87 ['c', 1] | |
88 ['d', ['e']] | |
89 0.0 | |
3802 | 90 "\0": Vim(let):E859: |
91 {"\0": 1}: Vim(let):E859: | |
4149 | 92 undefined_name: Vim(let):Trace |
3802 | 93 vim: Vim(let):E859: |
4109 | 94 [1] |
95 [1, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 1] | |
4260 | 96 [0, 1, 2, 3] |
97 [2, 3, 4, 5] | |
98 [0, 1] | |
99 [4, 5] | |
100 [2, 3] | |
101 [] | |
102 [2, 3] | |
103 [] | |
104 [0, 1, 2, 3, 4, 5] | |
105 [0, 1, 2, 3, 4, 5] | |
106 [0, 1, 2, 3, 4, 5] | |
5608 | 107 [4, 3] |
108 [0, 2, 4] | |
109 [] | |
4323 | 110 Abc |
111 bac | |
112 def | |
113 bar | |
4413 | 114 jkl |
5610 | 115 wopts iters equal: 1 |
116 bopts iters equal: 1 | |
4350 | 117 >>> paste |
5610 | 118 g/w/b:1/0/0 |
119 g/w/b (in):1/0/0 | |
4350 | 120 p/gopts1: False |
121 p/wopts1! KeyError | |
122 inv: 2! KeyError | |
123 wopts1! KeyError | |
124 wopts2! KeyError | |
125 wopts3! KeyError | |
126 p/bopts1! KeyError | |
127 inv: 2! KeyError | |
128 bopts1! KeyError | |
129 bopts2! KeyError | |
130 bopts3! KeyError | |
131 G: 1 | |
132 W: 1:1 2:1 3:1 4:1 | |
133 B: 1:1 2:1 3:1 4:1 | |
134 del wopts3! KeyError | |
135 del bopts3! KeyError | |
136 G: 1 | |
137 W: 1:1 2:1 3:1 4:1 | |
138 B: 1:1 2:1 3:1 4:1 | |
139 >>> previewheight | |
5610 | 140 g/w/b:1/0/0 |
141 g/w/b (in):1/0/0 | |
4350 | 142 p/gopts1: 12 |
4405 | 143 inv: 'a'! TypeError |
4350 | 144 p/wopts1! KeyError |
145 inv: 'a'! KeyError | |
146 wopts1! KeyError | |
147 wopts2! KeyError | |
148 wopts3! KeyError | |
149 p/bopts1! KeyError | |
150 inv: 'a'! KeyError | |
151 bopts1! KeyError | |
152 bopts2! KeyError | |
153 bopts3! KeyError | |
154 G: 5 | |
155 W: 1:5 2:5 3:5 4:5 | |
156 B: 1:5 2:5 3:5 4:5 | |
157 del wopts3! KeyError | |
158 del bopts3! KeyError | |
159 G: 5 | |
160 W: 1:5 2:5 3:5 4:5 | |
161 B: 1:5 2:5 3:5 4:5 | |
162 >>> operatorfunc | |
5610 | 163 g/w/b:1/0/0 |
164 g/w/b (in):1/0/0 | |
4350 | 165 p/gopts1: '' |
4405 | 166 inv: 2! TypeError |
4350 | 167 p/wopts1! KeyError |
168 inv: 2! KeyError | |
169 wopts1! KeyError | |
170 wopts2! KeyError | |
171 wopts3! KeyError | |
172 p/bopts1! KeyError | |
173 inv: 2! KeyError | |
174 bopts1! KeyError | |
175 bopts2! KeyError | |
176 bopts3! KeyError | |
177 G: 'A' | |
178 W: 1:'A' 2:'A' 3:'A' 4:'A' | |
179 B: 1:'A' 2:'A' 3:'A' 4:'A' | |
180 del wopts3! KeyError | |
181 del bopts3! KeyError | |
182 G: 'A' | |
183 W: 1:'A' 2:'A' 3:'A' 4:'A' | |
184 B: 1:'A' 2:'A' 3:'A' 4:'A' | |
185 >>> number | |
5610 | 186 g/w/b:0/1/0 |
187 g/w/b (in):0/1/0 | |
4350 | 188 p/gopts1! KeyError |
189 inv: 0! KeyError | |
190 gopts1! KeyError | |
191 p/wopts1: False | |
192 p/bopts1! KeyError | |
193 inv: 0! KeyError | |
194 bopts1! KeyError | |
195 bopts2! KeyError | |
196 bopts3! KeyError | |
197 G: 0 | |
198 W: 1:1 2:1 3:0 4:0 | |
199 B: 1:1 2:1 3:0 4:0 | |
200 del wopts3! ValueError | |
201 del bopts3! KeyError | |
202 G: 0 | |
203 W: 1:1 2:1 3:0 4:0 | |
204 B: 1:1 2:1 3:0 4:0 | |
205 >>> numberwidth | |
5610 | 206 g/w/b:0/1/0 |
207 g/w/b (in):0/1/0 | |
4350 | 208 p/gopts1! KeyError |
209 inv: -100! KeyError | |
210 gopts1! KeyError | |
211 p/wopts1: 8 | |
4513
cadb57fbb781
updated for version 7.3.1004
Bram Moolenaar <bram@vim.org>
parents:
4511
diff
changeset
|
212 inv: -100! error |
4350 | 213 p/bopts1! KeyError |
214 inv: -100! KeyError | |
215 bopts1! KeyError | |
216 bopts2! KeyError | |
217 bopts3! KeyError | |
218 G: 8 | |
219 W: 1:3 2:5 3:2 4:8 | |
220 B: 1:3 2:5 3:2 4:8 | |
221 del wopts3! ValueError | |
222 del bopts3! KeyError | |
223 G: 8 | |
224 W: 1:3 2:5 3:2 4:8 | |
225 B: 1:3 2:5 3:2 4:8 | |
226 >>> colorcolumn | |
5610 | 227 g/w/b:0/1/0 |
228 g/w/b (in):0/1/0 | |
4350 | 229 p/gopts1! KeyError |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
230 inv: 'abc4'! KeyError |
4350 | 231 gopts1! KeyError |
232 p/wopts1: '' | |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
233 inv: 'abc4'! error |
4350 | 234 p/bopts1! KeyError |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
235 inv: 'abc4'! KeyError |
4350 | 236 bopts1! KeyError |
237 bopts2! KeyError | |
238 bopts3! KeyError | |
239 G: '' | |
240 W: 1:'+2' 2:'+3' 3:'+1' 4:'' | |
241 B: 1:'+2' 2:'+3' 3:'+1' 4:'' | |
242 del wopts3! ValueError | |
243 del bopts3! KeyError | |
244 G: '' | |
245 W: 1:'+2' 2:'+3' 3:'+1' 4:'' | |
246 B: 1:'+2' 2:'+3' 3:'+1' 4:'' | |
247 >>> statusline | |
5610 | 248 g/w/b:1/1/0 |
249 g/w/b (in):1/1/0 | |
4350 | 250 p/gopts1: '' |
4405 | 251 inv: 0! TypeError |
4350 | 252 p/wopts1: None |
4405 | 253 inv: 0! TypeError |
4350 | 254 p/bopts1! KeyError |
255 inv: 0! KeyError | |
256 bopts1! KeyError | |
257 bopts2! KeyError | |
258 bopts3! KeyError | |
259 G: '1' | |
260 W: 1:'2' 2:'4' 3:'1' 4:'1' | |
261 B: 1:'2' 2:'4' 3:'1' 4:'1' | |
262 del bopts3! KeyError | |
263 G: '1' | |
264 W: 1:'2' 2:'1' 3:'1' 4:'1' | |
265 B: 1:'2' 2:'1' 3:'1' 4:'1' | |
266 >>> autoindent | |
5610 | 267 g/w/b:0/0/1 |
268 g/w/b (in):0/0/1 | |
4350 | 269 p/gopts1! KeyError |
270 inv: 2! KeyError | |
271 gopts1! KeyError | |
272 p/wopts1! KeyError | |
273 inv: 2! KeyError | |
274 wopts1! KeyError | |
275 wopts2! KeyError | |
276 wopts3! KeyError | |
277 p/bopts1: False | |
278 G: 0 | |
4393 | 279 W: 1:0 2:1 3:0 4:1 |
280 B: 1:0 2:1 3:0 4:1 | |
4350 | 281 del wopts3! KeyError |
282 del bopts3! ValueError | |
283 G: 0 | |
4393 | 284 W: 1:0 2:1 3:0 4:1 |
285 B: 1:0 2:1 3:0 4:1 | |
4427 | 286 >>> shiftwidth |
5610 | 287 g/w/b:0/0/1 |
288 g/w/b (in):0/0/1 | |
4350 | 289 p/gopts1! KeyError |
290 inv: 3! KeyError | |
291 gopts1! KeyError | |
292 p/wopts1! KeyError | |
293 inv: 3! KeyError | |
294 wopts1! KeyError | |
295 wopts2! KeyError | |
296 wopts3! KeyError | |
4427 | 297 p/bopts1: 8 |
298 G: 8 | |
299 W: 1:0 2:2 3:8 4:1 | |
300 B: 1:0 2:2 3:8 4:1 | |
4350 | 301 del wopts3! KeyError |
302 del bopts3! ValueError | |
4427 | 303 G: 8 |
304 W: 1:0 2:2 3:8 4:1 | |
305 B: 1:0 2:2 3:8 4:1 | |
4350 | 306 >>> omnifunc |
5610 | 307 g/w/b:0/0/1 |
308 g/w/b (in):0/0/1 | |
4350 | 309 p/gopts1! KeyError |
310 inv: 1! KeyError | |
311 gopts1! KeyError | |
312 p/wopts1! KeyError | |
313 inv: 1! KeyError | |
314 wopts1! KeyError | |
315 wopts2! KeyError | |
316 wopts3! KeyError | |
317 p/bopts1: '' | |
4405 | 318 inv: 1! TypeError |
4350 | 319 G: '' |
4393 | 320 W: 1:'A' 2:'B' 3:'' 4:'C' |
321 B: 1:'A' 2:'B' 3:'' 4:'C' | |
4350 | 322 del wopts3! KeyError |
323 del bopts3! ValueError | |
324 G: '' | |
4393 | 325 W: 1:'A' 2:'B' 3:'' 4:'C' |
326 B: 1:'A' 2:'B' 3:'' 4:'C' | |
4350 | 327 >>> preserveindent |
5610 | 328 g/w/b:0/0/1 |
329 g/w/b (in):0/0/1 | |
4350 | 330 p/gopts1! KeyError |
331 inv: 2! KeyError | |
332 gopts1! KeyError | |
333 p/wopts1! KeyError | |
334 inv: 2! KeyError | |
335 wopts1! KeyError | |
336 wopts2! KeyError | |
337 wopts3! KeyError | |
338 p/bopts1: False | |
339 G: 0 | |
4393 | 340 W: 1:0 2:1 3:0 4:1 |
341 B: 1:0 2:1 3:0 4:1 | |
4350 | 342 del wopts3! KeyError |
343 del bopts3! ValueError | |
344 G: 0 | |
4393 | 345 W: 1:0 2:1 3:0 4:1 |
346 B: 1:0 2:1 3:0 4:1 | |
4350 | 347 >>> path |
5610 | 348 g/w/b:1/0/1 |
349 g/w/b (in):1/0/1 | |
4684
79522bb17125
updated for version 7.3.1089
Bram Moolenaar <bram@vim.org>
parents:
4665
diff
changeset
|
350 p/gopts1: '.,..,,' |
4405 | 351 inv: 0! TypeError |
4350 | 352 p/wopts1! KeyError |
353 inv: 0! KeyError | |
354 wopts1! KeyError | |
355 wopts2! KeyError | |
356 wopts3! KeyError | |
357 p/bopts1: None | |
4405 | 358 inv: 0! TypeError |
4350 | 359 G: '.,,' |
4393 | 360 W: 1:'.,,' 2:',,' 3:'.,,' 4:'.' |
361 B: 1:'.,,' 2:',,' 3:'.,,' 4:'.' | |
4350 | 362 del wopts3! KeyError |
363 G: '.,,' | |
4393 | 364 W: 1:'.,,' 2:',,' 3:'.,,' 4:'.,,' |
365 B: 1:'.,,' 2:',,' 3:'.,,' 4:'.,,' | |
4389 | 366 First line |
367 First line | |
368 def | |
369 First line | |
370 Second line | |
371 Third line | |
372 (7, 2) | |
373 <buffer test86.in><buffer > | |
374 baz | |
375 bar | |
376 Second line | |
377 Third line | |
378 foo | |
4589
fa39483a1363
updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents:
4513
diff
changeset
|
379 1:BufFilePre:1 |
4613
219b2fcad60d
updated for version 7.3.1054
Bram Moolenaar <bram@vim.org>
parents:
4599
diff
changeset
|
380 1:BufFilePost:1 |
4589
fa39483a1363
updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents:
4513
diff
changeset
|
381 testdir/foo |
fa39483a1363
updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents:
4513
diff
changeset
|
382 5:BufFilePre:5 |
fa39483a1363
updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents:
4513
diff
changeset
|
383 5:BufFilePost:5 |
fa39483a1363
updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents:
4513
diff
changeset
|
384 testdir/bar |
fa39483a1363
updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents:
4513
diff
changeset
|
385 1:BufFilePre:1 |
4613
219b2fcad60d
updated for version 7.3.1054
Bram Moolenaar <bram@vim.org>
parents:
4599
diff
changeset
|
386 1:BufFilePost:1 |
4589
fa39483a1363
updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents:
4513
diff
changeset
|
387 testdir/test86.in |
4593
0cf552b325b5
updated for version 7.3.1044
Bram Moolenaar <bram@vim.org>
parents:
4589
diff
changeset
|
388 valid: b:False, cb:True |
4397 | 389 i:<buffer test86.in> |
390 i2:<buffer test86.in> | |
391 i:<buffer a> | |
392 i3:<buffer test86.in> | |
393 1:<buffer test86.in>=<buffer test86.in> | |
4589
fa39483a1363
updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents:
4513
diff
changeset
|
394 8:<buffer a>=<buffer a> |
fa39483a1363
updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents:
4513
diff
changeset
|
395 9:<buffer b>=<buffer b> |
fa39483a1363
updated for version 7.3.1042
Bram Moolenaar <bram@vim.org>
parents:
4513
diff
changeset
|
396 10:<buffer c>=<buffer c> |
4397 | 397 4 |
398 i4:<buffer test86.in> | |
399 i4:<buffer test86.in> | |
400 StopIteration | |
4413 | 401 Number of tabs: 4 |
402 Current tab pages: | |
403 <tabpage 0>(1): 1 windows, current is <window object (unknown)> | |
404 Windows: | |
4593
0cf552b325b5
updated for version 7.3.1044
Bram Moolenaar <bram@vim.org>
parents:
4589
diff
changeset
|
405 <window object (unknown)>(1): displays buffer <buffer test86.in>; cursor is at (37, 0) |
4413 | 406 <tabpage 1>(2): 1 windows, current is <window object (unknown)> |
407 Windows: | |
4431 | 408 <window object (unknown)>(1): displays buffer <buffer 0>; cursor is at (1, 0) |
4413 | 409 <tabpage 2>(3): 2 windows, current is <window object (unknown)> |
410 Windows: | |
4431 | 411 <window object (unknown)>(1): displays buffer <buffer a.1>; cursor is at (1, 0) |
412 <window object (unknown)>(2): displays buffer <buffer 1>; cursor is at (1, 0) | |
4413 | 413 <tabpage 3>(4): 4 windows, current is <window 0> |
414 Windows: | |
415 <window 0>(1): displays buffer <buffer c.2>; cursor is at (1, 0) | |
416 <window 1>(2): displays buffer <buffer b.2>; cursor is at (1, 0) | |
417 <window 2>(3): displays buffer <buffer a.2>; cursor is at (1, 0) | |
418 <window 3>(4): displays buffer <buffer 2>; cursor is at (1, 0) | |
419 Number of windows in current tab page: 4 | |
420 Current tab page: <tabpage 3> | |
421 Current window: <window 0>: <window 0> is <window 0> | |
422 Current buffer: <buffer c.2>: <buffer c.2> is <buffer c.2> is <buffer c.2> | |
423 ValueError at assigning foreign tab window | |
424 Type error at assigning None to vim.current.window | |
425 Type error at assigning None to vim.current.tabpage | |
426 Type error at assigning None to vim.current.buffer | |
427 Current tab page: <tabpage 2> | |
428 Current window: <window 0> | |
429 Current buffer: <buffer test86.in> | |
430 Current line: 'Type error at assigning None to vim.current.buffer' | |
4593
0cf552b325b5
updated for version 7.3.1044
Bram Moolenaar <bram@vim.org>
parents:
4589
diff
changeset
|
431 w.valid: [True, False] |
0cf552b325b5
updated for version 7.3.1044
Bram Moolenaar <bram@vim.org>
parents:
4589
diff
changeset
|
432 t.valid: [True, False, True, False] |
4496 | 433 vim.vars:Dictionary:True |
434 vim.options:Options:True | |
435 vim.bindeval("{}"):Dictionary:True | |
436 vim.bindeval("[]"):List:True | |
437 vim.bindeval("function('tr')"):Function:True | |
438 vim.current.buffer:Buffer:True | |
439 vim.current.range:Range:True | |
440 vim.current.window:Window:True | |
441 vim.current.tabpage:TabPage:True | |
4599
89bec74fd793
updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents:
4593
diff
changeset
|
442 current:__dir__,__members__,buffer,line,range,tabpage,window |
89bec74fd793
updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents:
4593
diff
changeset
|
443 buffer:__dir__,__members__,append,mark,name,number,options,range,valid,vars |
89bec74fd793
updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents:
4593
diff
changeset
|
444 window:__dir__,__members__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars |
89bec74fd793
updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents:
4593
diff
changeset
|
445 tabpage:__dir__,__members__,number,valid,vars,window,windows |
89bec74fd793
updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents:
4593
diff
changeset
|
446 range:__dir__,__members__,append,end,start |
4627
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
447 dictionary:__dir__,__members__,get,has_key,items,keys,locked,pop,popitem,scope,update,values |
4599
89bec74fd793
updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents:
4593
diff
changeset
|
448 list:__dir__,__members__,extend,locked |
4631
4157fef7b950
updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents:
4629
diff
changeset
|
449 function:__dir__,__members__,softspace |
4599
89bec74fd793
updated for version 7.3.1047
Bram Moolenaar <bram@vim.org>
parents:
4593
diff
changeset
|
450 output:__dir__,__members__,flush,softspace,write,writelines |
4627
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
451 {} |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
452 {'a': 1} |
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
453 {'a': 1} |
4629
e4e48d4ee040
updated for version 7.3.1062
Bram Moolenaar <bram@vim.org>
parents:
4627
diff
changeset
|
454 [] |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
455 ['a', 'b', 'c', '7'] |
4631
4157fef7b950
updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents:
4629
diff
changeset
|
456 function('tr') |
4619
90beab957ba9
updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents:
4613
diff
changeset
|
457 ' |
90beab957ba9
updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents:
4613
diff
changeset
|
458 abcdef |
90beab957ba9
updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents:
4613
diff
changeset
|
459 line : |
90beab957ba9
updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents:
4613
diff
changeset
|
460 abcdef |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
461 abcA |
4619
90beab957ba9
updated for version 7.3.1057
Bram Moolenaar <bram@vim.org>
parents:
4613
diff
changeset
|
462 line : |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
463 abcB' |
4627
18ba89e06fab
updated for version 7.3.1061
Bram Moolenaar <bram@vim.org>
parents:
4619
diff
changeset
|
464 ['a', 'dup_a'] |
4629
e4e48d4ee040
updated for version 7.3.1062
Bram Moolenaar <bram@vim.org>
parents:
4627
diff
changeset
|
465 ['a', 'a'] |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
466 ['a', 'b', 'c', 'C'] |
4631
4157fef7b950
updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents:
4629
diff
changeset
|
467 [2, 2] |
4157fef7b950
updated for version 7.3.1063
Bram Moolenaar <bram@vim.org>
parents:
4629
diff
changeset
|
468 [2, 2] |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
469 1 |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
470 1 |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
471 function('Put') |
4704
542af01979be
updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents:
4698
diff
changeset
|
472 testdir |
542af01979be
updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents:
4698
diff
changeset
|
473 test86.in |
542af01979be
updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents:
4698
diff
changeset
|
474 src |
542af01979be
updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents:
4698
diff
changeset
|
475 testdir/test86.in |
542af01979be
updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents:
4698
diff
changeset
|
476 testdir |
542af01979be
updated for version 7.3.1099
Bram Moolenaar <bram@vim.org>
parents:
4698
diff
changeset
|
477 test86.in |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
478 > Output |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
479 >> OutputSetattr |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
480 del sys.stdout.softspace:AttributeError:("can't delete OutputObject attributes",) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
481 >>> Testing NumberToLong using sys.stdout.softspace = %s |
4972
537bbfff0c5c
updated for version 7.3.1231
Bram Moolenaar <bram@vim.org>
parents:
4970
diff
changeset
|
482 sys.stdout.softspace = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
483 sys.stdout.softspace = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
484 sys.stdout.softspace = -1:ValueError:('number must be greater or equal to zero',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
485 <<< Finished |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
486 >>> Testing NumberToLong using sys.stderr.softspace = %s |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
487 sys.stderr.softspace = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
488 sys.stderr.softspace = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
489 sys.stderr.softspace = -1:ValueError:('number must be greater or equal to zero',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
490 <<< Finished |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
491 sys.stdout.attr = None:AttributeError:('invalid attribute: attr',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
492 >> OutputWrite |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
493 sys.stdout.write(None):TypeError:('coercing to Unicode: need string or buffer, NoneType found',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
494 >> OutputWriteLines |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
495 sys.stdout.writelines(None):TypeError:("'NoneType' object is not iterable",) |
4962
b34d719b13cd
updated for version 7.3.1226
Bram Moolenaar <bram@vim.org>
parents:
4853
diff
changeset
|
496 sys.stdout.writelines([1]):TypeError:('coercing to Unicode: need string or buffer, int found',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
497 >>> Testing *Iter* using sys.stdout.writelines(%s) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
498 sys.stdout.writelines(FailingIter()):NotImplementedError:('iter',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
499 sys.stdout.writelines(FailingIterNext()):NotImplementedError:('next',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
500 <<< Finished |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
501 > VimCommand |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
502 >>> Testing StringToChars using vim.command(%s) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
503 vim.command(1):TypeError:('expected str() or unicode() instance, but got int',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
504 vim.command(u"\0"):TypeError:('expected string without null bytes',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
505 vim.command("\0"):TypeError:('expected string without null bytes',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
506 <<< Finished |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
507 vim.command("", 2):TypeError:('command() takes exactly one argument (2 given)',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
508 > VimToPython |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
509 > VimEval |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
510 >>> Testing StringToChars using vim.eval(%s) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
511 vim.eval(1):TypeError:('expected str() or unicode() instance, but got int',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
512 vim.eval(u"\0"):TypeError:('expected string without null bytes',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
513 vim.eval("\0"):TypeError:('expected string without null bytes',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
514 <<< Finished |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
515 vim.eval("", FailingTrue()):TypeError:('function takes exactly 1 argument (2 given)',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
516 > VimEvalPy |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
517 >>> Testing StringToChars using vim.bindeval(%s) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
518 vim.bindeval(1):TypeError:('expected str() or unicode() instance, but got int',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
519 vim.bindeval(u"\0"):TypeError:('expected string without null bytes',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
520 vim.bindeval("\0"):TypeError:('expected string without null bytes',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
521 <<< Finished |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
522 vim.eval("", 2):TypeError:('function takes exactly 1 argument (2 given)',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
523 > VimStrwidth |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
524 >>> Testing StringToChars using vim.strwidth(%s) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
525 vim.strwidth(1):TypeError:('expected str() or unicode() instance, but got int',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
526 vim.strwidth(u"\0"):TypeError:('expected string without null bytes',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
527 vim.strwidth("\0"):TypeError:('expected string without null bytes',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
528 <<< Finished |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
529 > VimForeachRTP |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
530 vim.foreach_rtp(None):TypeError:("'NoneType' object is not callable",) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
531 vim.foreach_rtp(NoArgsCall()):TypeError:('__call__() takes exactly 1 argument (2 given)',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
532 vim.foreach_rtp(FailingCall()):NotImplementedError:('call',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
533 vim.foreach_rtp(int, 2):TypeError:('foreach_rtp() takes exactly one argument (2 given)',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
534 > import |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
535 import xxx_no_such_module_xxx:ImportError:('No module named xxx_no_such_module_xxx',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
536 import failing_import:ImportError:('No module named failing_import',) |
4984
5b2c8f3b3906
updated for version 7.3.1237
Bram Moolenaar <bram@vim.org>
parents:
4982
diff
changeset
|
537 import failing:NotImplementedError:() |
5610 | 538 > Options |
539 >> OptionsItem | |
540 vim.options["abcQ"]:KeyError:('abcQ',) | |
541 vim.options[""]:ValueError:('empty keys are not allowed',) | |
542 >>> Testing StringToChars using vim.options[%s] | |
543 vim.options[1]:TypeError:('expected str() or unicode() instance, but got int',) | |
544 vim.options[u"\0"]:TypeError:('expected string without null bytes',) | |
545 vim.options["\0"]:TypeError:('expected string without null bytes',) | |
546 <<< Finished | |
547 >> OptionsContains | |
548 >>> Testing StringToChars using %s in vim.options | |
549 1 in vim.options:TypeError:('expected str() or unicode() instance, but got int',) | |
550 u"\0" in vim.options:TypeError:('expected string without null bytes',) | |
551 "\0" in vim.options:TypeError:('expected string without null bytes',) | |
552 <<< Finished | |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
553 > Dictionary |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
554 >> DictionaryConstructor |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
555 vim.Dictionary("abcI"):ValueError:('expected sequence element of size 2, but got sequence of size 1',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
556 >> DictionarySetattr |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
557 del d.locked:AttributeError:('cannot delete vim.Dictionary attributes',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
558 d.locked = FailingTrue():NotImplementedError:('bool',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
559 vim.vvars.locked = False:TypeError:('cannot modify fixed dictionary',) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
560 d.scope = True:AttributeError:('cannot set attribute scope',) |
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
561 d.xxx = True:AttributeError:('cannot set attribute xxx',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
562 >> _DictionaryItem |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
563 d.get("a", 2, 3):TypeError:('function takes at most 2 arguments (3 given)',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
564 >>> Testing StringToChars using d.get(%s) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
565 d.get(1):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
566 d.get(u"\0"):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
567 d.get("\0"):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
568 <<< Finished |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
569 d.pop("a"):KeyError:('a',) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
570 dl.pop("a"):error:('dictionary is locked',) |
5426 | 571 >> DictionaryContains |
572 "" in d:ValueError:('empty keys are not allowed',) | |
573 0 in d:TypeError:('expected str() or unicode() instance, but got int',) | |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
574 >> DictionaryIterNext |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
575 for i in ned: ned["a"] = 1:RuntimeError:('hashtab changed during iteration',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
576 >> DictionaryAssItem |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
577 dl["b"] = 1:error:('dictionary is locked',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
578 >>> Testing StringToChars using d[%s] = 1 |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
579 d[1] = 1:TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
580 d[u"\0"] = 1:TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
581 d["\0"] = 1:TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
582 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
583 >>> Testing StringToChars using d["a"] = {%s : 1} |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
584 d["a"] = {1 : 1}:TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
585 d["a"] = {u"\0" : 1}:TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
586 d["a"] = {"\0" : 1}:TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
587 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
588 >>> Testing StringToChars using d["a"] = {"abcF" : {%s : 1}} |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
589 d["a"] = {"abcF" : {1 : 1}}:TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
590 d["a"] = {"abcF" : {u"\0" : 1}}:TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
591 d["a"] = {"abcF" : {"\0" : 1}}:TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
592 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
593 >>> Testing StringToChars using d["a"] = {"abcF" : Mapping({%s : 1})} |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
594 d["a"] = {"abcF" : Mapping({1 : 1})}:TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
595 d["a"] = {"abcF" : Mapping({u"\0" : 1})}:TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
596 d["a"] = {"abcF" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
597 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
598 >>> Testing *Iter* using d["a"] = {"abcF" : %s} |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
599 d["a"] = {"abcF" : FailingIter()}:TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
600 d["a"] = {"abcF" : FailingIterNext()}:NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
601 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
602 >>> Testing ConvertFromPyObject using d["a"] = {"abcF" : %s} |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
603 d["a"] = {"abcF" : None}:TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
604 d["a"] = {"abcF" : {"": 1}}:ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
605 d["a"] = {"abcF" : {u"": 1}}:ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
606 d["a"] = {"abcF" : FailingMapping()}:NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
607 d["a"] = {"abcF" : FailingMappingKey()}:NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
608 d["a"] = {"abcF" : FailingNumber()}:TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
609 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
610 >>> Testing StringToChars using d["a"] = Mapping({%s : 1}) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
611 d["a"] = Mapping({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
612 d["a"] = Mapping({u"\0" : 1}):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
613 d["a"] = Mapping({"\0" : 1}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
614 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
615 >>> Testing StringToChars using d["a"] = Mapping({"abcG" : {%s : 1}}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
616 d["a"] = Mapping({"abcG" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
617 d["a"] = Mapping({"abcG" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
618 d["a"] = Mapping({"abcG" : {"\0" : 1}}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
619 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
620 >>> Testing StringToChars using d["a"] = Mapping({"abcG" : Mapping({%s : 1})}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
621 d["a"] = Mapping({"abcG" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
622 d["a"] = Mapping({"abcG" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
623 d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
624 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
625 >>> Testing *Iter* using d["a"] = Mapping({"abcG" : %s}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
626 d["a"] = Mapping({"abcG" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
627 d["a"] = Mapping({"abcG" : FailingIterNext()}):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
628 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
629 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abcG" : %s}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
630 d["a"] = Mapping({"abcG" : None}):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
631 d["a"] = Mapping({"abcG" : {"": 1}}):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
632 d["a"] = Mapping({"abcG" : {u"": 1}}):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
633 d["a"] = Mapping({"abcG" : FailingMapping()}):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
634 d["a"] = Mapping({"abcG" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
635 d["a"] = Mapping({"abcG" : FailingNumber()}):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
636 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
637 >>> Testing *Iter* using d["a"] = %s |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
638 d["a"] = FailingIter():TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
639 d["a"] = FailingIterNext():NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
640 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
641 >>> Testing ConvertFromPyObject using d["a"] = %s |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
642 d["a"] = None:TypeError:('unable to convert NoneType to vim structure',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
643 d["a"] = {"": 1}:ValueError:('empty keys are not allowed',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
644 d["a"] = {u"": 1}:ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
645 d["a"] = FailingMapping():NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
646 d["a"] = FailingMappingKey():NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
647 d["a"] = FailingNumber():TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
648 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
649 >> DictionaryUpdate |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
650 >>> kwargs |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
651 >>> iter |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
652 d.update(FailingMapping()):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
653 d.update([FailingIterNext()]):NotImplementedError:('next',) |
5608 | 654 d.update([FailingIterNextN(1)]):NotImplementedError:('next N',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
655 >>> Testing *Iter* using d.update(%s) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
656 d.update(FailingIter()):NotImplementedError:('iter',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
657 d.update(FailingIterNext()):NotImplementedError:('next',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
658 <<< Finished |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
659 >>> Testing StringToChars using d.update({%s : 1}) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
660 d.update({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
661 d.update({u"\0" : 1}):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
662 d.update({"\0" : 1}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
663 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
664 >>> Testing StringToChars using d.update({"abcF" : {%s : 1}}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
665 d.update({"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
666 d.update({"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
667 d.update({"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
668 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
669 >>> Testing StringToChars using d.update({"abcF" : Mapping({%s : 1})}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
670 d.update({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
671 d.update({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
672 d.update({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
673 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
674 >>> Testing *Iter* using d.update({"abcF" : %s}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
675 d.update({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
676 d.update({"abcF" : FailingIterNext()}):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
677 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
678 >>> Testing ConvertFromPyObject using d.update({"abcF" : %s}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
679 d.update({"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
680 d.update({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
681 d.update({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
682 d.update({"abcF" : FailingMapping()}):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
683 d.update({"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
684 d.update({"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
685 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
686 >>> Testing StringToChars using d.update(Mapping({%s : 1})) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
687 d.update(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
688 d.update(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
689 d.update(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
690 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
691 >>> Testing StringToChars using d.update(Mapping({"abcG" : {%s : 1}})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
692 d.update(Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
693 d.update(Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
694 d.update(Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
695 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
696 >>> Testing StringToChars using d.update(Mapping({"abcG" : Mapping({%s : 1})})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
697 d.update(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
698 d.update(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
699 d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
700 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
701 >>> Testing *Iter* using d.update(Mapping({"abcG" : %s})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
702 d.update(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
703 d.update(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
704 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
705 >>> Testing ConvertFromPyObject using d.update(Mapping({"abcG" : %s})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
706 d.update(Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
707 d.update(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
708 d.update(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
709 d.update(Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
710 d.update(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
711 d.update(Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
712 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
713 >>> Testing *Iter* using d.update(%s) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
714 d.update(FailingIter()):NotImplementedError:('iter',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
715 d.update(FailingIterNext()):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
716 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
717 >>> Testing ConvertFromPyObject using d.update(%s) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
718 d.update(None):TypeError:("'NoneType' object is not iterable",) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
719 d.update({"": 1}):ValueError:('empty keys are not allowed',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
720 d.update({u"": 1}):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
721 d.update(FailingMapping()):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
722 d.update(FailingMappingKey()):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
723 d.update(FailingNumber()):TypeError:("'FailingNumber' object is not iterable",) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
724 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
725 >>> Testing StringToChars using d.update(((%s, 0),)) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
726 d.update(((1, 0),)):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
727 d.update(((u"\0", 0),)):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
728 d.update((("\0", 0),)):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
729 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
730 >>> Testing StringToChars using d.update((("a", {%s : 1}),)) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
731 d.update((("a", {1 : 1}),)):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
732 d.update((("a", {u"\0" : 1}),)):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
733 d.update((("a", {"\0" : 1}),)):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
734 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
735 >>> Testing StringToChars using d.update((("a", {"abcF" : {%s : 1}}),)) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
736 d.update((("a", {"abcF" : {1 : 1}}),)):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
737 d.update((("a", {"abcF" : {u"\0" : 1}}),)):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
738 d.update((("a", {"abcF" : {"\0" : 1}}),)):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
739 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
740 >>> Testing StringToChars using d.update((("a", {"abcF" : Mapping({%s : 1})}),)) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
741 d.update((("a", {"abcF" : Mapping({1 : 1})}),)):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
742 d.update((("a", {"abcF" : Mapping({u"\0" : 1})}),)):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
743 d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
744 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
745 >>> Testing *Iter* using d.update((("a", {"abcF" : %s}),)) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
746 d.update((("a", {"abcF" : FailingIter()}),)):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
747 d.update((("a", {"abcF" : FailingIterNext()}),)):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
748 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
749 >>> Testing ConvertFromPyObject using d.update((("a", {"abcF" : %s}),)) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
750 d.update((("a", {"abcF" : None}),)):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
751 d.update((("a", {"abcF" : {"": 1}}),)):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
752 d.update((("a", {"abcF" : {u"": 1}}),)):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
753 d.update((("a", {"abcF" : FailingMapping()}),)):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
754 d.update((("a", {"abcF" : FailingMappingKey()}),)):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
755 d.update((("a", {"abcF" : FailingNumber()}),)):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
756 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
757 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),)) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
758 d.update((("a", Mapping({1 : 1})),)):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
759 d.update((("a", Mapping({u"\0" : 1})),)):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
760 d.update((("a", Mapping({"\0" : 1})),)):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
761 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
762 >>> Testing StringToChars using d.update((("a", Mapping({"abcG" : {%s : 1}})),)) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
763 d.update((("a", Mapping({"abcG" : {1 : 1}})),)):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
764 d.update((("a", Mapping({"abcG" : {u"\0" : 1}})),)):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
765 d.update((("a", Mapping({"abcG" : {"\0" : 1}})),)):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
766 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
767 >>> Testing StringToChars using d.update((("a", Mapping({"abcG" : Mapping({%s : 1})})),)) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
768 d.update((("a", Mapping({"abcG" : Mapping({1 : 1})})),)):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
769 d.update((("a", Mapping({"abcG" : Mapping({u"\0" : 1})})),)):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
770 d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
771 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
772 >>> Testing *Iter* using d.update((("a", Mapping({"abcG" : %s})),)) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
773 d.update((("a", Mapping({"abcG" : FailingIter()})),)):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
774 d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
775 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
776 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abcG" : %s})),)) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
777 d.update((("a", Mapping({"abcG" : None})),)):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
778 d.update((("a", Mapping({"abcG" : {"": 1}})),)):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
779 d.update((("a", Mapping({"abcG" : {u"": 1}})),)):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
780 d.update((("a", Mapping({"abcG" : FailingMapping()})),)):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
781 d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
782 d.update((("a", Mapping({"abcG" : FailingNumber()})),)):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
783 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
784 >>> Testing *Iter* using d.update((("a", %s),)) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
785 d.update((("a", FailingIter()),)):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
786 d.update((("a", FailingIterNext()),)):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
787 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
788 >>> Testing ConvertFromPyObject using d.update((("a", %s),)) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
789 d.update((("a", None),)):TypeError:('unable to convert NoneType to vim structure',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
790 d.update((("a", {"": 1}),)):ValueError:('empty keys are not allowed',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
791 d.update((("a", {u"": 1}),)):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
792 d.update((("a", FailingMapping()),)):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
793 d.update((("a", FailingMappingKey()),)):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
794 d.update((("a", FailingNumber()),)):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
795 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
796 >> DictionaryPopItem |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
797 d.popitem(1, 2):TypeError:('popitem() takes no arguments (2 given)',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
798 >> DictionaryHasKey |
4964
5cee875f3096
updated for version 7.3.1227
Bram Moolenaar <bram@vim.org>
parents:
4962
diff
changeset
|
799 d.has_key():TypeError:('has_key() takes exactly one argument (0 given)',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
800 > List |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
801 >> ListConstructor |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
802 vim.List(1, 2):TypeError:('function takes at most 1 argument (2 given)',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
803 vim.List(a=1):TypeError:('list constructor does not accept keyword arguments',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
804 >>> Testing *Iter* using vim.List(%s) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
805 vim.List(FailingIter()):NotImplementedError:('iter',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
806 vim.List(FailingIterNext()):NotImplementedError:('next',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
807 <<< Finished |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
808 >>> Testing StringToChars using vim.List([{%s : 1}]) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
809 vim.List([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
810 vim.List([{u"\0" : 1}]):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
811 vim.List([{"\0" : 1}]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
812 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
813 >>> Testing StringToChars using vim.List([{"abcF" : {%s : 1}}]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
814 vim.List([{"abcF" : {1 : 1}}]):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
815 vim.List([{"abcF" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
816 vim.List([{"abcF" : {"\0" : 1}}]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
817 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
818 >>> Testing StringToChars using vim.List([{"abcF" : Mapping({%s : 1})}]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
819 vim.List([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
820 vim.List([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
821 vim.List([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
822 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
823 >>> Testing *Iter* using vim.List([{"abcF" : %s}]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
824 vim.List([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
825 vim.List([{"abcF" : FailingIterNext()}]):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
826 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
827 >>> Testing ConvertFromPyObject using vim.List([{"abcF" : %s}]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
828 vim.List([{"abcF" : None}]):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
829 vim.List([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
830 vim.List([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
831 vim.List([{"abcF" : FailingMapping()}]):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
832 vim.List([{"abcF" : FailingMappingKey()}]):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
833 vim.List([{"abcF" : FailingNumber()}]):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
834 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
835 >>> Testing StringToChars using vim.List([Mapping({%s : 1})]) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
836 vim.List([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
837 vim.List([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
838 vim.List([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
839 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
840 >>> Testing StringToChars using vim.List([Mapping({"abcG" : {%s : 1}})]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
841 vim.List([Mapping({"abcG" : {1 : 1}})]):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
842 vim.List([Mapping({"abcG" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
843 vim.List([Mapping({"abcG" : {"\0" : 1}})]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
844 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
845 >>> Testing StringToChars using vim.List([Mapping({"abcG" : Mapping({%s : 1})})]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
846 vim.List([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
847 vim.List([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
848 vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
849 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
850 >>> Testing *Iter* using vim.List([Mapping({"abcG" : %s})]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
851 vim.List([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
852 vim.List([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
853 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
854 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abcG" : %s})]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
855 vim.List([Mapping({"abcG" : None})]):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
856 vim.List([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
857 vim.List([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
858 vim.List([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
859 vim.List([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
860 vim.List([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
861 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
862 >>> Testing *Iter* using vim.List([%s]) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
863 vim.List([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
864 vim.List([FailingIterNext()]):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
865 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
866 >>> Testing ConvertFromPyObject using vim.List([%s]) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
867 vim.List([None]):TypeError:('unable to convert NoneType to vim structure',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
868 vim.List([{"": 1}]):ValueError:('empty keys are not allowed',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
869 vim.List([{u"": 1}]):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
870 vim.List([FailingMapping()]):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
871 vim.List([FailingMappingKey()]):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
872 vim.List([FailingNumber()]):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
873 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
874 >> ListItem |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
875 l[1000]:IndexError:('list index out of range',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
876 >> ListAssItem |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
877 ll[1] = 2:error:('list is locked',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
878 l[1000] = 3:IndexError:('list index out of range',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
879 >> ListAssSlice |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
880 ll[1:100] = "abcJ":error:('list is locked',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
881 >>> Testing *Iter* using l[:] = %s |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
882 l[:] = FailingIter():NotImplementedError:('iter',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
883 l[:] = FailingIterNext():NotImplementedError:('next',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
884 <<< Finished |
5700 | 885 nel[1:10:2] = "abcK":ValueError:('attempt to assign sequence of size greater than 2 to extended slice',) |
5608 | 886 ('a', 'b', 'c', 'O') |
887 nel[1:10:2] = "a":ValueError:('attempt to assign sequence of size 1 to extended slice of size 2',) | |
888 ('a', 'b', 'c', 'O') | |
5700 | 889 nel[1:1:-1] = "a":ValueError:('attempt to assign sequence of size greater than 0 to extended slice',) |
5608 | 890 ('a', 'b', 'c', 'O') |
891 nel[:] = FailingIterNextN(2):NotImplementedError:('next N',) | |
892 ('a', 'b', 'c', 'O') | |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
893 >>> Testing StringToChars using l[:] = [{%s : 1}] |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
894 l[:] = [{1 : 1}]:TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
895 l[:] = [{u"\0" : 1}]:TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
896 l[:] = [{"\0" : 1}]:TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
897 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
898 >>> Testing StringToChars using l[:] = [{"abcF" : {%s : 1}}] |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
899 l[:] = [{"abcF" : {1 : 1}}]:TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
900 l[:] = [{"abcF" : {u"\0" : 1}}]:TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
901 l[:] = [{"abcF" : {"\0" : 1}}]:TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
902 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
903 >>> Testing StringToChars using l[:] = [{"abcF" : Mapping({%s : 1})}] |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
904 l[:] = [{"abcF" : Mapping({1 : 1})}]:TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
905 l[:] = [{"abcF" : Mapping({u"\0" : 1})}]:TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
906 l[:] = [{"abcF" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
907 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
908 >>> Testing *Iter* using l[:] = [{"abcF" : %s}] |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
909 l[:] = [{"abcF" : FailingIter()}]:TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
910 l[:] = [{"abcF" : FailingIterNext()}]:NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
911 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
912 >>> Testing ConvertFromPyObject using l[:] = [{"abcF" : %s}] |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
913 l[:] = [{"abcF" : None}]:TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
914 l[:] = [{"abcF" : {"": 1}}]:ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
915 l[:] = [{"abcF" : {u"": 1}}]:ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
916 l[:] = [{"abcF" : FailingMapping()}]:NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
917 l[:] = [{"abcF" : FailingMappingKey()}]:NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
918 l[:] = [{"abcF" : FailingNumber()}]:TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
919 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
920 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})] |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
921 l[:] = [Mapping({1 : 1})]:TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
922 l[:] = [Mapping({u"\0" : 1})]:TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
923 l[:] = [Mapping({"\0" : 1})]:TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
924 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
925 >>> Testing StringToChars using l[:] = [Mapping({"abcG" : {%s : 1}})] |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
926 l[:] = [Mapping({"abcG" : {1 : 1}})]:TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
927 l[:] = [Mapping({"abcG" : {u"\0" : 1}})]:TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
928 l[:] = [Mapping({"abcG" : {"\0" : 1}})]:TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
929 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
930 >>> Testing StringToChars using l[:] = [Mapping({"abcG" : Mapping({%s : 1})})] |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
931 l[:] = [Mapping({"abcG" : Mapping({1 : 1})})]:TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
932 l[:] = [Mapping({"abcG" : Mapping({u"\0" : 1})})]:TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
933 l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
934 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
935 >>> Testing *Iter* using l[:] = [Mapping({"abcG" : %s})] |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
936 l[:] = [Mapping({"abcG" : FailingIter()})]:TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
937 l[:] = [Mapping({"abcG" : FailingIterNext()})]:NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
938 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
939 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abcG" : %s})] |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
940 l[:] = [Mapping({"abcG" : None})]:TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
941 l[:] = [Mapping({"abcG" : {"": 1}})]:ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
942 l[:] = [Mapping({"abcG" : {u"": 1}})]:ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
943 l[:] = [Mapping({"abcG" : FailingMapping()})]:NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
944 l[:] = [Mapping({"abcG" : FailingMappingKey()})]:NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
945 l[:] = [Mapping({"abcG" : FailingNumber()})]:TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
946 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
947 >>> Testing *Iter* using l[:] = [%s] |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
948 l[:] = [FailingIter()]:TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
949 l[:] = [FailingIterNext()]:NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
950 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
951 >>> Testing ConvertFromPyObject using l[:] = [%s] |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
952 l[:] = [None]:TypeError:('unable to convert NoneType to vim structure',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
953 l[:] = [{"": 1}]:ValueError:('empty keys are not allowed',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
954 l[:] = [{u"": 1}]:ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
955 l[:] = [FailingMapping()]:NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
956 l[:] = [FailingMappingKey()]:NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
957 l[:] = [FailingNumber()]:TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
958 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
959 >> ListConcatInPlace |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
960 >>> Testing *Iter* using l.extend(%s) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
961 l.extend(FailingIter()):NotImplementedError:('iter',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
962 l.extend(FailingIterNext()):NotImplementedError:('next',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
963 <<< Finished |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
964 >>> Testing StringToChars using l.extend([{%s : 1}]) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
965 l.extend([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
966 l.extend([{u"\0" : 1}]):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
967 l.extend([{"\0" : 1}]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
968 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
969 >>> Testing StringToChars using l.extend([{"abcF" : {%s : 1}}]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
970 l.extend([{"abcF" : {1 : 1}}]):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
971 l.extend([{"abcF" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
972 l.extend([{"abcF" : {"\0" : 1}}]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
973 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
974 >>> Testing StringToChars using l.extend([{"abcF" : Mapping({%s : 1})}]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
975 l.extend([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
976 l.extend([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
977 l.extend([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
978 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
979 >>> Testing *Iter* using l.extend([{"abcF" : %s}]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
980 l.extend([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
981 l.extend([{"abcF" : FailingIterNext()}]):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
982 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
983 >>> Testing ConvertFromPyObject using l.extend([{"abcF" : %s}]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
984 l.extend([{"abcF" : None}]):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
985 l.extend([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
986 l.extend([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
987 l.extend([{"abcF" : FailingMapping()}]):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
988 l.extend([{"abcF" : FailingMappingKey()}]):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
989 l.extend([{"abcF" : FailingNumber()}]):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
990 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
991 >>> Testing StringToChars using l.extend([Mapping({%s : 1})]) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
992 l.extend([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
993 l.extend([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
994 l.extend([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
995 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
996 >>> Testing StringToChars using l.extend([Mapping({"abcG" : {%s : 1}})]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
997 l.extend([Mapping({"abcG" : {1 : 1}})]):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
998 l.extend([Mapping({"abcG" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
999 l.extend([Mapping({"abcG" : {"\0" : 1}})]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1000 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1001 >>> Testing StringToChars using l.extend([Mapping({"abcG" : Mapping({%s : 1})})]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1002 l.extend([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1003 l.extend([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1004 l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1005 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1006 >>> Testing *Iter* using l.extend([Mapping({"abcG" : %s})]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1007 l.extend([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1008 l.extend([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1009 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1010 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abcG" : %s})]) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1011 l.extend([Mapping({"abcG" : None})]):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1012 l.extend([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1013 l.extend([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1014 l.extend([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1015 l.extend([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1016 l.extend([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1017 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1018 >>> Testing *Iter* using l.extend([%s]) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1019 l.extend([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1020 l.extend([FailingIterNext()]):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1021 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1022 >>> Testing ConvertFromPyObject using l.extend([%s]) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1023 l.extend([None]):TypeError:('unable to convert NoneType to vim structure',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1024 l.extend([{"": 1}]):ValueError:('empty keys are not allowed',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1025 l.extend([{u"": 1}]):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1026 l.extend([FailingMapping()]):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1027 l.extend([FailingMappingKey()]):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1028 l.extend([FailingNumber()]):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1029 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1030 >> ListSetattr |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1031 del l.locked:AttributeError:('cannot delete vim.List attributes',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1032 l.locked = FailingTrue():NotImplementedError:('bool',) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1033 l.xxx = True:AttributeError:('cannot set attribute xxx',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1034 > Function |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1035 >> FunctionConstructor |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1036 vim.Function("123"):ValueError:('unnamed function 123 does not exist',) |
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1037 vim.Function("xxx_non_existent_function_xxx"):ValueError:('function xxx_non_existent_function_xxx does not exist',) |
4641
59e6c2bd68e3
updated for version 7.3.1068
Bram Moolenaar <bram@vim.org>
parents:
4637
diff
changeset
|
1038 vim.Function("xxx#non#existent#function#xxx"):NOT FAILED |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1039 >> FunctionCall |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1040 >>> Testing StringToChars using f({%s : 1}) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1041 f({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1042 f({u"\0" : 1}):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1043 f({"\0" : 1}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1044 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1045 >>> Testing StringToChars using f({"abcF" : {%s : 1}}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1046 f({"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1047 f({"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1048 f({"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1049 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1050 >>> Testing StringToChars using f({"abcF" : Mapping({%s : 1})}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1051 f({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1052 f({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1053 f({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1054 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1055 >>> Testing *Iter* using f({"abcF" : %s}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1056 f({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1057 f({"abcF" : FailingIterNext()}):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1058 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1059 >>> Testing ConvertFromPyObject using f({"abcF" : %s}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1060 f({"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1061 f({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1062 f({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1063 f({"abcF" : FailingMapping()}):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1064 f({"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1065 f({"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1066 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1067 >>> Testing StringToChars using f(Mapping({%s : 1})) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1068 f(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1069 f(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1070 f(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1071 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1072 >>> Testing StringToChars using f(Mapping({"abcG" : {%s : 1}})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1073 f(Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1074 f(Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1075 f(Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1076 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1077 >>> Testing StringToChars using f(Mapping({"abcG" : Mapping({%s : 1})})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1078 f(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1079 f(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1080 f(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1081 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1082 >>> Testing *Iter* using f(Mapping({"abcG" : %s})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1083 f(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1084 f(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1085 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1086 >>> Testing ConvertFromPyObject using f(Mapping({"abcG" : %s})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1087 f(Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1088 f(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1089 f(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1090 f(Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1091 f(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1092 f(Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1093 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1094 >>> Testing *Iter* using f(%s) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1095 f(FailingIter()):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1096 f(FailingIterNext()):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1097 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1098 >>> Testing ConvertFromPyObject using f(%s) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1099 f(None):TypeError:('unable to convert NoneType to vim structure',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1100 f({"": 1}):ValueError:('empty keys are not allowed',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1101 f({u"": 1}):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1102 f(FailingMapping()):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1103 f(FailingMappingKey()):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1104 f(FailingNumber()):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1105 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1106 >>> Testing StringToChars using fd(self={%s : 1}) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1107 fd(self={1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1108 fd(self={u"\0" : 1}):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1109 fd(self={"\0" : 1}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1110 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1111 >>> Testing StringToChars using fd(self={"abcF" : {%s : 1}}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1112 fd(self={"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1113 fd(self={"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1114 fd(self={"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1115 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1116 >>> Testing StringToChars using fd(self={"abcF" : Mapping({%s : 1})}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1117 fd(self={"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1118 fd(self={"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1119 fd(self={"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1120 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1121 >>> Testing *Iter* using fd(self={"abcF" : %s}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1122 fd(self={"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1123 fd(self={"abcF" : FailingIterNext()}):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1124 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1125 >>> Testing ConvertFromPyObject using fd(self={"abcF" : %s}) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1126 fd(self={"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1127 fd(self={"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1128 fd(self={"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1129 fd(self={"abcF" : FailingMapping()}):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1130 fd(self={"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1131 fd(self={"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1132 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1133 >>> Testing StringToChars using fd(self=Mapping({%s : 1})) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1134 fd(self=Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1135 fd(self=Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1136 fd(self=Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1137 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1138 >>> Testing StringToChars using fd(self=Mapping({"abcG" : {%s : 1}})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1139 fd(self=Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1140 fd(self=Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1141 fd(self=Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1142 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1143 >>> Testing StringToChars using fd(self=Mapping({"abcG" : Mapping({%s : 1})})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1144 fd(self=Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1145 fd(self=Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1146 fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1147 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1148 >>> Testing *Iter* using fd(self=Mapping({"abcG" : %s})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1149 fd(self=Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1150 fd(self=Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1151 <<< Finished |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1152 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abcG" : %s})) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1153 fd(self=Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1154 fd(self=Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',) |
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1155 fd(self=Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1156 fd(self=Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1157 fd(self=Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1158 fd(self=Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1159 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1160 >>> Testing *Iter* using fd(self=%s) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1161 fd(self=FailingIter()):TypeError:('unable to convert FailingIter to vim dictionary',) |
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1162 fd(self=FailingIterNext()):TypeError:('unable to convert FailingIterNext to vim dictionary',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1163 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1164 >>> Testing ConvertFromPyObject using fd(self=%s) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1165 fd(self=None):TypeError:('unable to convert NoneType to vim dictionary',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1166 fd(self={"": 1}):ValueError:('empty keys are not allowed',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1167 fd(self={u"": 1}):ValueError:('empty keys are not allowed',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1168 fd(self=FailingMapping()):NotImplementedError:('keys',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1169 fd(self=FailingMappingKey()):NotImplementedError:('getitem:mappingkey',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1170 fd(self=FailingNumber()):TypeError:('unable to convert FailingNumber to vim dictionary',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1171 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1172 >>> Testing ConvertFromPyMapping using fd(self=%s) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1173 fd(self=[]):TypeError:('unable to convert list to vim dictionary',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1174 <<< Finished |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1175 > TabPage |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1176 >> TabPageAttr |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1177 vim.current.tabpage.xxx:AttributeError:('xxx',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1178 > TabList |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1179 >> TabListItem |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1180 vim.tabpages[1000]:IndexError:('no such tab page',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1181 > Window |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1182 >> WindowAttr |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1183 vim.current.window.xxx:AttributeError:('xxx',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1184 >> WindowSetattr |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1185 vim.current.window.buffer = 0:TypeError:('readonly attribute: buffer',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1186 vim.current.window.cursor = (100000000, 100000000):error:('cursor position outside buffer',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1187 vim.current.window.cursor = True:TypeError:('argument must be 2-item sequence, not bool',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1188 >>> Testing NumberToLong using vim.current.window.height = %s |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1189 vim.current.window.height = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1190 vim.current.window.height = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1191 vim.current.window.height = -1:ValueError:('number must be greater or equal to zero',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1192 <<< Finished |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1193 >>> Testing NumberToLong using vim.current.window.width = %s |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1194 vim.current.window.width = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1195 vim.current.window.width = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1196 vim.current.window.width = -1:ValueError:('number must be greater or equal to zero',) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1197 <<< Finished |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1198 vim.current.window.xxxxxx = True:AttributeError:('xxxxxx',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1199 > WinList |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1200 >> WinListItem |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1201 vim.windows[1000]:IndexError:('no such window',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1202 > Buffer |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1203 >> StringToLine (indirect) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1204 vim.current.buffer[0] = u"\na":error:('string cannot contain newlines',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1205 vim.current.buffer[0] = "\na":error:('string cannot contain newlines',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1206 >> SetBufferLine (indirect) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1207 vim.current.buffer[0] = True:TypeError:('bad argument type for built-in operation',) |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1208 >> SetBufferLineList (indirect) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1209 vim.current.buffer[:] = True:TypeError:('bad argument type for built-in operation',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1210 vim.current.buffer[:] = ["\na", "bc"]:error:('string cannot contain newlines',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1211 >> InsertBufferLines (indirect) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1212 vim.current.buffer.append(None):TypeError:('bad argument type for built-in operation',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1213 vim.current.buffer.append(["\na", "bc"]):error:('string cannot contain newlines',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1214 vim.current.buffer.append("\nbc"):error:('string cannot contain newlines',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1215 >> RBItem |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1216 vim.current.buffer[100000000]:IndexError:('line number out of range',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1217 >> RBAsItem |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1218 vim.current.buffer[100000000] = "":IndexError:('line number out of range',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1219 >> BufferAttr |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1220 vim.current.buffer.xxx:AttributeError:('xxx',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1221 >> BufferSetattr |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1222 vim.current.buffer.name = True:TypeError:('expected str() or unicode() instance, but got bool',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1223 vim.current.buffer.xxx = True:AttributeError:('xxx',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1224 >> BufferMark |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1225 vim.current.buffer.mark(0):TypeError:('expected str() or unicode() instance, but got int',) |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1226 vim.current.buffer.mark("abcM"):ValueError:('mark name must be a single character',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1227 vim.current.buffer.mark("!"):error:('invalid mark name',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1228 >> BufferRange |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1229 vim.current.buffer.range(1, 2, 3):TypeError:('function takes exactly 2 arguments (3 given)',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1230 > BufMap |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1231 >> BufMapItem |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1232 vim.buffers[100000000]:KeyError:(100000000,) |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1233 >>> Testing NumberToLong using vim.buffers[%s] |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1234 vim.buffers[[]]:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) |
4972
537bbfff0c5c
updated for version 7.3.1231
Bram Moolenaar <bram@vim.org>
parents:
4970
diff
changeset
|
1235 vim.buffers[None]:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) |
5700 | 1236 vim.buffers[-1]:ValueError:('number must be greater than zero',) |
1237 vim.buffers[0]:ValueError:('number must be greater than zero',) | |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1238 <<< Finished |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1239 > Current |
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1240 >> CurrentGetattr |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1241 vim.current.xxx:AttributeError:('xxx',) |
4637
4c46e1487c63
updated for version 7.3.1066
Bram Moolenaar <bram@vim.org>
parents:
4631
diff
changeset
|
1242 >> CurrentSetattr |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1243 vim.current.line = True:TypeError:('bad argument type for built-in operation',) |
4970
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1244 vim.current.buffer = True:TypeError:('expected vim.Buffer object, but got bool',) |
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1245 vim.current.window = True:TypeError:('expected vim.Window object, but got bool',) |
f5c822e5a0eb
updated for version 7.3.1230
Bram Moolenaar <bram@vim.org>
parents:
4964
diff
changeset
|
1246 vim.current.tabpage = True:TypeError:('expected vim.TabPage object, but got bool',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1247 vim.current.xxx = True:AttributeError:('xxx',) |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1248 ['/testdir'] |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1249 '/testdir' |
4839
d59ff2114733
updated for version 7.3.1166
Bram Moolenaar <bram@vim.org>
parents:
4706
diff
changeset
|
1250 2,xx |
4851
96e154e825a7
updated for version 7.3.1172
Bram Moolenaar <bram@vim.org>
parents:
4839
diff
changeset
|
1251 before |
96e154e825a7
updated for version 7.3.1172
Bram Moolenaar <bram@vim.org>
parents:
4839
diff
changeset
|
1252 after |
4982
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1253 pythonx/topmodule/__init__.py |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1254 pythonx/topmodule/submodule/__init__.py |
39980afcf54a
updated for version 7.3.1236
Bram Moolenaar <bram@vim.org>
parents:
4976
diff
changeset
|
1255 pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py |
4976
4ed713442c51
updated for version 7.3.1233
Bram Moolenaar <bram@vim.org>
parents:
4972
diff
changeset
|
1256 vim.command("throw 'abcN'"):error:('abcN',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1257 Exe("throw 'def'"):error:('def',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1258 vim.eval("Exe('throw ''ghi''')"):error:('ghi',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1259 vim.eval("Exe('echoerr ''jkl''')"):error:('Vim(echoerr):jkl',) |
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1260 vim.eval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',) |
5517 | 1261 vim.eval("xxx_unknown_function_xxx()"):error:('Vim:E117: Unknown function: xxx_unknown_function_xxx',) |
4853
b584d361e746
updated for version 7.3.1173
Bram Moolenaar <bram@vim.org>
parents:
4851
diff
changeset
|
1262 vim.bindeval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',) |
5469 | 1263 Caught KeyboardInterrupt |
1264 Running :put | |
1265 No exception | |
1266 |