comparison src/testdir/test86.ok @ 4976:4ed713442c51 v7.3.1233

updated for version 7.3.1233 Problem: Various Python problems. Solution: Fix VimTryEnd. Crash with debug build and PYTHONDUMPREFS=1. Memory leaks in StringToLine(), BufferMark() and convert_dl. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Sun, 23 Jun 2013 14:37:07 +0200
parents 537bbfff0c5c
children 39980afcf54a
comparison
equal deleted inserted replaced
4975:cfe8ed38e3e7 4976:4ed713442c51
66 KeyError 66 KeyError
67 d : locked:0;scope:0 67 d : locked:0;scope:0
68 dl : locked:1;scope:0 68 dl : locked:1;scope:0
69 v: : locked:2;scope:1 69 v: : locked:2;scope:1
70 g: : locked:0;scope:2 70 g: : locked:0;scope:2
71 d:{'abc': 1} 71 d:{'abc2': 1}
72 dl:{'def': 1} 72 dl:{'def': 1}
73 l : locked:0 73 l : locked:0
74 ll : locked:1 74 ll : locked:1
75 l:[0] 75 l:[0]
76 ll:[1] 76 ll:[1]
200 G: 8 200 G: 8
201 W: 1:3 2:5 3:2 4:8 201 W: 1:3 2:5 3:2 4:8
202 B: 1:3 2:5 3:2 4:8 202 B: 1:3 2:5 3:2 4:8
203 >>> colorcolumn 203 >>> colorcolumn
204 p/gopts1! KeyError 204 p/gopts1! KeyError
205 inv: 'abc'! KeyError 205 inv: 'abc4'! KeyError
206 gopts1! KeyError 206 gopts1! KeyError
207 p/wopts1: '' 207 p/wopts1: ''
208 inv: 'abc'! error 208 inv: 'abc4'! error
209 p/bopts1! KeyError 209 p/bopts1! KeyError
210 inv: 'abc'! KeyError 210 inv: 'abc4'! KeyError
211 bopts1! KeyError 211 bopts1! KeyError
212 bopts2! KeyError 212 bopts2! KeyError
213 bopts3! KeyError 213 bopts3! KeyError
214 G: '' 214 G: ''
215 W: 1:'+2' 2:'+3' 3:'+1' 4:'' 215 W: 1:'+2' 2:'+3' 3:'+1' 4:''
413 output:__dir__,__members__,flush,softspace,write,writelines 413 output:__dir__,__members__,flush,softspace,write,writelines
414 {} 414 {}
415 {'a': 1} 415 {'a': 1}
416 {'a': 1} 416 {'a': 1}
417 [] 417 []
418 ['a', 'b', 'c'] 418 ['a', 'b', 'c', '7']
419 function('tr') 419 function('tr')
420 ' 420 '
421 abcdef 421 abcdef
422 line : 422 line :
423 abcdef 423 abcdef
424 abc 424 abcA
425 line : 425 line :
426 abc' 426 abcB'
427 ['a', 'dup_a'] 427 ['a', 'dup_a']
428 ['a', 'a'] 428 ['a', 'a']
429 ['a', 'b', 'c'] 429 ['a', 'b', 'c', 'C']
430 [2, 2] 430 [2, 2]
431 [2, 2] 431 [2, 2]
432 1
433 1
434 function('Put')
432 testdir 435 testdir
433 test86.in 436 test86.in
434 src 437 src
435 testdir/test86.in 438 testdir/test86.in
436 testdir 439 testdir
454 vim.bindeval(1):TypeError:('expected str() or unicode() instance, but got int',) 457 vim.bindeval(1):TypeError:('expected str() or unicode() instance, but got int',)
455 > VimStrwidth 458 > VimStrwidth
456 vim.strwidth(1):TypeError:('expected str() or unicode() instance, but got int',) 459 vim.strwidth(1):TypeError:('expected str() or unicode() instance, but got int',)
457 > Dictionary 460 > Dictionary
458 >> DictionaryConstructor 461 >> DictionaryConstructor
459 vim.Dictionary("abc"):ValueError:('expected sequence element of size 2, but got sequence of size 1',) 462 vim.Dictionary("abcI"):ValueError:('expected sequence element of size 2, but got sequence of size 1',)
460 >> DictionarySetattr 463 >> DictionarySetattr
461 del d.locked:AttributeError:('cannot delete vim.Dictionary attributes',) 464 del d.locked:AttributeError:('cannot delete vim.Dictionary attributes',)
462 d.locked = FailingTrue():NotImplementedError:() 465 d.locked = FailingTrue():NotImplementedError:()
463 vim.vvars.locked = False:TypeError:('cannot modify fixed dictionary',) 466 vim.vvars.locked = False:TypeError:('cannot modify fixed dictionary',)
464 d.scope = True:AttributeError:('cannot set attribute scope',) 467 d.scope = True:AttributeError:('cannot set attribute scope',)
484 >>> Testing StringToChars using d["a"] = {%s : 1} 487 >>> Testing StringToChars using d["a"] = {%s : 1}
485 d["a"] = {1 : 1}:TypeError:('expected str() or unicode() instance, but got int',) 488 d["a"] = {1 : 1}:TypeError:('expected str() or unicode() instance, but got int',)
486 d["a"] = {u"\0" : 1}:TypeError:('expected string without null bytes',) 489 d["a"] = {u"\0" : 1}:TypeError:('expected string without null bytes',)
487 d["a"] = {"\0" : 1}:TypeError:('expected string without null bytes',) 490 d["a"] = {"\0" : 1}:TypeError:('expected string without null bytes',)
488 <<< Finished 491 <<< Finished
489 >>> Testing StringToChars using d["a"] = {"abc" : {%s : 1}} 492 >>> Testing StringToChars using d["a"] = {"abcF" : {%s : 1}}
490 d["a"] = {"abc" : {1 : 1}}:TypeError:('expected str() or unicode() instance, but got int',) 493 d["a"] = {"abcF" : {1 : 1}}:TypeError:('expected str() or unicode() instance, but got int',)
491 d["a"] = {"abc" : {u"\0" : 1}}:TypeError:('expected string without null bytes',) 494 d["a"] = {"abcF" : {u"\0" : 1}}:TypeError:('expected string without null bytes',)
492 d["a"] = {"abc" : {"\0" : 1}}:TypeError:('expected string without null bytes',) 495 d["a"] = {"abcF" : {"\0" : 1}}:TypeError:('expected string without null bytes',)
493 <<< Finished 496 <<< Finished
494 >>> Testing StringToChars using d["a"] = {"abc" : Mapping({%s : 1})} 497 >>> Testing StringToChars using d["a"] = {"abcF" : Mapping({%s : 1})}
495 d["a"] = {"abc" : Mapping({1 : 1})}:TypeError:('expected str() or unicode() instance, but got int',) 498 d["a"] = {"abcF" : Mapping({1 : 1})}:TypeError:('expected str() or unicode() instance, but got int',)
496 d["a"] = {"abc" : Mapping({u"\0" : 1})}:TypeError:('expected string without null bytes',) 499 d["a"] = {"abcF" : Mapping({u"\0" : 1})}:TypeError:('expected string without null bytes',)
497 d["a"] = {"abc" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',) 500 d["a"] = {"abcF" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',)
498 <<< Finished 501 <<< Finished
499 >>> Testing *Iter* using d["a"] = {"abc" : %s} 502 >>> Testing *Iter* using d["a"] = {"abcF" : %s}
500 d["a"] = {"abc" : FailingIter()}:TypeError:('unable to convert FailingIter to vim structure',) 503 d["a"] = {"abcF" : FailingIter()}:TypeError:('unable to convert FailingIter to vim structure',)
501 d["a"] = {"abc" : FailingIterNext()}:NotImplementedError:() 504 d["a"] = {"abcF" : FailingIterNext()}:NotImplementedError:()
502 <<< Finished 505 <<< Finished
503 >>> Testing ConvertFromPyObject using d["a"] = {"abc" : %s} 506 >>> Testing ConvertFromPyObject using d["a"] = {"abcF" : %s}
504 d["a"] = {"abc" : None}:TypeError:('unable to convert NoneType to vim structure',) 507 d["a"] = {"abcF" : None}:TypeError:('unable to convert NoneType to vim structure',)
505 d["a"] = {"abc" : {"": 1}}:ValueError:('empty keys are not allowed',) 508 d["a"] = {"abcF" : {"": 1}}:ValueError:('empty keys are not allowed',)
506 d["a"] = {"abc" : {u"": 1}}:ValueError:('empty keys are not allowed',) 509 d["a"] = {"abcF" : {u"": 1}}:ValueError:('empty keys are not allowed',)
507 d["a"] = {"abc" : FailingMapping()}:NotImplementedError:() 510 d["a"] = {"abcF" : FailingMapping()}:NotImplementedError:()
508 d["a"] = {"abc" : FailingMappingKey()}:NotImplementedError:() 511 d["a"] = {"abcF" : FailingMappingKey()}:NotImplementedError:()
509 <<< Finished 512 <<< Finished
510 >>> Testing StringToChars using d["a"] = Mapping({%s : 1}) 513 >>> Testing StringToChars using d["a"] = Mapping({%s : 1})
511 d["a"] = Mapping({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) 514 d["a"] = Mapping({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
512 d["a"] = Mapping({u"\0" : 1}):TypeError:('expected string without null bytes',) 515 d["a"] = Mapping({u"\0" : 1}):TypeError:('expected string without null bytes',)
513 d["a"] = Mapping({"\0" : 1}):TypeError:('expected string without null bytes',) 516 d["a"] = Mapping({"\0" : 1}):TypeError:('expected string without null bytes',)
514 <<< Finished 517 <<< Finished
515 >>> Testing StringToChars using d["a"] = Mapping({"abc" : {%s : 1}}) 518 >>> Testing StringToChars using d["a"] = Mapping({"abcG" : {%s : 1}})
516 d["a"] = Mapping({"abc" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) 519 d["a"] = Mapping({"abcG" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',)
517 d["a"] = Mapping({"abc" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) 520 d["a"] = Mapping({"abcG" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
518 d["a"] = Mapping({"abc" : {"\0" : 1}}):TypeError:('expected string without null bytes',) 521 d["a"] = Mapping({"abcG" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
519 <<< Finished 522 <<< Finished
520 >>> Testing StringToChars using d["a"] = Mapping({"abc" : Mapping({%s : 1})}) 523 >>> Testing StringToChars using d["a"] = Mapping({"abcG" : Mapping({%s : 1})})
521 d["a"] = Mapping({"abc" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) 524 d["a"] = Mapping({"abcG" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
522 d["a"] = Mapping({"abc" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 525 d["a"] = Mapping({"abcG" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
523 d["a"] = Mapping({"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 526 d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
524 <<< Finished 527 <<< Finished
525 >>> Testing *Iter* using d["a"] = Mapping({"abc" : %s}) 528 >>> Testing *Iter* using d["a"] = Mapping({"abcG" : %s})
526 d["a"] = Mapping({"abc" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) 529 d["a"] = Mapping({"abcG" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
527 d["a"] = Mapping({"abc" : FailingIterNext()}):NotImplementedError:() 530 d["a"] = Mapping({"abcG" : FailingIterNext()}):NotImplementedError:()
528 <<< Finished 531 <<< Finished
529 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abc" : %s}) 532 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abcG" : %s})
530 d["a"] = Mapping({"abc" : None}):TypeError:('unable to convert NoneType to vim structure',) 533 d["a"] = Mapping({"abcG" : None}):TypeError:('unable to convert NoneType to vim structure',)
531 d["a"] = Mapping({"abc" : {"": 1}}):ValueError:('empty keys are not allowed',) 534 d["a"] = Mapping({"abcG" : {"": 1}}):ValueError:('empty keys are not allowed',)
532 d["a"] = Mapping({"abc" : {u"": 1}}):ValueError:('empty keys are not allowed',) 535 d["a"] = Mapping({"abcG" : {u"": 1}}):ValueError:('empty keys are not allowed',)
533 d["a"] = Mapping({"abc" : FailingMapping()}):NotImplementedError:() 536 d["a"] = Mapping({"abcG" : FailingMapping()}):NotImplementedError:()
534 d["a"] = Mapping({"abc" : FailingMappingKey()}):NotImplementedError:() 537 d["a"] = Mapping({"abcG" : FailingMappingKey()}):NotImplementedError:()
535 <<< Finished 538 <<< Finished
536 >>> Testing *Iter* using d["a"] = %s 539 >>> Testing *Iter* using d["a"] = %s
537 d["a"] = FailingIter():TypeError:('unable to convert FailingIter to vim structure',) 540 d["a"] = FailingIter():TypeError:('unable to convert FailingIter to vim structure',)
538 d["a"] = FailingIterNext():NotImplementedError:() 541 d["a"] = FailingIterNext():NotImplementedError:()
539 <<< Finished 542 <<< Finished
552 >>> Testing StringToChars using d.update({%s : 1}) 555 >>> Testing StringToChars using d.update({%s : 1})
553 d.update({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) 556 d.update({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
554 d.update({u"\0" : 1}):TypeError:('expected string without null bytes',) 557 d.update({u"\0" : 1}):TypeError:('expected string without null bytes',)
555 d.update({"\0" : 1}):TypeError:('expected string without null bytes',) 558 d.update({"\0" : 1}):TypeError:('expected string without null bytes',)
556 <<< Finished 559 <<< Finished
557 >>> Testing StringToChars using d.update({"abc" : {%s : 1}}) 560 >>> Testing StringToChars using d.update({"abcF" : {%s : 1}})
558 d.update({"abc" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) 561 d.update({"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',)
559 d.update({"abc" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) 562 d.update({"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
560 d.update({"abc" : {"\0" : 1}}):TypeError:('expected string without null bytes',) 563 d.update({"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
561 <<< Finished 564 <<< Finished
562 >>> Testing StringToChars using d.update({"abc" : Mapping({%s : 1})}) 565 >>> Testing StringToChars using d.update({"abcF" : Mapping({%s : 1})})
563 d.update({"abc" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) 566 d.update({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
564 d.update({"abc" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 567 d.update({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
565 d.update({"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 568 d.update({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
566 <<< Finished 569 <<< Finished
567 >>> Testing *Iter* using d.update({"abc" : %s}) 570 >>> Testing *Iter* using d.update({"abcF" : %s})
568 d.update({"abc" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) 571 d.update({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
569 d.update({"abc" : FailingIterNext()}):NotImplementedError:() 572 d.update({"abcF" : FailingIterNext()}):NotImplementedError:()
570 <<< Finished 573 <<< Finished
571 >>> Testing ConvertFromPyObject using d.update({"abc" : %s}) 574 >>> Testing ConvertFromPyObject using d.update({"abcF" : %s})
572 d.update({"abc" : None}):TypeError:('unable to convert NoneType to vim structure',) 575 d.update({"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',)
573 d.update({"abc" : {"": 1}}):ValueError:('empty keys are not allowed',) 576 d.update({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
574 d.update({"abc" : {u"": 1}}):ValueError:('empty keys are not allowed',) 577 d.update({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',)
575 d.update({"abc" : FailingMapping()}):NotImplementedError:() 578 d.update({"abcF" : FailingMapping()}):NotImplementedError:()
576 d.update({"abc" : FailingMappingKey()}):NotImplementedError:() 579 d.update({"abcF" : FailingMappingKey()}):NotImplementedError:()
577 <<< Finished 580 <<< Finished
578 >>> Testing StringToChars using d.update(Mapping({%s : 1})) 581 >>> Testing StringToChars using d.update(Mapping({%s : 1}))
579 d.update(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) 582 d.update(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',)
580 d.update(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) 583 d.update(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
581 d.update(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) 584 d.update(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
582 <<< Finished 585 <<< Finished
583 >>> Testing StringToChars using d.update(Mapping({"abc" : {%s : 1}})) 586 >>> Testing StringToChars using d.update(Mapping({"abcG" : {%s : 1}}))
584 d.update(Mapping({"abc" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',) 587 d.update(Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',)
585 d.update(Mapping({"abc" : {u"\0" : 1}})):TypeError:('expected string without null bytes',) 588 d.update(Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',)
586 d.update(Mapping({"abc" : {"\0" : 1}})):TypeError:('expected string without null bytes',) 589 d.update(Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',)
587 <<< Finished 590 <<< Finished
588 >>> Testing StringToChars using d.update(Mapping({"abc" : Mapping({%s : 1})})) 591 >>> Testing StringToChars using d.update(Mapping({"abcG" : Mapping({%s : 1})}))
589 d.update(Mapping({"abc" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) 592 d.update(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',)
590 d.update(Mapping({"abc" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) 593 d.update(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
591 d.update(Mapping({"abc" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) 594 d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
592 <<< Finished 595 <<< Finished
593 >>> Testing *Iter* using d.update(Mapping({"abc" : %s})) 596 >>> Testing *Iter* using d.update(Mapping({"abcG" : %s}))
594 d.update(Mapping({"abc" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) 597 d.update(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',)
595 d.update(Mapping({"abc" : FailingIterNext()})):NotImplementedError:() 598 d.update(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:()
596 <<< Finished 599 <<< Finished
597 >>> Testing ConvertFromPyObject using d.update(Mapping({"abc" : %s})) 600 >>> Testing ConvertFromPyObject using d.update(Mapping({"abcG" : %s}))
598 d.update(Mapping({"abc" : None})):TypeError:('unable to convert NoneType to vim structure',) 601 d.update(Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',)
599 d.update(Mapping({"abc" : {"": 1}})):ValueError:('empty keys are not allowed',) 602 d.update(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
600 d.update(Mapping({"abc" : {u"": 1}})):ValueError:('empty keys are not allowed',) 603 d.update(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',)
601 d.update(Mapping({"abc" : FailingMapping()})):NotImplementedError:() 604 d.update(Mapping({"abcG" : FailingMapping()})):NotImplementedError:()
602 d.update(Mapping({"abc" : FailingMappingKey()})):NotImplementedError:() 605 d.update(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:()
603 <<< Finished 606 <<< Finished
604 >>> Testing *Iter* using d.update(%s) 607 >>> Testing *Iter* using d.update(%s)
605 d.update(FailingIter()):NotImplementedError:() 608 d.update(FailingIter()):NotImplementedError:()
606 d.update(FailingIterNext()):NotImplementedError:() 609 d.update(FailingIterNext()):NotImplementedError:()
607 <<< Finished 610 <<< Finished
620 >>> Testing StringToChars using d.update((("a", {%s : 1}),)) 623 >>> Testing StringToChars using d.update((("a", {%s : 1}),))
621 d.update((("a", {1 : 1}),)):TypeError:('expected str() or unicode() instance, but got int',) 624 d.update((("a", {1 : 1}),)):TypeError:('expected str() or unicode() instance, but got int',)
622 d.update((("a", {u"\0" : 1}),)):TypeError:('expected string without null bytes',) 625 d.update((("a", {u"\0" : 1}),)):TypeError:('expected string without null bytes',)
623 d.update((("a", {"\0" : 1}),)):TypeError:('expected string without null bytes',) 626 d.update((("a", {"\0" : 1}),)):TypeError:('expected string without null bytes',)
624 <<< Finished 627 <<< Finished
625 >>> Testing StringToChars using d.update((("a", {"abc" : {%s : 1}}),)) 628 >>> Testing StringToChars using d.update((("a", {"abcF" : {%s : 1}}),))
626 d.update((("a", {"abc" : {1 : 1}}),)):TypeError:('expected str() or unicode() instance, but got int',) 629 d.update((("a", {"abcF" : {1 : 1}}),)):TypeError:('expected str() or unicode() instance, but got int',)
627 d.update((("a", {"abc" : {u"\0" : 1}}),)):TypeError:('expected string without null bytes',) 630 d.update((("a", {"abcF" : {u"\0" : 1}}),)):TypeError:('expected string without null bytes',)
628 d.update((("a", {"abc" : {"\0" : 1}}),)):TypeError:('expected string without null bytes',) 631 d.update((("a", {"abcF" : {"\0" : 1}}),)):TypeError:('expected string without null bytes',)
629 <<< Finished 632 <<< Finished
630 >>> Testing StringToChars using d.update((("a", {"abc" : Mapping({%s : 1})}),)) 633 >>> Testing StringToChars using d.update((("a", {"abcF" : Mapping({%s : 1})}),))
631 d.update((("a", {"abc" : Mapping({1 : 1})}),)):TypeError:('expected str() or unicode() instance, but got int',) 634 d.update((("a", {"abcF" : Mapping({1 : 1})}),)):TypeError:('expected str() or unicode() instance, but got int',)
632 d.update((("a", {"abc" : Mapping({u"\0" : 1})}),)):TypeError:('expected string without null bytes',) 635 d.update((("a", {"abcF" : Mapping({u"\0" : 1})}),)):TypeError:('expected string without null bytes',)
633 d.update((("a", {"abc" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',) 636 d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',)
634 <<< Finished 637 <<< Finished
635 >>> Testing *Iter* using d.update((("a", {"abc" : %s}),)) 638 >>> Testing *Iter* using d.update((("a", {"abcF" : %s}),))
636 d.update((("a", {"abc" : FailingIter()}),)):TypeError:('unable to convert FailingIter to vim structure',) 639 d.update((("a", {"abcF" : FailingIter()}),)):TypeError:('unable to convert FailingIter to vim structure',)
637 d.update((("a", {"abc" : FailingIterNext()}),)):NotImplementedError:() 640 d.update((("a", {"abcF" : FailingIterNext()}),)):NotImplementedError:()
638 <<< Finished 641 <<< Finished
639 >>> Testing ConvertFromPyObject using d.update((("a", {"abc" : %s}),)) 642 >>> Testing ConvertFromPyObject using d.update((("a", {"abcF" : %s}),))
640 d.update((("a", {"abc" : None}),)):TypeError:('unable to convert NoneType to vim structure',) 643 d.update((("a", {"abcF" : None}),)):TypeError:('unable to convert NoneType to vim structure',)
641 d.update((("a", {"abc" : {"": 1}}),)):ValueError:('empty keys are not allowed',) 644 d.update((("a", {"abcF" : {"": 1}}),)):ValueError:('empty keys are not allowed',)
642 d.update((("a", {"abc" : {u"": 1}}),)):ValueError:('empty keys are not allowed',) 645 d.update((("a", {"abcF" : {u"": 1}}),)):ValueError:('empty keys are not allowed',)
643 d.update((("a", {"abc" : FailingMapping()}),)):NotImplementedError:() 646 d.update((("a", {"abcF" : FailingMapping()}),)):NotImplementedError:()
644 d.update((("a", {"abc" : FailingMappingKey()}),)):NotImplementedError:() 647 d.update((("a", {"abcF" : FailingMappingKey()}),)):NotImplementedError:()
645 <<< Finished 648 <<< Finished
646 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),)) 649 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),))
647 d.update((("a", Mapping({1 : 1})),)):TypeError:('expected str() or unicode() instance, but got int',) 650 d.update((("a", Mapping({1 : 1})),)):TypeError:('expected str() or unicode() instance, but got int',)
648 d.update((("a", Mapping({u"\0" : 1})),)):TypeError:('expected string without null bytes',) 651 d.update((("a", Mapping({u"\0" : 1})),)):TypeError:('expected string without null bytes',)
649 d.update((("a", Mapping({"\0" : 1})),)):TypeError:('expected string without null bytes',) 652 d.update((("a", Mapping({"\0" : 1})),)):TypeError:('expected string without null bytes',)
650 <<< Finished 653 <<< Finished
651 >>> Testing StringToChars using d.update((("a", Mapping({"abc" : {%s : 1}})),)) 654 >>> Testing StringToChars using d.update((("a", Mapping({"abcG" : {%s : 1}})),))
652 d.update((("a", Mapping({"abc" : {1 : 1}})),)):TypeError:('expected str() or unicode() instance, but got int',) 655 d.update((("a", Mapping({"abcG" : {1 : 1}})),)):TypeError:('expected str() or unicode() instance, but got int',)
653 d.update((("a", Mapping({"abc" : {u"\0" : 1}})),)):TypeError:('expected string without null bytes',) 656 d.update((("a", Mapping({"abcG" : {u"\0" : 1}})),)):TypeError:('expected string without null bytes',)
654 d.update((("a", Mapping({"abc" : {"\0" : 1}})),)):TypeError:('expected string without null bytes',) 657 d.update((("a", Mapping({"abcG" : {"\0" : 1}})),)):TypeError:('expected string without null bytes',)
655 <<< Finished 658 <<< Finished
656 >>> Testing StringToChars using d.update((("a", Mapping({"abc" : Mapping({%s : 1})})),)) 659 >>> Testing StringToChars using d.update((("a", Mapping({"abcG" : Mapping({%s : 1})})),))
657 d.update((("a", Mapping({"abc" : Mapping({1 : 1})})),)):TypeError:('expected str() or unicode() instance, but got int',) 660 d.update((("a", Mapping({"abcG" : Mapping({1 : 1})})),)):TypeError:('expected str() or unicode() instance, but got int',)
658 d.update((("a", Mapping({"abc" : Mapping({u"\0" : 1})})),)):TypeError:('expected string without null bytes',) 661 d.update((("a", Mapping({"abcG" : Mapping({u"\0" : 1})})),)):TypeError:('expected string without null bytes',)
659 d.update((("a", Mapping({"abc" : Mapping({"\0" : 1})})),)):TypeError:('expected string without null bytes',) 662 d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):TypeError:('expected string without null bytes',)
660 <<< Finished 663 <<< Finished
661 >>> Testing *Iter* using d.update((("a", Mapping({"abc" : %s})),)) 664 >>> Testing *Iter* using d.update((("a", Mapping({"abcG" : %s})),))
662 d.update((("a", Mapping({"abc" : FailingIter()})),)):TypeError:('unable to convert FailingIter to vim structure',) 665 d.update((("a", Mapping({"abcG" : FailingIter()})),)):TypeError:('unable to convert FailingIter to vim structure',)
663 d.update((("a", Mapping({"abc" : FailingIterNext()})),)):NotImplementedError:() 666 d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):NotImplementedError:()
664 <<< Finished 667 <<< Finished
665 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abc" : %s})),)) 668 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abcG" : %s})),))
666 d.update((("a", Mapping({"abc" : None})),)):TypeError:('unable to convert NoneType to vim structure',) 669 d.update((("a", Mapping({"abcG" : None})),)):TypeError:('unable to convert NoneType to vim structure',)
667 d.update((("a", Mapping({"abc" : {"": 1}})),)):ValueError:('empty keys are not allowed',) 670 d.update((("a", Mapping({"abcG" : {"": 1}})),)):ValueError:('empty keys are not allowed',)
668 d.update((("a", Mapping({"abc" : {u"": 1}})),)):ValueError:('empty keys are not allowed',) 671 d.update((("a", Mapping({"abcG" : {u"": 1}})),)):ValueError:('empty keys are not allowed',)
669 d.update((("a", Mapping({"abc" : FailingMapping()})),)):NotImplementedError:() 672 d.update((("a", Mapping({"abcG" : FailingMapping()})),)):NotImplementedError:()
670 d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):NotImplementedError:() 673 d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):NotImplementedError:()
671 <<< Finished 674 <<< Finished
672 >>> Testing *Iter* using d.update((("a", %s),)) 675 >>> Testing *Iter* using d.update((("a", %s),))
673 d.update((("a", FailingIter()),)):TypeError:('unable to convert FailingIter to vim structure',) 676 d.update((("a", FailingIter()),)):TypeError:('unable to convert FailingIter to vim structure',)
674 d.update((("a", FailingIterNext()),)):NotImplementedError:() 677 d.update((("a", FailingIterNext()),)):NotImplementedError:()
675 <<< Finished 678 <<< Finished
691 >>> Testing StringToChars using vim.List([{%s : 1}]) 694 >>> Testing StringToChars using vim.List([{%s : 1}])
692 vim.List([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',) 695 vim.List([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',)
693 vim.List([{u"\0" : 1}]):TypeError:('expected string without null bytes',) 696 vim.List([{u"\0" : 1}]):TypeError:('expected string without null bytes',)
694 vim.List([{"\0" : 1}]):TypeError:('expected string without null bytes',) 697 vim.List([{"\0" : 1}]):TypeError:('expected string without null bytes',)
695 <<< Finished 698 <<< Finished
696 >>> Testing StringToChars using vim.List([{"abc" : {%s : 1}}]) 699 >>> Testing StringToChars using vim.List([{"abcF" : {%s : 1}}])
697 vim.List([{"abc" : {1 : 1}}]):TypeError:('expected str() or unicode() instance, but got int',) 700 vim.List([{"abcF" : {1 : 1}}]):TypeError:('expected str() or unicode() instance, but got int',)
698 vim.List([{"abc" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',) 701 vim.List([{"abcF" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',)
699 vim.List([{"abc" : {"\0" : 1}}]):TypeError:('expected string without null bytes',) 702 vim.List([{"abcF" : {"\0" : 1}}]):TypeError:('expected string without null bytes',)
700 <<< Finished 703 <<< Finished
701 >>> Testing StringToChars using vim.List([{"abc" : Mapping({%s : 1})}]) 704 >>> Testing StringToChars using vim.List([{"abcF" : Mapping({%s : 1})}])
702 vim.List([{"abc" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',) 705 vim.List([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',)
703 vim.List([{"abc" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',) 706 vim.List([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',)
704 vim.List([{"abc" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',) 707 vim.List([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
705 <<< Finished 708 <<< Finished
706 >>> Testing *Iter* using vim.List([{"abc" : %s}]) 709 >>> Testing *Iter* using vim.List([{"abcF" : %s}])
707 vim.List([{"abc" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',) 710 vim.List([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',)
708 vim.List([{"abc" : FailingIterNext()}]):NotImplementedError:() 711 vim.List([{"abcF" : FailingIterNext()}]):NotImplementedError:()
709 <<< Finished 712 <<< Finished
710 >>> Testing ConvertFromPyObject using vim.List([{"abc" : %s}]) 713 >>> Testing ConvertFromPyObject using vim.List([{"abcF" : %s}])
711 vim.List([{"abc" : None}]):TypeError:('unable to convert NoneType to vim structure',) 714 vim.List([{"abcF" : None}]):TypeError:('unable to convert NoneType to vim structure',)
712 vim.List([{"abc" : {"": 1}}]):ValueError:('empty keys are not allowed',) 715 vim.List([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',)
713 vim.List([{"abc" : {u"": 1}}]):ValueError:('empty keys are not allowed',) 716 vim.List([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',)
714 vim.List([{"abc" : FailingMapping()}]):NotImplementedError:() 717 vim.List([{"abcF" : FailingMapping()}]):NotImplementedError:()
715 vim.List([{"abc" : FailingMappingKey()}]):NotImplementedError:() 718 vim.List([{"abcF" : FailingMappingKey()}]):NotImplementedError:()
716 <<< Finished 719 <<< Finished
717 >>> Testing StringToChars using vim.List([Mapping({%s : 1})]) 720 >>> Testing StringToChars using vim.List([Mapping({%s : 1})])
718 vim.List([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',) 721 vim.List([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',)
719 vim.List([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',) 722 vim.List([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',)
720 vim.List([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',) 723 vim.List([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',)
721 <<< Finished 724 <<< Finished
722 >>> Testing StringToChars using vim.List([Mapping({"abc" : {%s : 1}})]) 725 >>> Testing StringToChars using vim.List([Mapping({"abcG" : {%s : 1}})])
723 vim.List([Mapping({"abc" : {1 : 1}})]):TypeError:('expected str() or unicode() instance, but got int',) 726 vim.List([Mapping({"abcG" : {1 : 1}})]):TypeError:('expected str() or unicode() instance, but got int',)
724 vim.List([Mapping({"abc" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',) 727 vim.List([Mapping({"abcG" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',)
725 vim.List([Mapping({"abc" : {"\0" : 1}})]):TypeError:('expected string without null bytes',) 728 vim.List([Mapping({"abcG" : {"\0" : 1}})]):TypeError:('expected string without null bytes',)
726 <<< Finished 729 <<< Finished
727 >>> Testing StringToChars using vim.List([Mapping({"abc" : Mapping({%s : 1})})]) 730 >>> Testing StringToChars using vim.List([Mapping({"abcG" : Mapping({%s : 1})})])
728 vim.List([Mapping({"abc" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',) 731 vim.List([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',)
729 vim.List([Mapping({"abc" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',) 732 vim.List([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',)
730 vim.List([Mapping({"abc" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',) 733 vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
731 <<< Finished 734 <<< Finished
732 >>> Testing *Iter* using vim.List([Mapping({"abc" : %s})]) 735 >>> Testing *Iter* using vim.List([Mapping({"abcG" : %s})])
733 vim.List([Mapping({"abc" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',) 736 vim.List([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',)
734 vim.List([Mapping({"abc" : FailingIterNext()})]):NotImplementedError:() 737 vim.List([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:()
735 <<< Finished 738 <<< Finished
736 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abc" : %s})]) 739 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abcG" : %s})])
737 vim.List([Mapping({"abc" : None})]):TypeError:('unable to convert NoneType to vim structure',) 740 vim.List([Mapping({"abcG" : None})]):TypeError:('unable to convert NoneType to vim structure',)
738 vim.List([Mapping({"abc" : {"": 1}})]):ValueError:('empty keys are not allowed',) 741 vim.List([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',)
739 vim.List([Mapping({"abc" : {u"": 1}})]):ValueError:('empty keys are not allowed',) 742 vim.List([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',)
740 vim.List([Mapping({"abc" : FailingMapping()})]):NotImplementedError:() 743 vim.List([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:()
741 vim.List([Mapping({"abc" : FailingMappingKey()})]):NotImplementedError:() 744 vim.List([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:()
742 <<< Finished 745 <<< Finished
743 >>> Testing *Iter* using vim.List([%s]) 746 >>> Testing *Iter* using vim.List([%s])
744 vim.List([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',) 747 vim.List([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',)
745 vim.List([FailingIterNext()]):NotImplementedError:() 748 vim.List([FailingIterNext()]):NotImplementedError:()
746 <<< Finished 749 <<< Finished
755 l[1000]:IndexError:('list index out of range',) 758 l[1000]:IndexError:('list index out of range',)
756 >> ListAssItem 759 >> ListAssItem
757 ll[1] = 2:error:('list is locked',) 760 ll[1] = 2:error:('list is locked',)
758 l[1000] = 3:IndexError:('list index out of range',) 761 l[1000] = 3:IndexError:('list index out of range',)
759 >> ListAssSlice 762 >> ListAssSlice
760 ll[1:100] = "abc":error:('list is locked',) 763 ll[1:100] = "abcJ":error:('list is locked',)
761 >>> Testing StringToChars using l[:] = [{%s : 1}] 764 >>> Testing StringToChars using l[:] = [{%s : 1}]
762 l[:] = [{1 : 1}]:TypeError:('expected str() or unicode() instance, but got int',) 765 l[:] = [{1 : 1}]:TypeError:('expected str() or unicode() instance, but got int',)
763 l[:] = [{u"\0" : 1}]:TypeError:('expected string without null bytes',) 766 l[:] = [{u"\0" : 1}]:TypeError:('expected string without null bytes',)
764 l[:] = [{"\0" : 1}]:TypeError:('expected string without null bytes',) 767 l[:] = [{"\0" : 1}]:TypeError:('expected string without null bytes',)
765 <<< Finished 768 <<< Finished
766 >>> Testing StringToChars using l[:] = [{"abc" : {%s : 1}}] 769 >>> Testing StringToChars using l[:] = [{"abcF" : {%s : 1}}]
767 l[:] = [{"abc" : {1 : 1}}]:TypeError:('expected str() or unicode() instance, but got int',) 770 l[:] = [{"abcF" : {1 : 1}}]:TypeError:('expected str() or unicode() instance, but got int',)
768 l[:] = [{"abc" : {u"\0" : 1}}]:TypeError:('expected string without null bytes',) 771 l[:] = [{"abcF" : {u"\0" : 1}}]:TypeError:('expected string without null bytes',)
769 l[:] = [{"abc" : {"\0" : 1}}]:TypeError:('expected string without null bytes',) 772 l[:] = [{"abcF" : {"\0" : 1}}]:TypeError:('expected string without null bytes',)
770 <<< Finished 773 <<< Finished
771 >>> Testing StringToChars using l[:] = [{"abc" : Mapping({%s : 1})}] 774 >>> Testing StringToChars using l[:] = [{"abcF" : Mapping({%s : 1})}]
772 l[:] = [{"abc" : Mapping({1 : 1})}]:TypeError:('expected str() or unicode() instance, but got int',) 775 l[:] = [{"abcF" : Mapping({1 : 1})}]:TypeError:('expected str() or unicode() instance, but got int',)
773 l[:] = [{"abc" : Mapping({u"\0" : 1})}]:TypeError:('expected string without null bytes',) 776 l[:] = [{"abcF" : Mapping({u"\0" : 1})}]:TypeError:('expected string without null bytes',)
774 l[:] = [{"abc" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',) 777 l[:] = [{"abcF" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',)
775 <<< Finished 778 <<< Finished
776 >>> Testing *Iter* using l[:] = [{"abc" : %s}] 779 >>> Testing *Iter* using l[:] = [{"abcF" : %s}]
777 l[:] = [{"abc" : FailingIter()}]:TypeError:('unable to convert FailingIter to vim structure',) 780 l[:] = [{"abcF" : FailingIter()}]:TypeError:('unable to convert FailingIter to vim structure',)
778 l[:] = [{"abc" : FailingIterNext()}]:NotImplementedError:() 781 l[:] = [{"abcF" : FailingIterNext()}]:NotImplementedError:()
779 <<< Finished 782 <<< Finished
780 >>> Testing ConvertFromPyObject using l[:] = [{"abc" : %s}] 783 >>> Testing ConvertFromPyObject using l[:] = [{"abcF" : %s}]
781 l[:] = [{"abc" : None}]:TypeError:('unable to convert NoneType to vim structure',) 784 l[:] = [{"abcF" : None}]:TypeError:('unable to convert NoneType to vim structure',)
782 l[:] = [{"abc" : {"": 1}}]:ValueError:('empty keys are not allowed',) 785 l[:] = [{"abcF" : {"": 1}}]:ValueError:('empty keys are not allowed',)
783 l[:] = [{"abc" : {u"": 1}}]:ValueError:('empty keys are not allowed',) 786 l[:] = [{"abcF" : {u"": 1}}]:ValueError:('empty keys are not allowed',)
784 l[:] = [{"abc" : FailingMapping()}]:NotImplementedError:() 787 l[:] = [{"abcF" : FailingMapping()}]:NotImplementedError:()
785 l[:] = [{"abc" : FailingMappingKey()}]:NotImplementedError:() 788 l[:] = [{"abcF" : FailingMappingKey()}]:NotImplementedError:()
786 <<< Finished 789 <<< Finished
787 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})] 790 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})]
788 l[:] = [Mapping({1 : 1})]:TypeError:('expected str() or unicode() instance, but got int',) 791 l[:] = [Mapping({1 : 1})]:TypeError:('expected str() or unicode() instance, but got int',)
789 l[:] = [Mapping({u"\0" : 1})]:TypeError:('expected string without null bytes',) 792 l[:] = [Mapping({u"\0" : 1})]:TypeError:('expected string without null bytes',)
790 l[:] = [Mapping({"\0" : 1})]:TypeError:('expected string without null bytes',) 793 l[:] = [Mapping({"\0" : 1})]:TypeError:('expected string without null bytes',)
791 <<< Finished 794 <<< Finished
792 >>> Testing StringToChars using l[:] = [Mapping({"abc" : {%s : 1}})] 795 >>> Testing StringToChars using l[:] = [Mapping({"abcG" : {%s : 1}})]
793 l[:] = [Mapping({"abc" : {1 : 1}})]:TypeError:('expected str() or unicode() instance, but got int',) 796 l[:] = [Mapping({"abcG" : {1 : 1}})]:TypeError:('expected str() or unicode() instance, but got int',)
794 l[:] = [Mapping({"abc" : {u"\0" : 1}})]:TypeError:('expected string without null bytes',) 797 l[:] = [Mapping({"abcG" : {u"\0" : 1}})]:TypeError:('expected string without null bytes',)
795 l[:] = [Mapping({"abc" : {"\0" : 1}})]:TypeError:('expected string without null bytes',) 798 l[:] = [Mapping({"abcG" : {"\0" : 1}})]:TypeError:('expected string without null bytes',)
796 <<< Finished 799 <<< Finished
797 >>> Testing StringToChars using l[:] = [Mapping({"abc" : Mapping({%s : 1})})] 800 >>> Testing StringToChars using l[:] = [Mapping({"abcG" : Mapping({%s : 1})})]
798 l[:] = [Mapping({"abc" : Mapping({1 : 1})})]:TypeError:('expected str() or unicode() instance, but got int',) 801 l[:] = [Mapping({"abcG" : Mapping({1 : 1})})]:TypeError:('expected str() or unicode() instance, but got int',)
799 l[:] = [Mapping({"abc" : Mapping({u"\0" : 1})})]:TypeError:('expected string without null bytes',) 802 l[:] = [Mapping({"abcG" : Mapping({u"\0" : 1})})]:TypeError:('expected string without null bytes',)
800 l[:] = [Mapping({"abc" : Mapping({"\0" : 1})})]:TypeError:('expected string without null bytes',) 803 l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:TypeError:('expected string without null bytes',)
801 <<< Finished 804 <<< Finished
802 >>> Testing *Iter* using l[:] = [Mapping({"abc" : %s})] 805 >>> Testing *Iter* using l[:] = [Mapping({"abcG" : %s})]
803 l[:] = [Mapping({"abc" : FailingIter()})]:TypeError:('unable to convert FailingIter to vim structure',) 806 l[:] = [Mapping({"abcG" : FailingIter()})]:TypeError:('unable to convert FailingIter to vim structure',)
804 l[:] = [Mapping({"abc" : FailingIterNext()})]:NotImplementedError:() 807 l[:] = [Mapping({"abcG" : FailingIterNext()})]:NotImplementedError:()
805 <<< Finished 808 <<< Finished
806 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abc" : %s})] 809 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abcG" : %s})]
807 l[:] = [Mapping({"abc" : None})]:TypeError:('unable to convert NoneType to vim structure',) 810 l[:] = [Mapping({"abcG" : None})]:TypeError:('unable to convert NoneType to vim structure',)
808 l[:] = [Mapping({"abc" : {"": 1}})]:ValueError:('empty keys are not allowed',) 811 l[:] = [Mapping({"abcG" : {"": 1}})]:ValueError:('empty keys are not allowed',)
809 l[:] = [Mapping({"abc" : {u"": 1}})]:ValueError:('empty keys are not allowed',) 812 l[:] = [Mapping({"abcG" : {u"": 1}})]:ValueError:('empty keys are not allowed',)
810 l[:] = [Mapping({"abc" : FailingMapping()})]:NotImplementedError:() 813 l[:] = [Mapping({"abcG" : FailingMapping()})]:NotImplementedError:()
811 l[:] = [Mapping({"abc" : FailingMappingKey()})]:NotImplementedError:() 814 l[:] = [Mapping({"abcG" : FailingMappingKey()})]:NotImplementedError:()
812 <<< Finished 815 <<< Finished
813 >>> Testing *Iter* using l[:] = [%s] 816 >>> Testing *Iter* using l[:] = [%s]
814 l[:] = [FailingIter()]:TypeError:('unable to convert FailingIter to vim structure',) 817 l[:] = [FailingIter()]:TypeError:('unable to convert FailingIter to vim structure',)
815 l[:] = [FailingIterNext()]:NotImplementedError:() 818 l[:] = [FailingIterNext()]:NotImplementedError:()
816 <<< Finished 819 <<< Finished
825 >>> Testing StringToChars using l.extend([{%s : 1}]) 828 >>> Testing StringToChars using l.extend([{%s : 1}])
826 l.extend([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',) 829 l.extend([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',)
827 l.extend([{u"\0" : 1}]):TypeError:('expected string without null bytes',) 830 l.extend([{u"\0" : 1}]):TypeError:('expected string without null bytes',)
828 l.extend([{"\0" : 1}]):TypeError:('expected string without null bytes',) 831 l.extend([{"\0" : 1}]):TypeError:('expected string without null bytes',)
829 <<< Finished 832 <<< Finished
830 >>> Testing StringToChars using l.extend([{"abc" : {%s : 1}}]) 833 >>> Testing StringToChars using l.extend([{"abcF" : {%s : 1}}])
831 l.extend([{"abc" : {1 : 1}}]):TypeError:('expected str() or unicode() instance, but got int',) 834 l.extend([{"abcF" : {1 : 1}}]):TypeError:('expected str() or unicode() instance, but got int',)
832 l.extend([{"abc" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',) 835 l.extend([{"abcF" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',)
833 l.extend([{"abc" : {"\0" : 1}}]):TypeError:('expected string without null bytes',) 836 l.extend([{"abcF" : {"\0" : 1}}]):TypeError:('expected string without null bytes',)
834 <<< Finished 837 <<< Finished
835 >>> Testing StringToChars using l.extend([{"abc" : Mapping({%s : 1})}]) 838 >>> Testing StringToChars using l.extend([{"abcF" : Mapping({%s : 1})}])
836 l.extend([{"abc" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',) 839 l.extend([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',)
837 l.extend([{"abc" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',) 840 l.extend([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',)
838 l.extend([{"abc" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',) 841 l.extend([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
839 <<< Finished 842 <<< Finished
840 >>> Testing *Iter* using l.extend([{"abc" : %s}]) 843 >>> Testing *Iter* using l.extend([{"abcF" : %s}])
841 l.extend([{"abc" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',) 844 l.extend([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',)
842 l.extend([{"abc" : FailingIterNext()}]):NotImplementedError:() 845 l.extend([{"abcF" : FailingIterNext()}]):NotImplementedError:()
843 <<< Finished 846 <<< Finished
844 >>> Testing ConvertFromPyObject using l.extend([{"abc" : %s}]) 847 >>> Testing ConvertFromPyObject using l.extend([{"abcF" : %s}])
845 l.extend([{"abc" : None}]):TypeError:('unable to convert NoneType to vim structure',) 848 l.extend([{"abcF" : None}]):TypeError:('unable to convert NoneType to vim structure',)
846 l.extend([{"abc" : {"": 1}}]):ValueError:('empty keys are not allowed',) 849 l.extend([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',)
847 l.extend([{"abc" : {u"": 1}}]):ValueError:('empty keys are not allowed',) 850 l.extend([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',)
848 l.extend([{"abc" : FailingMapping()}]):NotImplementedError:() 851 l.extend([{"abcF" : FailingMapping()}]):NotImplementedError:()
849 l.extend([{"abc" : FailingMappingKey()}]):NotImplementedError:() 852 l.extend([{"abcF" : FailingMappingKey()}]):NotImplementedError:()
850 <<< Finished 853 <<< Finished
851 >>> Testing StringToChars using l.extend([Mapping({%s : 1})]) 854 >>> Testing StringToChars using l.extend([Mapping({%s : 1})])
852 l.extend([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',) 855 l.extend([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',)
853 l.extend([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',) 856 l.extend([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',)
854 l.extend([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',) 857 l.extend([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',)
855 <<< Finished 858 <<< Finished
856 >>> Testing StringToChars using l.extend([Mapping({"abc" : {%s : 1}})]) 859 >>> Testing StringToChars using l.extend([Mapping({"abcG" : {%s : 1}})])
857 l.extend([Mapping({"abc" : {1 : 1}})]):TypeError:('expected str() or unicode() instance, but got int',) 860 l.extend([Mapping({"abcG" : {1 : 1}})]):TypeError:('expected str() or unicode() instance, but got int',)
858 l.extend([Mapping({"abc" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',) 861 l.extend([Mapping({"abcG" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',)
859 l.extend([Mapping({"abc" : {"\0" : 1}})]):TypeError:('expected string without null bytes',) 862 l.extend([Mapping({"abcG" : {"\0" : 1}})]):TypeError:('expected string without null bytes',)
860 <<< Finished 863 <<< Finished
861 >>> Testing StringToChars using l.extend([Mapping({"abc" : Mapping({%s : 1})})]) 864 >>> Testing StringToChars using l.extend([Mapping({"abcG" : Mapping({%s : 1})})])
862 l.extend([Mapping({"abc" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',) 865 l.extend([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',)
863 l.extend([Mapping({"abc" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',) 866 l.extend([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',)
864 l.extend([Mapping({"abc" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',) 867 l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
865 <<< Finished 868 <<< Finished
866 >>> Testing *Iter* using l.extend([Mapping({"abc" : %s})]) 869 >>> Testing *Iter* using l.extend([Mapping({"abcG" : %s})])
867 l.extend([Mapping({"abc" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',) 870 l.extend([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',)
868 l.extend([Mapping({"abc" : FailingIterNext()})]):NotImplementedError:() 871 l.extend([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:()
869 <<< Finished 872 <<< Finished
870 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abc" : %s})]) 873 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abcG" : %s})])
871 l.extend([Mapping({"abc" : None})]):TypeError:('unable to convert NoneType to vim structure',) 874 l.extend([Mapping({"abcG" : None})]):TypeError:('unable to convert NoneType to vim structure',)
872 l.extend([Mapping({"abc" : {"": 1}})]):ValueError:('empty keys are not allowed',) 875 l.extend([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',)
873 l.extend([Mapping({"abc" : {u"": 1}})]):ValueError:('empty keys are not allowed',) 876 l.extend([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',)
874 l.extend([Mapping({"abc" : FailingMapping()})]):NotImplementedError:() 877 l.extend([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:()
875 l.extend([Mapping({"abc" : FailingMappingKey()})]):NotImplementedError:() 878 l.extend([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:()
876 <<< Finished 879 <<< Finished
877 >>> Testing *Iter* using l.extend([%s]) 880 >>> Testing *Iter* using l.extend([%s])
878 l.extend([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',) 881 l.extend([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',)
879 l.extend([FailingIterNext()]):NotImplementedError:() 882 l.extend([FailingIterNext()]):NotImplementedError:()
880 <<< Finished 883 <<< Finished
898 >>> Testing StringToChars using f({%s : 1}) 901 >>> Testing StringToChars using f({%s : 1})
899 f({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) 902 f({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
900 f({u"\0" : 1}):TypeError:('expected string without null bytes',) 903 f({u"\0" : 1}):TypeError:('expected string without null bytes',)
901 f({"\0" : 1}):TypeError:('expected string without null bytes',) 904 f({"\0" : 1}):TypeError:('expected string without null bytes',)
902 <<< Finished 905 <<< Finished
903 >>> Testing StringToChars using f({"abc" : {%s : 1}}) 906 >>> Testing StringToChars using f({"abcF" : {%s : 1}})
904 f({"abc" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) 907 f({"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',)
905 f({"abc" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) 908 f({"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
906 f({"abc" : {"\0" : 1}}):TypeError:('expected string without null bytes',) 909 f({"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
907 <<< Finished 910 <<< Finished
908 >>> Testing StringToChars using f({"abc" : Mapping({%s : 1})}) 911 >>> Testing StringToChars using f({"abcF" : Mapping({%s : 1})})
909 f({"abc" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) 912 f({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
910 f({"abc" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 913 f({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
911 f({"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 914 f({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
912 <<< Finished 915 <<< Finished
913 >>> Testing *Iter* using f({"abc" : %s}) 916 >>> Testing *Iter* using f({"abcF" : %s})
914 f({"abc" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) 917 f({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
915 f({"abc" : FailingIterNext()}):NotImplementedError:() 918 f({"abcF" : FailingIterNext()}):NotImplementedError:()
916 <<< Finished 919 <<< Finished
917 >>> Testing ConvertFromPyObject using f({"abc" : %s}) 920 >>> Testing ConvertFromPyObject using f({"abcF" : %s})
918 f({"abc" : None}):TypeError:('unable to convert NoneType to vim structure',) 921 f({"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',)
919 f({"abc" : {"": 1}}):ValueError:('empty keys are not allowed',) 922 f({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
920 f({"abc" : {u"": 1}}):ValueError:('empty keys are not allowed',) 923 f({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',)
921 f({"abc" : FailingMapping()}):NotImplementedError:() 924 f({"abcF" : FailingMapping()}):NotImplementedError:()
922 f({"abc" : FailingMappingKey()}):NotImplementedError:() 925 f({"abcF" : FailingMappingKey()}):NotImplementedError:()
923 <<< Finished 926 <<< Finished
924 >>> Testing StringToChars using f(Mapping({%s : 1})) 927 >>> Testing StringToChars using f(Mapping({%s : 1}))
925 f(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) 928 f(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',)
926 f(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) 929 f(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
927 f(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) 930 f(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
928 <<< Finished 931 <<< Finished
929 >>> Testing StringToChars using f(Mapping({"abc" : {%s : 1}})) 932 >>> Testing StringToChars using f(Mapping({"abcG" : {%s : 1}}))
930 f(Mapping({"abc" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',) 933 f(Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',)
931 f(Mapping({"abc" : {u"\0" : 1}})):TypeError:('expected string without null bytes',) 934 f(Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',)
932 f(Mapping({"abc" : {"\0" : 1}})):TypeError:('expected string without null bytes',) 935 f(Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',)
933 <<< Finished 936 <<< Finished
934 >>> Testing StringToChars using f(Mapping({"abc" : Mapping({%s : 1})})) 937 >>> Testing StringToChars using f(Mapping({"abcG" : Mapping({%s : 1})}))
935 f(Mapping({"abc" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) 938 f(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',)
936 f(Mapping({"abc" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) 939 f(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
937 f(Mapping({"abc" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) 940 f(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
938 <<< Finished 941 <<< Finished
939 >>> Testing *Iter* using f(Mapping({"abc" : %s})) 942 >>> Testing *Iter* using f(Mapping({"abcG" : %s}))
940 f(Mapping({"abc" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) 943 f(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',)
941 f(Mapping({"abc" : FailingIterNext()})):NotImplementedError:() 944 f(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:()
942 <<< Finished 945 <<< Finished
943 >>> Testing ConvertFromPyObject using f(Mapping({"abc" : %s})) 946 >>> Testing ConvertFromPyObject using f(Mapping({"abcG" : %s}))
944 f(Mapping({"abc" : None})):TypeError:('unable to convert NoneType to vim structure',) 947 f(Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',)
945 f(Mapping({"abc" : {"": 1}})):ValueError:('empty keys are not allowed',) 948 f(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
946 f(Mapping({"abc" : {u"": 1}})):ValueError:('empty keys are not allowed',) 949 f(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',)
947 f(Mapping({"abc" : FailingMapping()})):NotImplementedError:() 950 f(Mapping({"abcG" : FailingMapping()})):NotImplementedError:()
948 f(Mapping({"abc" : FailingMappingKey()})):NotImplementedError:() 951 f(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:()
949 <<< Finished 952 <<< Finished
950 >>> Testing *Iter* using f(%s) 953 >>> Testing *Iter* using f(%s)
951 f(FailingIter()):TypeError:('unable to convert FailingIter to vim structure',) 954 f(FailingIter()):TypeError:('unable to convert FailingIter to vim structure',)
952 f(FailingIterNext()):NotImplementedError:() 955 f(FailingIterNext()):NotImplementedError:()
953 <<< Finished 956 <<< Finished
961 >>> Testing StringToChars using fd(self={%s : 1}) 964 >>> Testing StringToChars using fd(self={%s : 1})
962 fd(self={1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) 965 fd(self={1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
963 fd(self={u"\0" : 1}):TypeError:('expected string without null bytes',) 966 fd(self={u"\0" : 1}):TypeError:('expected string without null bytes',)
964 fd(self={"\0" : 1}):TypeError:('expected string without null bytes',) 967 fd(self={"\0" : 1}):TypeError:('expected string without null bytes',)
965 <<< Finished 968 <<< Finished
966 >>> Testing StringToChars using fd(self={"abc" : {%s : 1}}) 969 >>> Testing StringToChars using fd(self={"abcF" : {%s : 1}})
967 fd(self={"abc" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',) 970 fd(self={"abcF" : {1 : 1}}):TypeError:('expected str() or unicode() instance, but got int',)
968 fd(self={"abc" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) 971 fd(self={"abcF" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
969 fd(self={"abc" : {"\0" : 1}}):TypeError:('expected string without null bytes',) 972 fd(self={"abcF" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
970 <<< Finished 973 <<< Finished
971 >>> Testing StringToChars using fd(self={"abc" : Mapping({%s : 1})}) 974 >>> Testing StringToChars using fd(self={"abcF" : Mapping({%s : 1})})
972 fd(self={"abc" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) 975 fd(self={"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
973 fd(self={"abc" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 976 fd(self={"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
974 fd(self={"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 977 fd(self={"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
975 <<< Finished 978 <<< Finished
976 >>> Testing *Iter* using fd(self={"abc" : %s}) 979 >>> Testing *Iter* using fd(self={"abcF" : %s})
977 fd(self={"abc" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) 980 fd(self={"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
978 fd(self={"abc" : FailingIterNext()}):NotImplementedError:() 981 fd(self={"abcF" : FailingIterNext()}):NotImplementedError:()
979 <<< Finished 982 <<< Finished
980 >>> Testing ConvertFromPyObject using fd(self={"abc" : %s}) 983 >>> Testing ConvertFromPyObject using fd(self={"abcF" : %s})
981 fd(self={"abc" : None}):TypeError:('unable to convert NoneType to vim structure',) 984 fd(self={"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',)
982 fd(self={"abc" : {"": 1}}):ValueError:('empty keys are not allowed',) 985 fd(self={"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
983 fd(self={"abc" : {u"": 1}}):ValueError:('empty keys are not allowed',) 986 fd(self={"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',)
984 fd(self={"abc" : FailingMapping()}):NotImplementedError:() 987 fd(self={"abcF" : FailingMapping()}):NotImplementedError:()
985 fd(self={"abc" : FailingMappingKey()}):NotImplementedError:() 988 fd(self={"abcF" : FailingMappingKey()}):NotImplementedError:()
986 <<< Finished 989 <<< Finished
987 >>> Testing StringToChars using fd(self=Mapping({%s : 1})) 990 >>> Testing StringToChars using fd(self=Mapping({%s : 1}))
988 fd(self=Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) 991 fd(self=Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',)
989 fd(self=Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) 992 fd(self=Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
990 fd(self=Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) 993 fd(self=Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
991 <<< Finished 994 <<< Finished
992 >>> Testing StringToChars using fd(self=Mapping({"abc" : {%s : 1}})) 995 >>> Testing StringToChars using fd(self=Mapping({"abcG" : {%s : 1}}))
993 fd(self=Mapping({"abc" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',) 996 fd(self=Mapping({"abcG" : {1 : 1}})):TypeError:('expected str() or unicode() instance, but got int',)
994 fd(self=Mapping({"abc" : {u"\0" : 1}})):TypeError:('expected string without null bytes',) 997 fd(self=Mapping({"abcG" : {u"\0" : 1}})):TypeError:('expected string without null bytes',)
995 fd(self=Mapping({"abc" : {"\0" : 1}})):TypeError:('expected string without null bytes',) 998 fd(self=Mapping({"abcG" : {"\0" : 1}})):TypeError:('expected string without null bytes',)
996 <<< Finished 999 <<< Finished
997 >>> Testing StringToChars using fd(self=Mapping({"abc" : Mapping({%s : 1})})) 1000 >>> Testing StringToChars using fd(self=Mapping({"abcG" : Mapping({%s : 1})}))
998 fd(self=Mapping({"abc" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) 1001 fd(self=Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',)
999 fd(self=Mapping({"abc" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) 1002 fd(self=Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
1000 fd(self=Mapping({"abc" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) 1003 fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
1001 <<< Finished 1004 <<< Finished
1002 >>> Testing *Iter* using fd(self=Mapping({"abc" : %s})) 1005 >>> Testing *Iter* using fd(self=Mapping({"abcG" : %s}))
1003 fd(self=Mapping({"abc" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) 1006 fd(self=Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',)
1004 fd(self=Mapping({"abc" : FailingIterNext()})):NotImplementedError:() 1007 fd(self=Mapping({"abcG" : FailingIterNext()})):NotImplementedError:()
1005 <<< Finished 1008 <<< Finished
1006 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abc" : %s})) 1009 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abcG" : %s}))
1007 fd(self=Mapping({"abc" : None})):TypeError:('unable to convert NoneType to vim structure',) 1010 fd(self=Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',)
1008 fd(self=Mapping({"abc" : {"": 1}})):ValueError:('empty keys are not allowed',) 1011 fd(self=Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
1009 fd(self=Mapping({"abc" : {u"": 1}})):ValueError:('empty keys are not allowed',) 1012 fd(self=Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',)
1010 fd(self=Mapping({"abc" : FailingMapping()})):NotImplementedError:() 1013 fd(self=Mapping({"abcG" : FailingMapping()})):NotImplementedError:()
1011 fd(self=Mapping({"abc" : FailingMappingKey()})):NotImplementedError:() 1014 fd(self=Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:()
1012 <<< Finished 1015 <<< Finished
1013 >>> Testing *Iter* using fd(self=%s) 1016 >>> Testing *Iter* using fd(self=%s)
1014 fd(self=FailingIter()):TypeError:('unable to convert FailingIter to vim dictionary',) 1017 fd(self=FailingIter()):TypeError:('unable to convert FailingIter to vim dictionary',)
1015 fd(self=FailingIterNext()):TypeError:('unable to convert FailingIterNext to vim dictionary',) 1018 fd(self=FailingIterNext()):TypeError:('unable to convert FailingIterNext to vim dictionary',)
1016 <<< Finished 1019 <<< Finished
1035 vim.current.window.xxx:AttributeError:('xxx',) 1038 vim.current.window.xxx:AttributeError:('xxx',)
1036 >> WindowSetattr 1039 >> WindowSetattr
1037 vim.current.window.buffer = 0:TypeError:('readonly attribute: buffer',) 1040 vim.current.window.buffer = 0:TypeError:('readonly attribute: buffer',)
1038 vim.current.window.cursor = (100000000, 100000000):error:('cursor position outside buffer',) 1041 vim.current.window.cursor = (100000000, 100000000):error:('cursor position outside buffer',)
1039 vim.current.window.cursor = True:TypeError:('argument must be 2-item sequence, not bool',) 1042 vim.current.window.cursor = True:TypeError:('argument must be 2-item sequence, not bool',)
1040 vim.current.window.height = "abc":TypeError:('expected int(), long() or something supporting coercing to long(), but got str',) 1043 vim.current.window.height = "abcK":TypeError:('expected int(), long() or something supporting coercing to long(), but got str',)
1041 vim.current.window.width = "abc":TypeError:('expected int(), long() or something supporting coercing to long(), but got str',) 1044 vim.current.window.width = "abcL":TypeError:('expected int(), long() or something supporting coercing to long(), but got str',)
1042 vim.current.window.xxxxxx = True:AttributeError:('xxxxxx',) 1045 vim.current.window.xxxxxx = True:AttributeError:('xxxxxx',)
1043 > WinList 1046 > WinList
1044 >> WinListItem 1047 >> WinListItem
1045 vim.windows[1000]:IndexError:('no such window',) 1048 vim.windows[1000]:IndexError:('no such window',)
1046 > Buffer 1049 > Buffer
1047 >> StringToLine (indirect) 1050 >> StringToLine (indirect)
1048 vim.current.buffer[0] = "\na":error:('string cannot contain newlines',) 1051 vim.current.buffer[0] = "\na":error:('string cannot contain newlines',)
1049 >> SetBufferLine (indirect) 1052 >> SetBufferLine (indirect)
1050 vim.current.buffer[0] = True:TypeError:('bad argument type for built-in operation',) 1053 vim.current.buffer[0] = True:TypeError:('bad argument type for built-in operation',)
1051 >> SetBufferLines (indirect) 1054 >> SetBufferLineList (indirect)
1052 vim.current.buffer[:] = True:TypeError:('bad argument type for built-in operation',) 1055 vim.current.buffer[:] = True:TypeError:('bad argument type for built-in operation',)
1053 vim.current.buffer[:] = ["\na", "bc"]:error:('string cannot contain newlines',) 1056 vim.current.buffer[:] = ["\na", "bc"]:error:('string cannot contain newlines',)
1054 >> InsertBufferLines (indirect) 1057 >> InsertBufferLines (indirect)
1055 vim.current.buffer.append(None):TypeError:('bad argument type for built-in operation',) 1058 vim.current.buffer.append(None):TypeError:('bad argument type for built-in operation',)
1056 vim.current.buffer.append(["\na", "bc"]):error:('string cannot contain newlines',) 1059 vim.current.buffer.append(["\na", "bc"]):error:('string cannot contain newlines',)
1064 >> BufferSetattr 1067 >> BufferSetattr
1065 vim.current.buffer.name = True:TypeError:('expected str() or unicode() instance, but got bool',) 1068 vim.current.buffer.name = True:TypeError:('expected str() or unicode() instance, but got bool',)
1066 vim.current.buffer.xxx = True:AttributeError:('xxx',) 1069 vim.current.buffer.xxx = True:AttributeError:('xxx',)
1067 >> BufferMark 1070 >> BufferMark
1068 vim.current.buffer.mark(0):TypeError:('expected str() or unicode() instance, but got int',) 1071 vim.current.buffer.mark(0):TypeError:('expected str() or unicode() instance, but got int',)
1069 vim.current.buffer.mark("abc"):ValueError:('mark name must be a single character',) 1072 vim.current.buffer.mark("abcM"):ValueError:('mark name must be a single character',)
1070 vim.current.buffer.mark("!"):error:('invalid mark name',) 1073 vim.current.buffer.mark("!"):error:('invalid mark name',)
1071 >> BufferRange 1074 >> BufferRange
1072 vim.current.buffer.range(1, 2, 3):TypeError:('function takes exactly 2 arguments (3 given)',) 1075 vim.current.buffer.range(1, 2, 3):TypeError:('function takes exactly 2 arguments (3 given)',)
1073 > BufMap 1076 > BufMap
1074 >> BufMapItem 1077 >> BufMapItem
1084 vim.current.tabpage = True:TypeError:('expected vim.TabPage object, but got bool',) 1087 vim.current.tabpage = True:TypeError:('expected vim.TabPage object, but got bool',)
1085 vim.current.xxx = True:AttributeError:('xxx',) 1088 vim.current.xxx = True:AttributeError:('xxx',)
1086 2,xx 1089 2,xx
1087 before 1090 before
1088 after 1091 after
1089 vim.command("throw 'abc'"):error:('abc',) 1092 vim.command("throw 'abcN'"):error:('abcN',)
1090 Exe("throw 'def'"):error:('def',) 1093 Exe("throw 'def'"):error:('def',)
1091 vim.eval("Exe('throw ''ghi''')"):error:('ghi',) 1094 vim.eval("Exe('throw ''ghi''')"):error:('ghi',)
1092 vim.eval("Exe('echoerr ''jkl''')"):error:('Vim(echoerr):jkl',) 1095 vim.eval("Exe('echoerr ''jkl''')"):error:('Vim(echoerr):jkl',)
1093 vim.eval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',) 1096 vim.eval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',)
1094 vim.bindeval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',) 1097 vim.bindeval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',)