|
263 | 263 | ... |
264 | 264 | TypeError: h() got an unexpected keyword argument 'e' |
265 | 265 |
|
266 | | - >>> h(*h) |
| 266 | + >>> h(*1) |
267 | 267 | Traceback (most recent call last): |
268 | 268 | ... |
269 | | - TypeError: test.test_extcall.h() argument after * must be an iterable, not function |
| 269 | + TypeError: test.test_extcall.h() argument after * must be an iterable, not int |
270 | 270 |
|
271 | | - >>> h(1, *h) |
| 271 | + >>> h(1, *2) |
272 | 272 | Traceback (most recent call last): |
273 | 273 | ... |
274 | | - TypeError: Value after * must be an iterable, not function |
| 274 | + TypeError: Value after * must be an iterable, not int |
275 | 275 |
|
276 | | - >>> h(*[1], *h) |
| 276 | + >>> h(*[1], *2) |
277 | 277 | Traceback (most recent call last): |
278 | 278 | ... |
279 | | - TypeError: Value after * must be an iterable, not function |
| 279 | + TypeError: Value after * must be an iterable, not int |
280 | 280 |
|
281 | | - >>> dir(*h) |
| 281 | + >>> dir(*1) |
282 | 282 | Traceback (most recent call last): |
283 | 283 | ... |
284 | | - TypeError: dir() argument after * must be an iterable, not function |
| 284 | + TypeError: dir() argument after * must be an iterable, not int |
285 | 285 |
|
286 | 286 | >>> nothing = None |
287 | | - >>> nothing(*h) |
| 287 | + >>> nothing(*1) |
288 | 288 | Traceback (most recent call last): |
289 | 289 | ... |
290 | | - TypeError: None argument after * must be an iterable, \ |
291 | | -not function |
| 290 | + TypeError: None argument after * must be an iterable, not int |
292 | 291 |
|
293 | | - >>> h(**h) |
| 292 | + >>> h(**1) |
294 | 293 | Traceback (most recent call last): |
295 | 294 | ... |
296 | | - TypeError: test.test_extcall.h() argument after ** must be a mapping, not function |
| 295 | + TypeError: test.test_extcall.h() argument after ** must be a mapping, not int |
297 | 296 |
|
298 | 297 | >>> h(**[]) |
299 | 298 | Traceback (most recent call last): |
300 | 299 | ... |
301 | 300 | TypeError: test.test_extcall.h() argument after ** must be a mapping, not list |
302 | 301 |
|
303 | | - >>> h(a=1, **h) |
| 302 | + >>> h(a=1, **2) |
304 | 303 | Traceback (most recent call last): |
305 | 304 | ... |
306 | | - TypeError: test.test_extcall.h() argument after ** must be a mapping, not function |
| 305 | + TypeError: test.test_extcall.h() argument after ** must be a mapping, not int |
307 | 306 |
|
308 | 307 | >>> h(a=1, **[]) |
309 | 308 | Traceback (most recent call last): |
310 | 309 | ... |
311 | 310 | TypeError: test.test_extcall.h() argument after ** must be a mapping, not list |
312 | 311 |
|
313 | | - >>> h(**{'a': 1}, **h) |
| 312 | + >>> h(**{'a': 1}, **2) |
314 | 313 | Traceback (most recent call last): |
315 | 314 | ... |
316 | | - TypeError: test.test_extcall.h() argument after ** must be a mapping, not function |
| 315 | + TypeError: test.test_extcall.h() argument after ** must be a mapping, not int |
317 | 316 |
|
318 | 317 | >>> h(**{'a': 1}, **[]) |
319 | 318 | Traceback (most recent call last): |
320 | 319 | ... |
321 | 320 | TypeError: test.test_extcall.h() argument after ** must be a mapping, not list |
322 | 321 |
|
323 | | - >>> dir(**h) |
| 322 | + >>> dir(**1) |
324 | 323 | Traceback (most recent call last): |
325 | 324 | ... |
326 | | - TypeError: dir() argument after ** must be a mapping, not function |
| 325 | + TypeError: dir() argument after ** must be a mapping, not int |
327 | 326 |
|
328 | | - >>> nothing(**h) |
| 327 | + >>> nothing(**1) |
329 | 328 | Traceback (most recent call last): |
330 | 329 | ... |
331 | | - TypeError: None argument after ** must be a mapping, \ |
332 | | -not function |
| 330 | + TypeError: None argument after ** must be a mapping, not int |
333 | 331 |
|
334 | 332 | >>> dir(b=1, **{'b': 1}) |
335 | 333 | Traceback (most recent call last): |
|
0 commit comments