Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 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}]] |
Bram Moolenaar | 355fd9b | 2013-05-30 13:14:13 +0200 | [diff] [blame] | 7 | 1 |
| 8 | ['-1', '0', '1', 'b', 'f'] |
| 9 | ['asd', -1L, <vim.Function '1'>, <vim.dictionary object at >, <vim.list object at >] |
| 10 | [('-1', <vim.dictionary object at >), ('0', -1L), ('1', 'asd'), ('b', <vim.list object at >), ('f', <vim.Function '1'>)] |
Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 11 | '-1' : {'a': 1} |
Bram Moolenaar | a9922d6 | 2013-05-30 13:01:18 +0200 | [diff] [blame] | 12 | '0' : -1 |
Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 13 | '1' : 'asd' |
| 14 | 'b' : [1, 2, function('strlen')] |
Bram Moolenaar | 355fd9b | 2013-05-30 13:14:13 +0200 | [diff] [blame] | 15 | 'f' : function('1') |
Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 16 | [0, function('strlen')] |
| 17 | [3] |
Bram Moolenaar | a9922d6 | 2013-05-30 13:01:18 +0200 | [diff] [blame] | 18 | [1, 2, function('strlen')] |
| 19 | [1, 2, function('strlen')] |
| 20 | 1 |
| 21 | 'asd' |
| 22 | 2 |
| 23 | True |
| 24 | False |
| 25 | True |
| 26 | False |
| 27 | ['0'] |
| 28 | {'0': -1} |
Bram Moolenaar | de71b56 | 2013-06-02 17:41:54 +0200 | [diff] [blame] | 29 | ('0', -1L) |
Bram Moolenaar | a9922d6 | 2013-05-30 13:01:18 +0200 | [diff] [blame] | 30 | None |
| 31 | [] |
Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 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] |
Bram Moolenaar | 063a46b | 2014-01-14 16:36:51 +0100 | [diff] [blame] | 44 | [1, 3] |
| 45 | [0, 2] |
| 46 | [0, 1, 2, 3] |
Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 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'] |
Bram Moolenaar | 063a46b | 2014-01-14 16:36:51 +0100 | [diff] [blame] | 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] |
Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 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'] |
Bram Moolenaar | 9fee7d4 | 2013-11-28 17:04:43 +0100 | [diff] [blame] | 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',) |
Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 66 | [0.0, 0.0] |
Bram Moolenaar | af6abb9 | 2013-04-24 13:04:26 +0200 | [diff] [blame] | 67 | KeyError |
Bram Moolenaar | c11073c | 2012-09-05 19:17:42 +0200 | [diff] [blame] | 68 | TypeError |
| 69 | TypeError |
| 70 | ValueError |
| 71 | TypeError |
| 72 | TypeError |
Bram Moolenaar | a9922d6 | 2013-05-30 13:01:18 +0200 | [diff] [blame] | 73 | KeyError |
| 74 | KeyError |
Bram Moolenaar | 66b7985 | 2012-09-21 14:00:35 +0200 | [diff] [blame] | 75 | d : locked:0;scope:0 |
| 76 | dl : locked:1;scope:0 |
| 77 | v: : locked:2;scope:1 |
| 78 | g: : locked:0;scope:2 |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 79 | d:{'abc2': 1} |
Bram Moolenaar | 66b7985 | 2012-09-21 14:00:35 +0200 | [diff] [blame] | 80 | dl:{'def': 1} |
| 81 | l : locked:0 |
| 82 | ll : locked:1 |
| 83 | l:[0] |
| 84 | ll:[1] |
Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 85 | [0, 1, 2] |
| 86 | ['a', 'b'] |
| 87 | ['c', 1] |
| 88 | ['d', ['e']] |
Bram Moolenaar | db91395 | 2012-06-29 12:54:53 +0200 | [diff] [blame] | 89 | 0.0 |
Bram Moolenaar | c11073c | 2012-09-05 19:17:42 +0200 | [diff] [blame] | 90 | "\0": Vim(let):E859: |
| 91 | {"\0": 1}: Vim(let):E859: |
Bram Moolenaar | 995a8cd | 2013-02-20 16:54:27 +0100 | [diff] [blame] | 92 | undefined_name: Vim(let):Trace |
Bram Moolenaar | c11073c | 2012-09-05 19:17:42 +0200 | [diff] [blame] | 93 | vim: Vim(let):E859: |
Bram Moolenaar | 76d711c | 2013-02-13 14:17:08 +0100 | [diff] [blame] | 94 | [1] |
| 95 | [1, 10, 11, 10, 11, 10, 11, 10, 11, 10, 11, 10, 1] |
Bram Moolenaar | 24b11fb | 2013-04-05 19:32:36 +0200 | [diff] [blame] | 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] |
Bram Moolenaar | 063a46b | 2014-01-14 16:36:51 +0100 | [diff] [blame] | 107 | [4, 3] |
| 108 | [0, 2, 4] |
| 109 | [] |
Bram Moolenaar | 230bb3f | 2013-04-24 14:07:45 +0200 | [diff] [blame] | 110 | Abc |
| 111 | bac |
| 112 | def |
| 113 | bar |
Bram Moolenaar | a472001 | 2013-05-15 16:27:37 +0200 | [diff] [blame] | 114 | jkl |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 115 | wopts iters equal: 1 |
| 116 | bopts iters equal: 1 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 117 | >>> paste |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 118 | g/w/b:1/0/0 |
| 119 | g/w/b (in):1/0/0 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 120 | p/gopts1: False |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 140 | g/w/b:1/0/0 |
| 141 | g/w/b (in):1/0/0 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 142 | p/gopts1: 12 |
Bram Moolenaar | 8661b17 | 2013-05-15 15:44:28 +0200 | [diff] [blame] | 143 | inv: 'a'! TypeError |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 163 | g/w/b:1/0/0 |
| 164 | g/w/b (in):1/0/0 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 165 | p/gopts1: '' |
Bram Moolenaar | 8661b17 | 2013-05-15 15:44:28 +0200 | [diff] [blame] | 166 | inv: 2! TypeError |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 186 | g/w/b:0/1/0 |
| 187 | g/w/b (in):0/1/0 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 206 | g/w/b:0/1/0 |
| 207 | g/w/b (in):0/1/0 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 208 | p/gopts1! KeyError |
| 209 | inv: -100! KeyError |
| 210 | gopts1! KeyError |
| 211 | p/wopts1: 8 |
Bram Moolenaar | c96ebe7 | 2013-05-21 22:38:18 +0200 | [diff] [blame] | 212 | inv: -100! error |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 227 | g/w/b:0/1/0 |
| 228 | g/w/b (in):0/1/0 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 229 | p/gopts1! KeyError |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 230 | inv: 'abc4'! KeyError |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 231 | gopts1! KeyError |
| 232 | p/wopts1: '' |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 233 | inv: 'abc4'! error |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 234 | p/bopts1! KeyError |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 235 | inv: 'abc4'! KeyError |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 248 | g/w/b:1/1/0 |
| 249 | g/w/b (in):1/1/0 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 250 | p/gopts1: '' |
Bram Moolenaar | 8661b17 | 2013-05-15 15:44:28 +0200 | [diff] [blame] | 251 | inv: 0! TypeError |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 252 | p/wopts1: None |
Bram Moolenaar | 8661b17 | 2013-05-15 15:44:28 +0200 | [diff] [blame] | 253 | inv: 0! TypeError |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 267 | g/w/b:0/0/1 |
| 268 | g/w/b (in):0/0/1 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 278 | G: 0 |
Bram Moolenaar | dfa38d4 | 2013-05-15 13:38:47 +0200 | [diff] [blame] | 279 | W: 1:0 2:1 3:0 4:1 |
| 280 | B: 1:0 2:1 3:0 4:1 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 281 | del wopts3! KeyError |
| 282 | del bopts3! ValueError |
| 283 | G: 0 |
Bram Moolenaar | dfa38d4 | 2013-05-15 13:38:47 +0200 | [diff] [blame] | 284 | W: 1:0 2:1 3:0 4:1 |
| 285 | B: 1:0 2:1 3:0 4:1 |
Bram Moolenaar | 55b8ad3 | 2013-05-17 13:38:04 +0200 | [diff] [blame] | 286 | >>> shiftwidth |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 287 | g/w/b:0/0/1 |
| 288 | g/w/b (in):0/0/1 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | 55b8ad3 | 2013-05-17 13:38:04 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 301 | del wopts3! KeyError |
| 302 | del bopts3! ValueError |
Bram Moolenaar | 55b8ad3 | 2013-05-17 13:38:04 +0200 | [diff] [blame] | 303 | G: 8 |
| 304 | W: 1:0 2:2 3:8 4:1 |
| 305 | B: 1:0 2:2 3:8 4:1 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 306 | >>> omnifunc |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 307 | g/w/b:0/0/1 |
| 308 | g/w/b (in):0/0/1 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 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: '' |
Bram Moolenaar | 8661b17 | 2013-05-15 15:44:28 +0200 | [diff] [blame] | 318 | inv: 1! TypeError |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 319 | G: '' |
Bram Moolenaar | dfa38d4 | 2013-05-15 13:38:47 +0200 | [diff] [blame] | 320 | W: 1:'A' 2:'B' 3:'' 4:'C' |
| 321 | B: 1:'A' 2:'B' 3:'' 4:'C' |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 322 | del wopts3! KeyError |
| 323 | del bopts3! ValueError |
| 324 | G: '' |
Bram Moolenaar | dfa38d4 | 2013-05-15 13:38:47 +0200 | [diff] [blame] | 325 | W: 1:'A' 2:'B' 3:'' 4:'C' |
| 326 | B: 1:'A' 2:'B' 3:'' 4:'C' |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 327 | >>> preserveindent |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 328 | g/w/b:0/0/1 |
| 329 | g/w/b (in):0/0/1 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 339 | G: 0 |
Bram Moolenaar | dfa38d4 | 2013-05-15 13:38:47 +0200 | [diff] [blame] | 340 | W: 1:0 2:1 3:0 4:1 |
| 341 | B: 1:0 2:1 3:0 4:1 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 342 | del wopts3! KeyError |
| 343 | del bopts3! ValueError |
| 344 | G: 0 |
Bram Moolenaar | dfa38d4 | 2013-05-15 13:38:47 +0200 | [diff] [blame] | 345 | W: 1:0 2:1 3:0 4:1 |
| 346 | B: 1:0 2:1 3:0 4:1 |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 347 | >>> path |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 348 | g/w/b:1/0/1 |
| 349 | g/w/b (in):1/0/1 |
Bram Moolenaar | 0418811 | 2013-06-01 20:32:12 +0200 | [diff] [blame] | 350 | p/gopts1: '.,..,,' |
Bram Moolenaar | 8661b17 | 2013-05-15 15:44:28 +0200 | [diff] [blame] | 351 | inv: 0! TypeError |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 352 | p/wopts1! KeyError |
| 353 | inv: 0! KeyError |
| 354 | wopts1! KeyError |
| 355 | wopts2! KeyError |
| 356 | wopts3! KeyError |
| 357 | p/bopts1: None |
Bram Moolenaar | 8661b17 | 2013-05-15 15:44:28 +0200 | [diff] [blame] | 358 | inv: 0! TypeError |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 359 | G: '.,,' |
Bram Moolenaar | dfa38d4 | 2013-05-15 13:38:47 +0200 | [diff] [blame] | 360 | W: 1:'.,,' 2:',,' 3:'.,,' 4:'.' |
| 361 | B: 1:'.,,' 2:',,' 3:'.,,' 4:'.' |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 362 | del wopts3! KeyError |
| 363 | G: '.,,' |
Bram Moolenaar | dfa38d4 | 2013-05-15 13:38:47 +0200 | [diff] [blame] | 364 | W: 1:'.,,' 2:',,' 3:'.,,' 4:'.,,' |
| 365 | B: 1:'.,,' 2:',,' 3:'.,,' 4:'.,,' |
Bram Moolenaar | bd80f35 | 2013-05-12 21:16:23 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | e9ba516 | 2013-05-29 22:02:22 +0200 | [diff] [blame] | 379 | 1:BufFilePre:1 |
Bram Moolenaar | 7e28384 | 2013-05-30 11:43:15 +0200 | [diff] [blame] | 380 | 1:BufFilePost:1 |
Bram Moolenaar | e9ba516 | 2013-05-29 22:02:22 +0200 | [diff] [blame] | 381 | testdir/foo |
| 382 | 5:BufFilePre:5 |
| 383 | 5:BufFilePost:5 |
| 384 | testdir/bar |
| 385 | 1:BufFilePre:1 |
Bram Moolenaar | 7e28384 | 2013-05-30 11:43:15 +0200 | [diff] [blame] | 386 | 1:BufFilePost:1 |
Bram Moolenaar | e9ba516 | 2013-05-29 22:02:22 +0200 | [diff] [blame] | 387 | testdir/test86.in |
Bram Moolenaar | 9e822c0 | 2013-05-29 22:15:30 +0200 | [diff] [blame] | 388 | valid: b:False, cb:True |
Bram Moolenaar | b6c589a | 2013-05-15 14:39:52 +0200 | [diff] [blame] | 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> |
Bram Moolenaar | e9ba516 | 2013-05-29 22:02:22 +0200 | [diff] [blame] | 394 | 8:<buffer a>=<buffer a> |
| 395 | 9:<buffer b>=<buffer b> |
| 396 | 10:<buffer c>=<buffer c> |
Bram Moolenaar | b6c589a | 2013-05-15 14:39:52 +0200 | [diff] [blame] | 397 | 4 |
| 398 | i4:<buffer test86.in> |
| 399 | i4:<buffer test86.in> |
| 400 | StopIteration |
Bram Moolenaar | a472001 | 2013-05-15 16:27:37 +0200 | [diff] [blame] | 401 | Number of tabs: 4 |
| 402 | Current tab pages: |
| 403 | <tabpage 0>(1): 1 windows, current is <window object (unknown)> |
| 404 | Windows: |
Bram Moolenaar | 9e822c0 | 2013-05-29 22:15:30 +0200 | [diff] [blame] | 405 | <window object (unknown)>(1): displays buffer <buffer test86.in>; cursor is at (37, 0) |
Bram Moolenaar | a472001 | 2013-05-15 16:27:37 +0200 | [diff] [blame] | 406 | <tabpage 1>(2): 1 windows, current is <window object (unknown)> |
| 407 | Windows: |
Bram Moolenaar | cabf80f | 2013-05-17 16:18:33 +0200 | [diff] [blame] | 408 | <window object (unknown)>(1): displays buffer <buffer 0>; cursor is at (1, 0) |
Bram Moolenaar | a472001 | 2013-05-15 16:27:37 +0200 | [diff] [blame] | 409 | <tabpage 2>(3): 2 windows, current is <window object (unknown)> |
| 410 | Windows: |
Bram Moolenaar | cabf80f | 2013-05-17 16:18:33 +0200 | [diff] [blame] | 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) |
Bram Moolenaar | a472001 | 2013-05-15 16:27:37 +0200 | [diff] [blame] | 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' |
Bram Moolenaar | 9e822c0 | 2013-05-29 22:15:30 +0200 | [diff] [blame] | 431 | w.valid: [True, False] |
| 432 | t.valid: [True, False, True, False] |
Bram Moolenaar | cac867a | 2013-05-21 19:50:34 +0200 | [diff] [blame] | 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 |
Bram Moolenaar | dd8aca6 | 2013-05-29 22:36:10 +0200 | [diff] [blame] | 442 | current:__dir__,__members__,buffer,line,range,tabpage,window |
| 443 | buffer:__dir__,__members__,append,mark,name,number,options,range,valid,vars |
| 444 | window:__dir__,__members__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars |
| 445 | tabpage:__dir__,__members__,number,valid,vars,window,windows |
| 446 | range:__dir__,__members__,append,end,start |
Bram Moolenaar | a9922d6 | 2013-05-30 13:01:18 +0200 | [diff] [blame] | 447 | dictionary:__dir__,__members__,get,has_key,items,keys,locked,pop,popitem,scope,update,values |
Bram Moolenaar | dd8aca6 | 2013-05-29 22:36:10 +0200 | [diff] [blame] | 448 | list:__dir__,__members__,extend,locked |
Bram Moolenaar | 355fd9b | 2013-05-30 13:14:13 +0200 | [diff] [blame] | 449 | function:__dir__,__members__,softspace |
Bram Moolenaar | dd8aca6 | 2013-05-29 22:36:10 +0200 | [diff] [blame] | 450 | output:__dir__,__members__,flush,softspace,write,writelines |
Bram Moolenaar | a9922d6 | 2013-05-30 13:01:18 +0200 | [diff] [blame] | 451 | {} |
| 452 | {'a': 1} |
| 453 | {'a': 1} |
Bram Moolenaar | 78cddbe | 2013-05-30 13:05:58 +0200 | [diff] [blame] | 454 | [] |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 455 | ['a', 'b', 'c', '7'] |
Bram Moolenaar | 355fd9b | 2013-05-30 13:14:13 +0200 | [diff] [blame] | 456 | function('tr') |
Bram Moolenaar | 01a7a72 | 2013-05-30 12:26:58 +0200 | [diff] [blame] | 457 | ' |
| 458 | abcdef |
| 459 | line : |
| 460 | abcdef |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 461 | abcA |
Bram Moolenaar | 01a7a72 | 2013-05-30 12:26:58 +0200 | [diff] [blame] | 462 | line : |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 463 | abcB' |
Bram Moolenaar | a9922d6 | 2013-05-30 13:01:18 +0200 | [diff] [blame] | 464 | ['a', 'dup_a'] |
Bram Moolenaar | 78cddbe | 2013-05-30 13:05:58 +0200 | [diff] [blame] | 465 | ['a', 'a'] |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 466 | ['a', 'b', 'c', 'C'] |
Bram Moolenaar | 355fd9b | 2013-05-30 13:14:13 +0200 | [diff] [blame] | 467 | [2, 2] |
| 468 | [2, 2] |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 469 | 1 |
| 470 | 1 |
| 471 | function('Put') |
Bram Moolenaar | f425830 | 2013-06-02 18:20:17 +0200 | [diff] [blame] | 472 | testdir |
| 473 | test86.in |
| 474 | src |
| 475 | testdir/test86.in |
| 476 | testdir |
| 477 | test86.in |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 478 | > Output |
| 479 | >> OutputSetattr |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 480 | del sys.stdout.softspace:AttributeError:("can't delete OutputObject attributes",) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 481 | >>> Testing NumberToLong using sys.stdout.softspace = %s |
Bram Moolenaar | 141be8a | 2013-06-23 14:16:57 +0200 | [diff] [blame] | 482 | sys.stdout.softspace = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 483 | sys.stdout.softspace = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) |
| 484 | sys.stdout.softspace = -1:ValueError:('number must be greater or equal to zero',) |
| 485 | <<< Finished |
| 486 | >>> Testing NumberToLong using sys.stderr.softspace = %s |
| 487 | sys.stderr.softspace = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) |
| 488 | sys.stderr.softspace = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) |
| 489 | sys.stderr.softspace = -1:ValueError:('number must be greater or equal to zero',) |
| 490 | <<< Finished |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 491 | sys.stdout.attr = None:AttributeError:('invalid attribute: attr',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 492 | >> OutputWrite |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 493 | sys.stdout.write(None):TypeError:('coercing to Unicode: need string or buffer, NoneType found',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 494 | >> OutputWriteLines |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 495 | sys.stdout.writelines(None):TypeError:("'NoneType' object is not iterable",) |
Bram Moolenaar | 6c85e7f | 2013-06-23 12:51:32 +0200 | [diff] [blame] | 496 | sys.stdout.writelines([1]):TypeError:('coercing to Unicode: need string or buffer, int found',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 497 | >>> Testing *Iter* using sys.stdout.writelines(%s) |
| 498 | sys.stdout.writelines(FailingIter()):NotImplementedError:('iter',) |
| 499 | sys.stdout.writelines(FailingIterNext()):NotImplementedError:('next',) |
| 500 | <<< Finished |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 501 | > VimCommand |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 502 | >>> Testing StringToChars using vim.command(%s) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 503 | vim.command(1):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 504 | vim.command(u"\0"):TypeError:('expected string without null bytes',) |
| 505 | vim.command("\0"):TypeError:('expected string without null bytes',) |
| 506 | <<< Finished |
| 507 | vim.command("", 2):TypeError:('command() takes exactly one argument (2 given)',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 508 | > VimToPython |
| 509 | > VimEval |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 510 | >>> Testing StringToChars using vim.eval(%s) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 511 | vim.eval(1):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 512 | vim.eval(u"\0"):TypeError:('expected string without null bytes',) |
| 513 | vim.eval("\0"):TypeError:('expected string without null bytes',) |
| 514 | <<< Finished |
| 515 | vim.eval("", FailingTrue()):TypeError:('function takes exactly 1 argument (2 given)',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 516 | > VimEvalPy |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 517 | >>> Testing StringToChars using vim.bindeval(%s) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 518 | vim.bindeval(1):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 519 | vim.bindeval(u"\0"):TypeError:('expected string without null bytes',) |
| 520 | vim.bindeval("\0"):TypeError:('expected string without null bytes',) |
| 521 | <<< Finished |
| 522 | vim.eval("", 2):TypeError:('function takes exactly 1 argument (2 given)',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 523 | > VimStrwidth |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 524 | >>> Testing StringToChars using vim.strwidth(%s) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 525 | vim.strwidth(1):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 526 | vim.strwidth(u"\0"):TypeError:('expected string without null bytes',) |
| 527 | vim.strwidth("\0"):TypeError:('expected string without null bytes',) |
| 528 | <<< Finished |
| 529 | > VimForeachRTP |
| 530 | vim.foreach_rtp(None):TypeError:("'NoneType' object is not callable",) |
| 531 | vim.foreach_rtp(NoArgsCall()):TypeError:('__call__() takes exactly 1 argument (2 given)',) |
| 532 | vim.foreach_rtp(FailingCall()):NotImplementedError:('call',) |
| 533 | vim.foreach_rtp(int, 2):TypeError:('foreach_rtp() takes exactly one argument (2 given)',) |
| 534 | > import |
| 535 | import xxx_no_such_module_xxx:ImportError:('No module named xxx_no_such_module_xxx',) |
| 536 | import failing_import:ImportError:('No module named failing_import',) |
Bram Moolenaar | 7e85d3d | 2013-06-23 16:40:39 +0200 | [diff] [blame] | 537 | import failing:NotImplementedError:() |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 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 |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 553 | > Dictionary |
| 554 | >> DictionaryConstructor |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 555 | vim.Dictionary("abcI"):ValueError:('expected sequence element of size 2, but got sequence of size 1',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 556 | >> DictionarySetattr |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 557 | del d.locked:AttributeError:('cannot delete vim.Dictionary attributes',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 558 | d.locked = FailingTrue():NotImplementedError:('bool',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 559 | vim.vvars.locked = False:TypeError:('cannot modify fixed dictionary',) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 560 | d.scope = True:AttributeError:('cannot set attribute scope',) |
| 561 | d.xxx = True:AttributeError:('cannot set attribute xxx',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 562 | >> _DictionaryItem |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 563 | d.get("a", 2, 3):TypeError:('function takes at most 2 arguments (3 given)',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 564 | >>> Testing StringToChars using d.get(%s) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 565 | d.get(1):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 566 | d.get(u"\0"):TypeError:('expected string without null bytes',) |
| 567 | d.get("\0"):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 568 | <<< Finished |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 569 | d.pop("a"):KeyError:('a',) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 570 | dl.pop("a"):error:('dictionary is locked',) |
Bram Moolenaar | ba2d7ff | 2013-11-04 00:34:53 +0100 | [diff] [blame] | 571 | >> DictionaryContains |
| 572 | "" in d:ValueError:('empty keys are not allowed',) |
| 573 | 0 in d:TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 574 | >> DictionaryIterNext |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 575 | for i in ned: ned["a"] = 1:RuntimeError:('hashtab changed during iteration',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 576 | >> DictionaryAssItem |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 577 | dl["b"] = 1:error:('dictionary is locked',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 578 | >>> Testing StringToChars using d[%s] = 1 |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 579 | d[1] = 1:TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 580 | d[u"\0"] = 1:TypeError:('expected string without null bytes',) |
| 581 | d["\0"] = 1:TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 582 | <<< Finished |
| 583 | >>> Testing StringToChars using d["a"] = {%s : 1} |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 584 | d["a"] = {1 : 1}:TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 585 | d["a"] = {u"\0" : 1}:TypeError:('expected string without null bytes',) |
| 586 | d["a"] = {"\0" : 1}:TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 587 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 588 | >>> Testing StringToChars using d["a"] = {"abcF" : {%s : 1}} |
| 589 | d["a"] = {"abcF" : {1 : 1}}:TypeError:('expected str() or unicode() instance, but got int',) |
| 590 | d["a"] = {"abcF" : {u"\0" : 1}}:TypeError:('expected string without null bytes',) |
| 591 | d["a"] = {"abcF" : {"\0" : 1}}:TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 592 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 593 | >>> Testing StringToChars using d["a"] = {"abcF" : Mapping({%s : 1})} |
| 594 | d["a"] = {"abcF" : Mapping({1 : 1})}:TypeError:('expected str() or unicode() instance, but got int',) |
| 595 | d["a"] = {"abcF" : Mapping({u"\0" : 1})}:TypeError:('expected string without null bytes',) |
| 596 | d["a"] = {"abcF" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 597 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 598 | >>> Testing *Iter* using d["a"] = {"abcF" : %s} |
| 599 | d["a"] = {"abcF" : FailingIter()}:TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 600 | d["a"] = {"abcF" : FailingIterNext()}:NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 601 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 602 | >>> Testing ConvertFromPyObject using d["a"] = {"abcF" : %s} |
| 603 | d["a"] = {"abcF" : None}:TypeError:('unable to convert NoneType to vim structure',) |
| 604 | d["a"] = {"abcF" : {"": 1}}:ValueError:('empty keys are not allowed',) |
| 605 | d["a"] = {"abcF" : {u"": 1}}:ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 606 | d["a"] = {"abcF" : FailingMapping()}:NotImplementedError:('keys',) |
| 607 | d["a"] = {"abcF" : FailingMappingKey()}:NotImplementedError:('getitem:mappingkey',) |
| 608 | d["a"] = {"abcF" : FailingNumber()}:TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 609 | <<< Finished |
| 610 | >>> Testing StringToChars using d["a"] = Mapping({%s : 1}) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 611 | d["a"] = Mapping({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 612 | d["a"] = Mapping({u"\0" : 1}):TypeError:('expected string without null bytes',) |
| 613 | d["a"] = Mapping({"\0" : 1}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 614 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 615 | >>> Testing StringToChars using d["a"] = Mapping({"abcG" : {%s : 1}}) |
| 616 | d["a"] = Mapping({"abcG" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) |
| 617 | d["a"] = Mapping({"abcG" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) |
| 618 | d["a"] = Mapping({"abcG" : {"\0" : 1}}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 619 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 620 | >>> Testing StringToChars using d["a"] = Mapping({"abcG" : Mapping({%s : 1})}) |
| 621 | d["a"] = Mapping({"abcG" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) |
| 622 | d["a"] = Mapping({"abcG" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) |
| 623 | d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 624 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 625 | >>> Testing *Iter* using d["a"] = Mapping({"abcG" : %s}) |
| 626 | d["a"] = Mapping({"abcG" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 627 | d["a"] = Mapping({"abcG" : FailingIterNext()}):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 628 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 629 | >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abcG" : %s}) |
| 630 | d["a"] = Mapping({"abcG" : None}):TypeError:('unable to convert NoneType to vim structure',) |
| 631 | d["a"] = Mapping({"abcG" : {"": 1}}):ValueError:('empty keys are not allowed',) |
| 632 | d["a"] = Mapping({"abcG" : {u"": 1}}):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 633 | d["a"] = Mapping({"abcG" : FailingMapping()}):NotImplementedError:('keys',) |
| 634 | d["a"] = Mapping({"abcG" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',) |
| 635 | d["a"] = Mapping({"abcG" : FailingNumber()}):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 636 | <<< Finished |
| 637 | >>> Testing *Iter* using d["a"] = %s |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 638 | d["a"] = FailingIter():TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 639 | d["a"] = FailingIterNext():NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 640 | <<< Finished |
| 641 | >>> Testing ConvertFromPyObject using d["a"] = %s |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 642 | d["a"] = None:TypeError:('unable to convert NoneType to vim structure',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 643 | d["a"] = {"": 1}:ValueError:('empty keys are not allowed',) |
| 644 | d["a"] = {u"": 1}:ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 645 | d["a"] = FailingMapping():NotImplementedError:('keys',) |
| 646 | d["a"] = FailingMappingKey():NotImplementedError:('getitem:mappingkey',) |
| 647 | d["a"] = FailingNumber():TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 648 | <<< Finished |
| 649 | >> DictionaryUpdate |
| 650 | >>> kwargs |
| 651 | >>> iter |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 652 | d.update(FailingMapping()):NotImplementedError:('keys',) |
| 653 | d.update([FailingIterNext()]):NotImplementedError:('next',) |
Bram Moolenaar | 063a46b | 2014-01-14 16:36:51 +0100 | [diff] [blame] | 654 | d.update([FailingIterNextN(1)]):NotImplementedError:('next N',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 655 | >>> Testing *Iter* using d.update(%s) |
| 656 | d.update(FailingIter()):NotImplementedError:('iter',) |
| 657 | d.update(FailingIterNext()):NotImplementedError:('next',) |
| 658 | <<< Finished |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 659 | >>> Testing StringToChars using d.update({%s : 1}) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 660 | d.update({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 661 | d.update({u"\0" : 1}):TypeError:('expected string without null bytes',) |
| 662 | d.update({"\0" : 1}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 663 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 664 | >>> Testing StringToChars using d.update({"abcF" : {%s : 1}}) |
| 665 | d.update({"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) |
| 666 | d.update({"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) |
| 667 | d.update({"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 668 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 669 | >>> Testing StringToChars using d.update({"abcF" : Mapping({%s : 1})}) |
| 670 | d.update({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) |
| 671 | d.update({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) |
| 672 | d.update({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 673 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 674 | >>> Testing *Iter* using d.update({"abcF" : %s}) |
| 675 | d.update({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 676 | d.update({"abcF" : FailingIterNext()}):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 677 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 678 | >>> Testing ConvertFromPyObject using d.update({"abcF" : %s}) |
| 679 | d.update({"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',) |
| 680 | d.update({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',) |
| 681 | d.update({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 682 | d.update({"abcF" : FailingMapping()}):NotImplementedError:('keys',) |
| 683 | d.update({"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',) |
| 684 | d.update({"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 685 | <<< Finished |
| 686 | >>> Testing StringToChars using d.update(Mapping({%s : 1})) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 687 | d.update(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 688 | d.update(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) |
| 689 | d.update(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 690 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 691 | >>> Testing StringToChars using d.update(Mapping({"abcG" : {%s : 1}})) |
| 692 | d.update(Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',) |
| 693 | d.update(Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',) |
| 694 | d.update(Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 695 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 696 | >>> Testing StringToChars using d.update(Mapping({"abcG" : Mapping({%s : 1})})) |
| 697 | d.update(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) |
| 698 | d.update(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) |
| 699 | d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 700 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 701 | >>> Testing *Iter* using d.update(Mapping({"abcG" : %s})) |
| 702 | d.update(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 703 | d.update(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 704 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 705 | >>> Testing ConvertFromPyObject using d.update(Mapping({"abcG" : %s})) |
| 706 | d.update(Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',) |
| 707 | d.update(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',) |
| 708 | d.update(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 709 | d.update(Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',) |
| 710 | d.update(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',) |
| 711 | d.update(Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 712 | <<< Finished |
| 713 | >>> Testing *Iter* using d.update(%s) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 714 | d.update(FailingIter()):NotImplementedError:('iter',) |
| 715 | d.update(FailingIterNext()):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 716 | <<< Finished |
| 717 | >>> Testing ConvertFromPyObject using d.update(%s) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 718 | d.update(None):TypeError:("'NoneType' object is not iterable",) |
| 719 | d.update({"": 1}):ValueError:('empty keys are not allowed',) |
| 720 | d.update({u"": 1}):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 721 | d.update(FailingMapping()):NotImplementedError:('keys',) |
| 722 | d.update(FailingMappingKey()):NotImplementedError:('getitem:mappingkey',) |
| 723 | d.update(FailingNumber()):TypeError:("'FailingNumber' object is not iterable",) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 724 | <<< Finished |
| 725 | >>> Testing StringToChars using d.update(((%s, 0),)) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 726 | d.update(((1, 0),)):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 727 | d.update(((u"\0", 0),)):TypeError:('expected string without null bytes',) |
| 728 | d.update((("\0", 0),)):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 729 | <<< Finished |
| 730 | >>> Testing StringToChars using d.update((("a", {%s : 1}),)) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 731 | d.update((("a", {1 : 1}),)):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 732 | d.update((("a", {u"\0" : 1}),)):TypeError:('expected string without null bytes',) |
| 733 | d.update((("a", {"\0" : 1}),)):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 734 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 735 | >>> Testing StringToChars using d.update((("a", {"abcF" : {%s : 1}}),)) |
| 736 | d.update((("a", {"abcF" : {1 : 1}}),)):TypeError:('expected str() or unicode() instance, but got int',) |
| 737 | d.update((("a", {"abcF" : {u"\0" : 1}}),)):TypeError:('expected string without null bytes',) |
| 738 | d.update((("a", {"abcF" : {"\0" : 1}}),)):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 739 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 740 | >>> Testing StringToChars using d.update((("a", {"abcF" : Mapping({%s : 1})}),)) |
| 741 | d.update((("a", {"abcF" : Mapping({1 : 1})}),)):TypeError:('expected str() or unicode() instance, but got int',) |
| 742 | d.update((("a", {"abcF" : Mapping({u"\0" : 1})}),)):TypeError:('expected string without null bytes',) |
| 743 | d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 744 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 745 | >>> Testing *Iter* using d.update((("a", {"abcF" : %s}),)) |
| 746 | d.update((("a", {"abcF" : FailingIter()}),)):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 747 | d.update((("a", {"abcF" : FailingIterNext()}),)):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 748 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 749 | >>> Testing ConvertFromPyObject using d.update((("a", {"abcF" : %s}),)) |
| 750 | d.update((("a", {"abcF" : None}),)):TypeError:('unable to convert NoneType to vim structure',) |
| 751 | d.update((("a", {"abcF" : {"": 1}}),)):ValueError:('empty keys are not allowed',) |
| 752 | d.update((("a", {"abcF" : {u"": 1}}),)):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 753 | d.update((("a", {"abcF" : FailingMapping()}),)):NotImplementedError:('keys',) |
| 754 | d.update((("a", {"abcF" : FailingMappingKey()}),)):NotImplementedError:('getitem:mappingkey',) |
| 755 | d.update((("a", {"abcF" : FailingNumber()}),)):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 756 | <<< Finished |
| 757 | >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),)) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 758 | d.update((("a", Mapping({1 : 1})),)):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 759 | d.update((("a", Mapping({u"\0" : 1})),)):TypeError:('expected string without null bytes',) |
| 760 | d.update((("a", Mapping({"\0" : 1})),)):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 761 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 762 | >>> Testing StringToChars using d.update((("a", Mapping({"abcG" : {%s : 1}})),)) |
| 763 | d.update((("a", Mapping({"abcG" : {1 : 1}})),)):TypeError:('expected str() or unicode() instance, but got int',) |
| 764 | d.update((("a", Mapping({"abcG" : {u"\0" : 1}})),)):TypeError:('expected string without null bytes',) |
| 765 | d.update((("a", Mapping({"abcG" : {"\0" : 1}})),)):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 766 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 767 | >>> Testing StringToChars using d.update((("a", Mapping({"abcG" : Mapping({%s : 1})})),)) |
| 768 | d.update((("a", Mapping({"abcG" : Mapping({1 : 1})})),)):TypeError:('expected str() or unicode() instance, but got int',) |
| 769 | d.update((("a", Mapping({"abcG" : Mapping({u"\0" : 1})})),)):TypeError:('expected string without null bytes',) |
| 770 | d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 771 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 772 | >>> Testing *Iter* using d.update((("a", Mapping({"abcG" : %s})),)) |
| 773 | d.update((("a", Mapping({"abcG" : FailingIter()})),)):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 774 | d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 775 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 776 | >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abcG" : %s})),)) |
| 777 | d.update((("a", Mapping({"abcG" : None})),)):TypeError:('unable to convert NoneType to vim structure',) |
| 778 | d.update((("a", Mapping({"abcG" : {"": 1}})),)):ValueError:('empty keys are not allowed',) |
| 779 | d.update((("a", Mapping({"abcG" : {u"": 1}})),)):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 780 | d.update((("a", Mapping({"abcG" : FailingMapping()})),)):NotImplementedError:('keys',) |
| 781 | d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):NotImplementedError:('getitem:mappingkey',) |
| 782 | d.update((("a", Mapping({"abcG" : FailingNumber()})),)):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 783 | <<< Finished |
| 784 | >>> Testing *Iter* using d.update((("a", %s),)) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 785 | d.update((("a", FailingIter()),)):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 786 | d.update((("a", FailingIterNext()),)):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 787 | <<< Finished |
| 788 | >>> Testing ConvertFromPyObject using d.update((("a", %s),)) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 789 | d.update((("a", None),)):TypeError:('unable to convert NoneType to vim structure',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 790 | d.update((("a", {"": 1}),)):ValueError:('empty keys are not allowed',) |
| 791 | d.update((("a", {u"": 1}),)):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 792 | d.update((("a", FailingMapping()),)):NotImplementedError:('keys',) |
| 793 | d.update((("a", FailingMappingKey()),)):NotImplementedError:('getitem:mappingkey',) |
| 794 | d.update((("a", FailingNumber()),)):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 795 | <<< Finished |
| 796 | >> DictionaryPopItem |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 797 | d.popitem(1, 2):TypeError:('popitem() takes no arguments (2 given)',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 798 | >> DictionaryHasKey |
Bram Moolenaar | 389a179 | 2013-06-23 13:00:44 +0200 | [diff] [blame] | 799 | d.has_key():TypeError:('has_key() takes exactly one argument (0 given)',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 800 | > List |
| 801 | >> ListConstructor |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 802 | vim.List(1, 2):TypeError:('function takes at most 1 argument (2 given)',) |
| 803 | vim.List(a=1):TypeError:('list constructor does not accept keyword arguments',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 804 | >>> Testing *Iter* using vim.List(%s) |
| 805 | vim.List(FailingIter()):NotImplementedError:('iter',) |
| 806 | vim.List(FailingIterNext()):NotImplementedError:('next',) |
| 807 | <<< Finished |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 808 | >>> Testing StringToChars using vim.List([{%s : 1}]) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 809 | vim.List([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 810 | vim.List([{u"\0" : 1}]):TypeError:('expected string without null bytes',) |
| 811 | vim.List([{"\0" : 1}]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 812 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 813 | >>> Testing StringToChars using vim.List([{"abcF" : {%s : 1}}]) |
| 814 | vim.List([{"abcF" : {1 : 1}}]):TypeError:('expected str() or unicode() instance, but got int',) |
| 815 | vim.List([{"abcF" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',) |
| 816 | vim.List([{"abcF" : {"\0" : 1}}]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 817 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 818 | >>> Testing StringToChars using vim.List([{"abcF" : Mapping({%s : 1})}]) |
| 819 | vim.List([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',) |
| 820 | vim.List([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',) |
| 821 | vim.List([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 822 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 823 | >>> Testing *Iter* using vim.List([{"abcF" : %s}]) |
| 824 | vim.List([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 825 | vim.List([{"abcF" : FailingIterNext()}]):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 826 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 827 | >>> Testing ConvertFromPyObject using vim.List([{"abcF" : %s}]) |
| 828 | vim.List([{"abcF" : None}]):TypeError:('unable to convert NoneType to vim structure',) |
| 829 | vim.List([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',) |
| 830 | vim.List([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 831 | vim.List([{"abcF" : FailingMapping()}]):NotImplementedError:('keys',) |
| 832 | vim.List([{"abcF" : FailingMappingKey()}]):NotImplementedError:('getitem:mappingkey',) |
| 833 | vim.List([{"abcF" : FailingNumber()}]):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 834 | <<< Finished |
| 835 | >>> Testing StringToChars using vim.List([Mapping({%s : 1})]) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 836 | vim.List([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 837 | vim.List([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',) |
| 838 | vim.List([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 839 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 840 | >>> Testing StringToChars using vim.List([Mapping({"abcG" : {%s : 1}})]) |
| 841 | vim.List([Mapping({"abcG" : {1 : 1}})]):TypeError:('expected str() or unicode() instance, but got int',) |
| 842 | vim.List([Mapping({"abcG" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',) |
| 843 | vim.List([Mapping({"abcG" : {"\0" : 1}})]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 844 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 845 | >>> Testing StringToChars using vim.List([Mapping({"abcG" : Mapping({%s : 1})})]) |
| 846 | vim.List([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',) |
| 847 | vim.List([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',) |
| 848 | vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 849 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 850 | >>> Testing *Iter* using vim.List([Mapping({"abcG" : %s})]) |
| 851 | vim.List([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 852 | vim.List([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 853 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 854 | >>> Testing ConvertFromPyObject using vim.List([Mapping({"abcG" : %s})]) |
| 855 | vim.List([Mapping({"abcG" : None})]):TypeError:('unable to convert NoneType to vim structure',) |
| 856 | vim.List([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',) |
| 857 | vim.List([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 858 | vim.List([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',) |
| 859 | vim.List([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',) |
| 860 | vim.List([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 861 | <<< Finished |
| 862 | >>> Testing *Iter* using vim.List([%s]) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 863 | vim.List([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 864 | vim.List([FailingIterNext()]):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 865 | <<< Finished |
| 866 | >>> Testing ConvertFromPyObject using vim.List([%s]) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 867 | vim.List([None]):TypeError:('unable to convert NoneType to vim structure',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 868 | vim.List([{"": 1}]):ValueError:('empty keys are not allowed',) |
| 869 | vim.List([{u"": 1}]):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 870 | vim.List([FailingMapping()]):NotImplementedError:('keys',) |
| 871 | vim.List([FailingMappingKey()]):NotImplementedError:('getitem:mappingkey',) |
| 872 | vim.List([FailingNumber()]):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 873 | <<< Finished |
| 874 | >> ListItem |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 875 | l[1000]:IndexError:('list index out of range',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 876 | >> ListAssItem |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 877 | ll[1] = 2:error:('list is locked',) |
| 878 | l[1000] = 3:IndexError:('list index out of range',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 879 | >> ListAssSlice |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 880 | ll[1:100] = "abcJ":error:('list is locked',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 881 | >>> Testing *Iter* using l[:] = %s |
| 882 | l[:] = FailingIter():NotImplementedError:('iter',) |
| 883 | l[:] = FailingIterNext():NotImplementedError:('next',) |
| 884 | <<< Finished |
Bram Moolenaar | 038e5d4 | 2014-03-12 15:26:40 +0100 | [diff] [blame^] | 885 | nel[1:10:2] = "abcK":ValueError:('attempt to assign sequence of size greater than 2 to extended slice',) |
Bram Moolenaar | 063a46b | 2014-01-14 16:36:51 +0100 | [diff] [blame] | 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') |
Bram Moolenaar | 038e5d4 | 2014-03-12 15:26:40 +0100 | [diff] [blame^] | 889 | nel[1:1:-1] = "a":ValueError:('attempt to assign sequence of size greater than 0 to extended slice',) |
Bram Moolenaar | 063a46b | 2014-01-14 16:36:51 +0100 | [diff] [blame] | 890 | ('a', 'b', 'c', 'O') |
| 891 | nel[:] = FailingIterNextN(2):NotImplementedError:('next N',) |
| 892 | ('a', 'b', 'c', 'O') |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 893 | >>> Testing StringToChars using l[:] = [{%s : 1}] |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 894 | l[:] = [{1 : 1}]:TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 895 | l[:] = [{u"\0" : 1}]:TypeError:('expected string without null bytes',) |
| 896 | l[:] = [{"\0" : 1}]:TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 897 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 898 | >>> Testing StringToChars using l[:] = [{"abcF" : {%s : 1}}] |
| 899 | l[:] = [{"abcF" : {1 : 1}}]:TypeError:('expected str() or unicode() instance, but got int',) |
| 900 | l[:] = [{"abcF" : {u"\0" : 1}}]:TypeError:('expected string without null bytes',) |
| 901 | l[:] = [{"abcF" : {"\0" : 1}}]:TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 902 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 903 | >>> Testing StringToChars using l[:] = [{"abcF" : Mapping({%s : 1})}] |
| 904 | l[:] = [{"abcF" : Mapping({1 : 1})}]:TypeError:('expected str() or unicode() instance, but got int',) |
| 905 | l[:] = [{"abcF" : Mapping({u"\0" : 1})}]:TypeError:('expected string without null bytes',) |
| 906 | l[:] = [{"abcF" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 907 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 908 | >>> Testing *Iter* using l[:] = [{"abcF" : %s}] |
| 909 | l[:] = [{"abcF" : FailingIter()}]:TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 910 | l[:] = [{"abcF" : FailingIterNext()}]:NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 911 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 912 | >>> Testing ConvertFromPyObject using l[:] = [{"abcF" : %s}] |
| 913 | l[:] = [{"abcF" : None}]:TypeError:('unable to convert NoneType to vim structure',) |
| 914 | l[:] = [{"abcF" : {"": 1}}]:ValueError:('empty keys are not allowed',) |
| 915 | l[:] = [{"abcF" : {u"": 1}}]:ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 916 | l[:] = [{"abcF" : FailingMapping()}]:NotImplementedError:('keys',) |
| 917 | l[:] = [{"abcF" : FailingMappingKey()}]:NotImplementedError:('getitem:mappingkey',) |
| 918 | l[:] = [{"abcF" : FailingNumber()}]:TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 919 | <<< Finished |
| 920 | >>> Testing StringToChars using l[:] = [Mapping({%s : 1})] |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 921 | l[:] = [Mapping({1 : 1})]:TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 922 | l[:] = [Mapping({u"\0" : 1})]:TypeError:('expected string without null bytes',) |
| 923 | l[:] = [Mapping({"\0" : 1})]:TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 924 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 925 | >>> Testing StringToChars using l[:] = [Mapping({"abcG" : {%s : 1}})] |
| 926 | l[:] = [Mapping({"abcG" : {1 : 1}})]:TypeError:('expected str() or unicode() instance, but got int',) |
| 927 | l[:] = [Mapping({"abcG" : {u"\0" : 1}})]:TypeError:('expected string without null bytes',) |
| 928 | l[:] = [Mapping({"abcG" : {"\0" : 1}})]:TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 929 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 930 | >>> Testing StringToChars using l[:] = [Mapping({"abcG" : Mapping({%s : 1})})] |
| 931 | l[:] = [Mapping({"abcG" : Mapping({1 : 1})})]:TypeError:('expected str() or unicode() instance, but got int',) |
| 932 | l[:] = [Mapping({"abcG" : Mapping({u"\0" : 1})})]:TypeError:('expected string without null bytes',) |
| 933 | l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 934 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 935 | >>> Testing *Iter* using l[:] = [Mapping({"abcG" : %s})] |
| 936 | l[:] = [Mapping({"abcG" : FailingIter()})]:TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 937 | l[:] = [Mapping({"abcG" : FailingIterNext()})]:NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 938 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 939 | >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abcG" : %s})] |
| 940 | l[:] = [Mapping({"abcG" : None})]:TypeError:('unable to convert NoneType to vim structure',) |
| 941 | l[:] = [Mapping({"abcG" : {"": 1}})]:ValueError:('empty keys are not allowed',) |
| 942 | l[:] = [Mapping({"abcG" : {u"": 1}})]:ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 943 | l[:] = [Mapping({"abcG" : FailingMapping()})]:NotImplementedError:('keys',) |
| 944 | l[:] = [Mapping({"abcG" : FailingMappingKey()})]:NotImplementedError:('getitem:mappingkey',) |
| 945 | l[:] = [Mapping({"abcG" : FailingNumber()})]:TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 946 | <<< Finished |
| 947 | >>> Testing *Iter* using l[:] = [%s] |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 948 | l[:] = [FailingIter()]:TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 949 | l[:] = [FailingIterNext()]:NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 950 | <<< Finished |
| 951 | >>> Testing ConvertFromPyObject using l[:] = [%s] |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 952 | l[:] = [None]:TypeError:('unable to convert NoneType to vim structure',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 953 | l[:] = [{"": 1}]:ValueError:('empty keys are not allowed',) |
| 954 | l[:] = [{u"": 1}]:ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 955 | l[:] = [FailingMapping()]:NotImplementedError:('keys',) |
| 956 | l[:] = [FailingMappingKey()]:NotImplementedError:('getitem:mappingkey',) |
| 957 | l[:] = [FailingNumber()]:TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 958 | <<< Finished |
| 959 | >> ListConcatInPlace |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 960 | >>> Testing *Iter* using l.extend(%s) |
| 961 | l.extend(FailingIter()):NotImplementedError:('iter',) |
| 962 | l.extend(FailingIterNext()):NotImplementedError:('next',) |
| 963 | <<< Finished |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 964 | >>> Testing StringToChars using l.extend([{%s : 1}]) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 965 | l.extend([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 966 | l.extend([{u"\0" : 1}]):TypeError:('expected string without null bytes',) |
| 967 | l.extend([{"\0" : 1}]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 968 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 969 | >>> Testing StringToChars using l.extend([{"abcF" : {%s : 1}}]) |
| 970 | l.extend([{"abcF" : {1 : 1}}]):TypeError:('expected str() or unicode() instance, but got int',) |
| 971 | l.extend([{"abcF" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',) |
| 972 | l.extend([{"abcF" : {"\0" : 1}}]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 973 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 974 | >>> Testing StringToChars using l.extend([{"abcF" : Mapping({%s : 1})}]) |
| 975 | l.extend([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',) |
| 976 | l.extend([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',) |
| 977 | l.extend([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 978 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 979 | >>> Testing *Iter* using l.extend([{"abcF" : %s}]) |
| 980 | l.extend([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 981 | l.extend([{"abcF" : FailingIterNext()}]):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 982 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 983 | >>> Testing ConvertFromPyObject using l.extend([{"abcF" : %s}]) |
| 984 | l.extend([{"abcF" : None}]):TypeError:('unable to convert NoneType to vim structure',) |
| 985 | l.extend([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',) |
| 986 | l.extend([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 987 | l.extend([{"abcF" : FailingMapping()}]):NotImplementedError:('keys',) |
| 988 | l.extend([{"abcF" : FailingMappingKey()}]):NotImplementedError:('getitem:mappingkey',) |
| 989 | l.extend([{"abcF" : FailingNumber()}]):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 990 | <<< Finished |
| 991 | >>> Testing StringToChars using l.extend([Mapping({%s : 1})]) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 992 | l.extend([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 993 | l.extend([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',) |
| 994 | l.extend([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 995 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 996 | >>> Testing StringToChars using l.extend([Mapping({"abcG" : {%s : 1}})]) |
| 997 | l.extend([Mapping({"abcG" : {1 : 1}})]):TypeError:('expected str() or unicode() instance, but got int',) |
| 998 | l.extend([Mapping({"abcG" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',) |
| 999 | l.extend([Mapping({"abcG" : {"\0" : 1}})]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1000 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1001 | >>> Testing StringToChars using l.extend([Mapping({"abcG" : Mapping({%s : 1})})]) |
| 1002 | l.extend([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',) |
| 1003 | l.extend([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',) |
| 1004 | l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1005 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1006 | >>> Testing *Iter* using l.extend([Mapping({"abcG" : %s})]) |
| 1007 | l.extend([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1008 | l.extend([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1009 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1010 | >>> Testing ConvertFromPyObject using l.extend([Mapping({"abcG" : %s})]) |
| 1011 | l.extend([Mapping({"abcG" : None})]):TypeError:('unable to convert NoneType to vim structure',) |
| 1012 | l.extend([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',) |
| 1013 | l.extend([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1014 | l.extend([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',) |
| 1015 | l.extend([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',) |
| 1016 | l.extend([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1017 | <<< Finished |
| 1018 | >>> Testing *Iter* using l.extend([%s]) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1019 | l.extend([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1020 | l.extend([FailingIterNext()]):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1021 | <<< Finished |
| 1022 | >>> Testing ConvertFromPyObject using l.extend([%s]) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1023 | l.extend([None]):TypeError:('unable to convert NoneType to vim structure',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1024 | l.extend([{"": 1}]):ValueError:('empty keys are not allowed',) |
| 1025 | l.extend([{u"": 1}]):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1026 | l.extend([FailingMapping()]):NotImplementedError:('keys',) |
| 1027 | l.extend([FailingMappingKey()]):NotImplementedError:('getitem:mappingkey',) |
| 1028 | l.extend([FailingNumber()]):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1029 | <<< Finished |
| 1030 | >> ListSetattr |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1031 | del l.locked:AttributeError:('cannot delete vim.List attributes',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1032 | l.locked = FailingTrue():NotImplementedError:('bool',) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1033 | l.xxx = True:AttributeError:('cannot set attribute xxx',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1034 | > Function |
| 1035 | >> FunctionConstructor |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1036 | vim.Function("123"):ValueError:('unnamed function 123 does not exist',) |
| 1037 | vim.Function("xxx_non_existent_function_xxx"):ValueError:('function xxx_non_existent_function_xxx does not exist',) |
Bram Moolenaar | 018acca | 2013-05-30 13:37:28 +0200 | [diff] [blame] | 1038 | vim.Function("xxx#non#existent#function#xxx"):NOT FAILED |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1039 | >> FunctionCall |
| 1040 | >>> Testing StringToChars using f({%s : 1}) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1041 | f({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1042 | f({u"\0" : 1}):TypeError:('expected string without null bytes',) |
| 1043 | f({"\0" : 1}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1044 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1045 | >>> Testing StringToChars using f({"abcF" : {%s : 1}}) |
| 1046 | f({"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) |
| 1047 | f({"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) |
| 1048 | f({"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1049 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1050 | >>> Testing StringToChars using f({"abcF" : Mapping({%s : 1})}) |
| 1051 | f({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) |
| 1052 | f({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) |
| 1053 | f({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1054 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1055 | >>> Testing *Iter* using f({"abcF" : %s}) |
| 1056 | f({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1057 | f({"abcF" : FailingIterNext()}):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1058 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1059 | >>> Testing ConvertFromPyObject using f({"abcF" : %s}) |
| 1060 | f({"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',) |
| 1061 | f({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',) |
| 1062 | f({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1063 | f({"abcF" : FailingMapping()}):NotImplementedError:('keys',) |
| 1064 | f({"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',) |
| 1065 | f({"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1066 | <<< Finished |
| 1067 | >>> Testing StringToChars using f(Mapping({%s : 1})) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1068 | f(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1069 | f(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) |
| 1070 | f(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1071 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1072 | >>> Testing StringToChars using f(Mapping({"abcG" : {%s : 1}})) |
| 1073 | f(Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',) |
| 1074 | f(Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',) |
| 1075 | f(Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1076 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1077 | >>> Testing StringToChars using f(Mapping({"abcG" : Mapping({%s : 1})})) |
| 1078 | f(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) |
| 1079 | f(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) |
| 1080 | f(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1081 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1082 | >>> Testing *Iter* using f(Mapping({"abcG" : %s})) |
| 1083 | f(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1084 | f(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1085 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1086 | >>> Testing ConvertFromPyObject using f(Mapping({"abcG" : %s})) |
| 1087 | f(Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',) |
| 1088 | f(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',) |
| 1089 | f(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1090 | f(Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',) |
| 1091 | f(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',) |
| 1092 | f(Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1093 | <<< Finished |
| 1094 | >>> Testing *Iter* using f(%s) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1095 | f(FailingIter()):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1096 | f(FailingIterNext()):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1097 | <<< Finished |
| 1098 | >>> Testing ConvertFromPyObject using f(%s) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1099 | f(None):TypeError:('unable to convert NoneType to vim structure',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1100 | f({"": 1}):ValueError:('empty keys are not allowed',) |
| 1101 | f({u"": 1}):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1102 | f(FailingMapping()):NotImplementedError:('keys',) |
| 1103 | f(FailingMappingKey()):NotImplementedError:('getitem:mappingkey',) |
| 1104 | f(FailingNumber()):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1105 | <<< Finished |
| 1106 | >>> Testing StringToChars using fd(self={%s : 1}) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1107 | fd(self={1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1108 | fd(self={u"\0" : 1}):TypeError:('expected string without null bytes',) |
| 1109 | fd(self={"\0" : 1}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1110 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1111 | >>> Testing StringToChars using fd(self={"abcF" : {%s : 1}}) |
| 1112 | fd(self={"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) |
| 1113 | fd(self={"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) |
| 1114 | fd(self={"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1115 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1116 | >>> Testing StringToChars using fd(self={"abcF" : Mapping({%s : 1})}) |
| 1117 | fd(self={"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) |
| 1118 | fd(self={"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) |
| 1119 | fd(self={"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1120 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1121 | >>> Testing *Iter* using fd(self={"abcF" : %s}) |
| 1122 | fd(self={"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1123 | fd(self={"abcF" : FailingIterNext()}):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1124 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1125 | >>> Testing ConvertFromPyObject using fd(self={"abcF" : %s}) |
| 1126 | fd(self={"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',) |
| 1127 | fd(self={"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',) |
| 1128 | fd(self={"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1129 | fd(self={"abcF" : FailingMapping()}):NotImplementedError:('keys',) |
| 1130 | fd(self={"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',) |
| 1131 | fd(self={"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1132 | <<< Finished |
| 1133 | >>> Testing StringToChars using fd(self=Mapping({%s : 1})) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1134 | fd(self=Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1135 | fd(self=Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) |
| 1136 | fd(self=Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1137 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1138 | >>> Testing StringToChars using fd(self=Mapping({"abcG" : {%s : 1}})) |
| 1139 | fd(self=Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',) |
| 1140 | fd(self=Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',) |
| 1141 | fd(self=Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1142 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1143 | >>> Testing StringToChars using fd(self=Mapping({"abcG" : Mapping({%s : 1})})) |
| 1144 | fd(self=Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) |
| 1145 | fd(self=Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) |
| 1146 | fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1147 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1148 | >>> Testing *Iter* using fd(self=Mapping({"abcG" : %s})) |
| 1149 | fd(self=Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1150 | fd(self=Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1151 | <<< Finished |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1152 | >>> Testing ConvertFromPyObject using fd(self=Mapping({"abcG" : %s})) |
| 1153 | fd(self=Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',) |
| 1154 | fd(self=Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',) |
| 1155 | fd(self=Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1156 | fd(self=Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',) |
| 1157 | fd(self=Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',) |
| 1158 | fd(self=Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1159 | <<< Finished |
| 1160 | >>> Testing *Iter* using fd(self=%s) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1161 | fd(self=FailingIter()):TypeError:('unable to convert FailingIter to vim dictionary',) |
| 1162 | fd(self=FailingIterNext()):TypeError:('unable to convert FailingIterNext to vim dictionary',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1163 | <<< Finished |
| 1164 | >>> Testing ConvertFromPyObject using fd(self=%s) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1165 | fd(self=None):TypeError:('unable to convert NoneType to vim dictionary',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1166 | fd(self={"": 1}):ValueError:('empty keys are not allowed',) |
| 1167 | fd(self={u"": 1}):ValueError:('empty keys are not allowed',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1168 | fd(self=FailingMapping()):NotImplementedError:('keys',) |
| 1169 | fd(self=FailingMappingKey()):NotImplementedError:('getitem:mappingkey',) |
| 1170 | fd(self=FailingNumber()):TypeError:('unable to convert FailingNumber to vim dictionary',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1171 | <<< Finished |
| 1172 | >>> Testing ConvertFromPyMapping using fd(self=%s) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1173 | fd(self=[]):TypeError:('unable to convert list to vim dictionary',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1174 | <<< Finished |
| 1175 | > TabPage |
| 1176 | >> TabPageAttr |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1177 | vim.current.tabpage.xxx:AttributeError:('xxx',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1178 | > TabList |
| 1179 | >> TabListItem |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1180 | vim.tabpages[1000]:IndexError:('no such tab page',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1181 | > Window |
| 1182 | >> WindowAttr |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1183 | vim.current.window.xxx:AttributeError:('xxx',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1184 | >> WindowSetattr |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1185 | vim.current.window.buffer = 0:TypeError:('readonly attribute: buffer',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1186 | vim.current.window.cursor = (100000000, 100000000):error:('cursor position outside buffer',) |
| 1187 | vim.current.window.cursor = True:TypeError:('argument must be 2-item sequence, not bool',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1188 | >>> Testing NumberToLong using vim.current.window.height = %s |
| 1189 | vim.current.window.height = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) |
| 1190 | vim.current.window.height = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) |
| 1191 | vim.current.window.height = -1:ValueError:('number must be greater or equal to zero',) |
| 1192 | <<< Finished |
| 1193 | >>> Testing NumberToLong using vim.current.window.width = %s |
| 1194 | vim.current.window.width = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) |
| 1195 | vim.current.window.width = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) |
| 1196 | vim.current.window.width = -1:ValueError:('number must be greater or equal to zero',) |
| 1197 | <<< Finished |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1198 | vim.current.window.xxxxxx = True:AttributeError:('xxxxxx',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1199 | > WinList |
| 1200 | >> WinListItem |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1201 | vim.windows[1000]:IndexError:('no such window',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1202 | > Buffer |
| 1203 | >> StringToLine (indirect) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1204 | vim.current.buffer[0] = u"\na":error:('string cannot contain newlines',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1205 | vim.current.buffer[0] = "\na":error:('string cannot contain newlines',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1206 | >> SetBufferLine (indirect) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1207 | vim.current.buffer[0] = True:TypeError:('bad argument type for built-in operation',) |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1208 | >> SetBufferLineList (indirect) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1209 | vim.current.buffer[:] = True:TypeError:('bad argument type for built-in operation',) |
| 1210 | vim.current.buffer[:] = ["\na", "bc"]:error:('string cannot contain newlines',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1211 | >> InsertBufferLines (indirect) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1212 | vim.current.buffer.append(None):TypeError:('bad argument type for built-in operation',) |
| 1213 | vim.current.buffer.append(["\na", "bc"]):error:('string cannot contain newlines',) |
| 1214 | vim.current.buffer.append("\nbc"):error:('string cannot contain newlines',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1215 | >> RBItem |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1216 | vim.current.buffer[100000000]:IndexError:('line number out of range',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1217 | >> RBAsItem |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1218 | vim.current.buffer[100000000] = "":IndexError:('line number out of range',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1219 | >> BufferAttr |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1220 | vim.current.buffer.xxx:AttributeError:('xxx',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1221 | >> BufferSetattr |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1222 | vim.current.buffer.name = True:TypeError:('expected str() or unicode() instance, but got bool',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1223 | vim.current.buffer.xxx = True:AttributeError:('xxx',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1224 | >> BufferMark |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1225 | vim.current.buffer.mark(0):TypeError:('expected str() or unicode() instance, but got int',) |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1226 | vim.current.buffer.mark("abcM"):ValueError:('mark name must be a single character',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1227 | vim.current.buffer.mark("!"):error:('invalid mark name',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1228 | >> BufferRange |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1229 | vim.current.buffer.range(1, 2, 3):TypeError:('function takes exactly 2 arguments (3 given)',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1230 | > BufMap |
| 1231 | >> BufMapItem |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1232 | vim.buffers[100000000]:KeyError:(100000000,) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1233 | >>> Testing NumberToLong using vim.buffers[%s] |
| 1234 | vim.buffers[[]]:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) |
| 1235 | vim.buffers[None]:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) |
Bram Moolenaar | 038e5d4 | 2014-03-12 15:26:40 +0100 | [diff] [blame^] | 1236 | vim.buffers[-1]:ValueError:('number must be greater than zero',) |
| 1237 | vim.buffers[0]:ValueError:('number must be greater than zero',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1238 | <<< Finished |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1239 | > Current |
| 1240 | >> CurrentGetattr |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1241 | vim.current.xxx:AttributeError:('xxx',) |
Bram Moolenaar | 8600e40 | 2013-05-30 13:28:41 +0200 | [diff] [blame] | 1242 | >> CurrentSetattr |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1243 | vim.current.line = True:TypeError:('bad argument type for built-in operation',) |
Bram Moolenaar | c476e52 | 2013-06-23 13:46:40 +0200 | [diff] [blame] | 1244 | vim.current.buffer = True:TypeError:('expected vim.Buffer object, but got bool',) |
| 1245 | vim.current.window = True:TypeError:('expected vim.Window object, but got bool',) |
| 1246 | vim.current.tabpage = True:TypeError:('expected vim.TabPage object, but got bool',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1247 | vim.current.xxx = True:AttributeError:('xxx',) |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1248 | ['/testdir'] |
| 1249 | '/testdir' |
Bram Moolenaar | a9f2220 | 2013-06-11 18:48:21 +0200 | [diff] [blame] | 1250 | 2,xx |
Bram Moolenaar | 9f3685a | 2013-06-12 14:20:36 +0200 | [diff] [blame] | 1251 | before |
| 1252 | after |
Bram Moolenaar | dee2e31 | 2013-06-23 16:35:47 +0200 | [diff] [blame] | 1253 | pythonx/topmodule/__init__.py |
| 1254 | pythonx/topmodule/submodule/__init__.py |
| 1255 | pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py |
Bram Moolenaar | 841fbd2 | 2013-06-23 14:37:07 +0200 | [diff] [blame] | 1256 | vim.command("throw 'abcN'"):error:('abcN',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1257 | Exe("throw 'def'"):error:('def',) |
| 1258 | vim.eval("Exe('throw ''ghi''')"):error:('ghi',) |
| 1259 | vim.eval("Exe('echoerr ''jkl''')"):error:('Vim(echoerr):jkl',) |
| 1260 | vim.eval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',) |
Bram Moolenaar | 9fee7d4 | 2013-11-28 17:04:43 +0100 | [diff] [blame] | 1261 | vim.eval("xxx_unknown_function_xxx()"):error:('Vim:E117: Unknown function: xxx_unknown_function_xxx',) |
Bram Moolenaar | 27610ed | 2013-06-12 14:26:26 +0200 | [diff] [blame] | 1262 | vim.bindeval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',) |
Bram Moolenaar | d6b8a52 | 2013-11-11 01:05:48 +0100 | [diff] [blame] | 1263 | Caught KeyboardInterrupt |
| 1264 | Running :put |
| 1265 | No exception |
| 1266 | |