comparison src/testdir/test86.ok @ 4982:39980afcf54a v7.3.1236

updated for version 7.3.1236 Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED. Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Sun, 23 Jun 2013 16:35:47 +0200
parents 4ed713442c51
children 5b2c8f3b3906
comparison
equal deleted inserted replaced
4981:216a48da3659 4982:39980afcf54a
439 testdir 439 testdir
440 test86.in 440 test86.in
441 > Output 441 > Output
442 >> OutputSetattr 442 >> OutputSetattr
443 del sys.stdout.softspace:AttributeError:("can't delete OutputObject attributes",) 443 del sys.stdout.softspace:AttributeError:("can't delete OutputObject attributes",)
444 >>> Testing NumberToLong using sys.stdout.softspace = %s
444 sys.stdout.softspace = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) 445 sys.stdout.softspace = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
446 sys.stdout.softspace = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
447 sys.stdout.softspace = -1:ValueError:('number must be greater or equal to zero',)
448 <<< Finished
449 >>> Testing NumberToLong using sys.stderr.softspace = %s
450 sys.stderr.softspace = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
451 sys.stderr.softspace = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
452 sys.stderr.softspace = -1:ValueError:('number must be greater or equal to zero',)
453 <<< Finished
445 sys.stdout.attr = None:AttributeError:('invalid attribute: attr',) 454 sys.stdout.attr = None:AttributeError:('invalid attribute: attr',)
446 >> OutputWrite 455 >> OutputWrite
447 sys.stdout.write(None):TypeError:('coercing to Unicode: need string or buffer, NoneType found',) 456 sys.stdout.write(None):TypeError:('coercing to Unicode: need string or buffer, NoneType found',)
448 >> OutputWriteLines 457 >> OutputWriteLines
449 sys.stdout.writelines(None):TypeError:("'NoneType' object is not iterable",) 458 sys.stdout.writelines(None):TypeError:("'NoneType' object is not iterable",)
450 sys.stdout.writelines([1]):TypeError:('coercing to Unicode: need string or buffer, int found',) 459 sys.stdout.writelines([1]):TypeError:('coercing to Unicode: need string or buffer, int found',)
460 >>> Testing *Iter* using sys.stdout.writelines(%s)
461 sys.stdout.writelines(FailingIter()):NotImplementedError:('iter',)
462 sys.stdout.writelines(FailingIterNext()):NotImplementedError:('next',)
463 <<< Finished
451 > VimCommand 464 > VimCommand
465 >>> Testing StringToChars using vim.command(%s)
452 vim.command(1):TypeError:('expected str() or unicode() instance, but got int',) 466 vim.command(1):TypeError:('expected str() or unicode() instance, but got int',)
467 vim.command(u"\0"):TypeError:('expected string without null bytes',)
468 vim.command("\0"):TypeError:('expected string without null bytes',)
469 <<< Finished
470 vim.command("", 2):TypeError:('command() takes exactly one argument (2 given)',)
453 > VimToPython 471 > VimToPython
454 > VimEval 472 > VimEval
473 >>> Testing StringToChars using vim.eval(%s)
455 vim.eval(1):TypeError:('expected str() or unicode() instance, but got int',) 474 vim.eval(1):TypeError:('expected str() or unicode() instance, but got int',)
475 vim.eval(u"\0"):TypeError:('expected string without null bytes',)
476 vim.eval("\0"):TypeError:('expected string without null bytes',)
477 <<< Finished
478 vim.eval("", FailingTrue()):TypeError:('function takes exactly 1 argument (2 given)',)
456 > VimEvalPy 479 > VimEvalPy
480 >>> Testing StringToChars using vim.bindeval(%s)
457 vim.bindeval(1):TypeError:('expected str() or unicode() instance, but got int',) 481 vim.bindeval(1):TypeError:('expected str() or unicode() instance, but got int',)
482 vim.bindeval(u"\0"):TypeError:('expected string without null bytes',)
483 vim.bindeval("\0"):TypeError:('expected string without null bytes',)
484 <<< Finished
485 vim.eval("", 2):TypeError:('function takes exactly 1 argument (2 given)',)
458 > VimStrwidth 486 > VimStrwidth
487 >>> Testing StringToChars using vim.strwidth(%s)
459 vim.strwidth(1):TypeError:('expected str() or unicode() instance, but got int',) 488 vim.strwidth(1):TypeError:('expected str() or unicode() instance, but got int',)
489 vim.strwidth(u"\0"):TypeError:('expected string without null bytes',)
490 vim.strwidth("\0"):TypeError:('expected string without null bytes',)
491 <<< Finished
492 > VimForeachRTP
493 vim.foreach_rtp(None):TypeError:("'NoneType' object is not callable",)
494 vim.foreach_rtp(NoArgsCall()):TypeError:('__call__() takes exactly 1 argument (2 given)',)
495 vim.foreach_rtp(FailingCall()):NotImplementedError:('call',)
496 vim.foreach_rtp(int, 2):TypeError:('foreach_rtp() takes exactly one argument (2 given)',)
497 > import
498 import xxx_no_such_module_xxx:ImportError:('No module named xxx_no_such_module_xxx',)
499 import failing_import:ImportError:('No module named failing_import',)
500 import failing:ImportError:('No module named failing',)
460 > Dictionary 501 > Dictionary
461 >> DictionaryConstructor 502 >> DictionaryConstructor
462 vim.Dictionary("abcI"):ValueError:('expected sequence element of size 2, but got sequence of size 1',) 503 vim.Dictionary("abcI"):ValueError:('expected sequence element of size 2, but got sequence of size 1',)
463 >> DictionarySetattr 504 >> DictionarySetattr
464 del d.locked:AttributeError:('cannot delete vim.Dictionary attributes',) 505 del d.locked:AttributeError:('cannot delete vim.Dictionary attributes',)
465 d.locked = FailingTrue():NotImplementedError:() 506 d.locked = FailingTrue():NotImplementedError:('bool',)
466 vim.vvars.locked = False:TypeError:('cannot modify fixed dictionary',) 507 vim.vvars.locked = False:TypeError:('cannot modify fixed dictionary',)
467 d.scope = True:AttributeError:('cannot set attribute scope',) 508 d.scope = True:AttributeError:('cannot set attribute scope',)
468 d.xxx = True:AttributeError:('cannot set attribute xxx',) 509 d.xxx = True:AttributeError:('cannot set attribute xxx',)
469 >> _DictionaryItem 510 >> _DictionaryItem
470 d.get("a", 2, 3):TypeError:('function takes at most 2 arguments (3 given)',) 511 d.get("a", 2, 3):TypeError:('function takes at most 2 arguments (3 given)',)
499 d["a"] = {"abcF" : Mapping({u"\0" : 1})}:TypeError:('expected string without null bytes',) 540 d["a"] = {"abcF" : Mapping({u"\0" : 1})}:TypeError:('expected string without null bytes',)
500 d["a"] = {"abcF" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',) 541 d["a"] = {"abcF" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',)
501 <<< Finished 542 <<< Finished
502 >>> Testing *Iter* using d["a"] = {"abcF" : %s} 543 >>> Testing *Iter* using d["a"] = {"abcF" : %s}
503 d["a"] = {"abcF" : FailingIter()}:TypeError:('unable to convert FailingIter to vim structure',) 544 d["a"] = {"abcF" : FailingIter()}:TypeError:('unable to convert FailingIter to vim structure',)
504 d["a"] = {"abcF" : FailingIterNext()}:NotImplementedError:() 545 d["a"] = {"abcF" : FailingIterNext()}:NotImplementedError:('next',)
505 <<< Finished 546 <<< Finished
506 >>> Testing ConvertFromPyObject using d["a"] = {"abcF" : %s} 547 >>> Testing ConvertFromPyObject using d["a"] = {"abcF" : %s}
507 d["a"] = {"abcF" : None}:TypeError:('unable to convert NoneType to vim structure',) 548 d["a"] = {"abcF" : None}:TypeError:('unable to convert NoneType to vim structure',)
508 d["a"] = {"abcF" : {"": 1}}:ValueError:('empty keys are not allowed',) 549 d["a"] = {"abcF" : {"": 1}}:ValueError:('empty keys are not allowed',)
509 d["a"] = {"abcF" : {u"": 1}}:ValueError:('empty keys are not allowed',) 550 d["a"] = {"abcF" : {u"": 1}}:ValueError:('empty keys are not allowed',)
510 d["a"] = {"abcF" : FailingMapping()}:NotImplementedError:() 551 d["a"] = {"abcF" : FailingMapping()}:NotImplementedError:('keys',)
511 d["a"] = {"abcF" : FailingMappingKey()}:NotImplementedError:() 552 d["a"] = {"abcF" : FailingMappingKey()}:NotImplementedError:('getitem:mappingkey',)
553 d["a"] = {"abcF" : FailingNumber()}:TypeError:('long() argument must be a string or a number',)
512 <<< Finished 554 <<< Finished
513 >>> Testing StringToChars using d["a"] = Mapping({%s : 1}) 555 >>> Testing StringToChars using d["a"] = Mapping({%s : 1})
514 d["a"] = Mapping({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) 556 d["a"] = Mapping({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
515 d["a"] = Mapping({u"\0" : 1}):TypeError:('expected string without null bytes',) 557 d["a"] = Mapping({u"\0" : 1}):TypeError:('expected string without null bytes',)
516 d["a"] = Mapping({"\0" : 1}):TypeError:('expected string without null bytes',) 558 d["a"] = Mapping({"\0" : 1}):TypeError:('expected string without null bytes',)
525 d["a"] = Mapping({"abcG" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 567 d["a"] = Mapping({"abcG" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
526 d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 568 d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
527 <<< Finished 569 <<< Finished
528 >>> Testing *Iter* using d["a"] = Mapping({"abcG" : %s}) 570 >>> Testing *Iter* using d["a"] = Mapping({"abcG" : %s})
529 d["a"] = Mapping({"abcG" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) 571 d["a"] = Mapping({"abcG" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
530 d["a"] = Mapping({"abcG" : FailingIterNext()}):NotImplementedError:() 572 d["a"] = Mapping({"abcG" : FailingIterNext()}):NotImplementedError:('next',)
531 <<< Finished 573 <<< Finished
532 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abcG" : %s}) 574 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abcG" : %s})
533 d["a"] = Mapping({"abcG" : None}):TypeError:('unable to convert NoneType to vim structure',) 575 d["a"] = Mapping({"abcG" : None}):TypeError:('unable to convert NoneType to vim structure',)
534 d["a"] = Mapping({"abcG" : {"": 1}}):ValueError:('empty keys are not allowed',) 576 d["a"] = Mapping({"abcG" : {"": 1}}):ValueError:('empty keys are not allowed',)
535 d["a"] = Mapping({"abcG" : {u"": 1}}):ValueError:('empty keys are not allowed',) 577 d["a"] = Mapping({"abcG" : {u"": 1}}):ValueError:('empty keys are not allowed',)
536 d["a"] = Mapping({"abcG" : FailingMapping()}):NotImplementedError:() 578 d["a"] = Mapping({"abcG" : FailingMapping()}):NotImplementedError:('keys',)
537 d["a"] = Mapping({"abcG" : FailingMappingKey()}):NotImplementedError:() 579 d["a"] = Mapping({"abcG" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',)
580 d["a"] = Mapping({"abcG" : FailingNumber()}):TypeError:('long() argument must be a string or a number',)
538 <<< Finished 581 <<< Finished
539 >>> Testing *Iter* using d["a"] = %s 582 >>> Testing *Iter* using d["a"] = %s
540 d["a"] = FailingIter():TypeError:('unable to convert FailingIter to vim structure',) 583 d["a"] = FailingIter():TypeError:('unable to convert FailingIter to vim structure',)
541 d["a"] = FailingIterNext():NotImplementedError:() 584 d["a"] = FailingIterNext():NotImplementedError:('next',)
542 <<< Finished 585 <<< Finished
543 >>> Testing ConvertFromPyObject using d["a"] = %s 586 >>> Testing ConvertFromPyObject using d["a"] = %s
544 d["a"] = None:TypeError:('unable to convert NoneType to vim structure',) 587 d["a"] = None:TypeError:('unable to convert NoneType to vim structure',)
545 d["a"] = {"": 1}:ValueError:('empty keys are not allowed',) 588 d["a"] = {"": 1}:ValueError:('empty keys are not allowed',)
546 d["a"] = {u"": 1}:ValueError:('empty keys are not allowed',) 589 d["a"] = {u"": 1}:ValueError:('empty keys are not allowed',)
547 d["a"] = FailingMapping():NotImplementedError:() 590 d["a"] = FailingMapping():NotImplementedError:('keys',)
548 d["a"] = FailingMappingKey():NotImplementedError:() 591 d["a"] = FailingMappingKey():NotImplementedError:('getitem:mappingkey',)
592 d["a"] = FailingNumber():TypeError:('long() argument must be a string or a number',)
549 <<< Finished 593 <<< Finished
550 >> DictionaryUpdate 594 >> DictionaryUpdate
551 >>> kwargs 595 >>> kwargs
552 >>> iter 596 >>> iter
553 d.update(FailingMapping()):NotImplementedError:() 597 d.update(FailingMapping()):NotImplementedError:('keys',)
554 d.update([FailingIterNext()]):NotImplementedError:() 598 d.update([FailingIterNext()]):NotImplementedError:('next',)
599 >>> Testing *Iter* using d.update(%s)
600 d.update(FailingIter()):NotImplementedError:('iter',)
601 d.update(FailingIterNext()):NotImplementedError:('next',)
602 <<< Finished
555 >>> Testing StringToChars using d.update({%s : 1}) 603 >>> Testing StringToChars using d.update({%s : 1})
556 d.update({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) 604 d.update({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
557 d.update({u"\0" : 1}):TypeError:('expected string without null bytes',) 605 d.update({u"\0" : 1}):TypeError:('expected string without null bytes',)
558 d.update({"\0" : 1}):TypeError:('expected string without null bytes',) 606 d.update({"\0" : 1}):TypeError:('expected string without null bytes',)
559 <<< Finished 607 <<< Finished
567 d.update({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 615 d.update({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
568 d.update({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 616 d.update({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
569 <<< Finished 617 <<< Finished
570 >>> Testing *Iter* using d.update({"abcF" : %s}) 618 >>> Testing *Iter* using d.update({"abcF" : %s})
571 d.update({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) 619 d.update({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
572 d.update({"abcF" : FailingIterNext()}):NotImplementedError:() 620 d.update({"abcF" : FailingIterNext()}):NotImplementedError:('next',)
573 <<< Finished 621 <<< Finished
574 >>> Testing ConvertFromPyObject using d.update({"abcF" : %s}) 622 >>> Testing ConvertFromPyObject using d.update({"abcF" : %s})
575 d.update({"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',) 623 d.update({"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',)
576 d.update({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',) 624 d.update({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
577 d.update({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',) 625 d.update({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',)
578 d.update({"abcF" : FailingMapping()}):NotImplementedError:() 626 d.update({"abcF" : FailingMapping()}):NotImplementedError:('keys',)
579 d.update({"abcF" : FailingMappingKey()}):NotImplementedError:() 627 d.update({"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',)
628 d.update({"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',)
580 <<< Finished 629 <<< Finished
581 >>> Testing StringToChars using d.update(Mapping({%s : 1})) 630 >>> Testing StringToChars using d.update(Mapping({%s : 1}))
582 d.update(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) 631 d.update(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',)
583 d.update(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) 632 d.update(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
584 d.update(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) 633 d.update(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
593 d.update(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) 642 d.update(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
594 d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) 643 d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
595 <<< Finished 644 <<< Finished
596 >>> Testing *Iter* using d.update(Mapping({"abcG" : %s})) 645 >>> Testing *Iter* using d.update(Mapping({"abcG" : %s}))
597 d.update(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) 646 d.update(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',)
598 d.update(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:() 647 d.update(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',)
599 <<< Finished 648 <<< Finished
600 >>> Testing ConvertFromPyObject using d.update(Mapping({"abcG" : %s})) 649 >>> Testing ConvertFromPyObject using d.update(Mapping({"abcG" : %s}))
601 d.update(Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',) 650 d.update(Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',)
602 d.update(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',) 651 d.update(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
603 d.update(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',) 652 d.update(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',)
604 d.update(Mapping({"abcG" : FailingMapping()})):NotImplementedError:() 653 d.update(Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',)
605 d.update(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:() 654 d.update(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',)
655 d.update(Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',)
606 <<< Finished 656 <<< Finished
607 >>> Testing *Iter* using d.update(%s) 657 >>> Testing *Iter* using d.update(%s)
608 d.update(FailingIter()):NotImplementedError:() 658 d.update(FailingIter()):NotImplementedError:('iter',)
609 d.update(FailingIterNext()):NotImplementedError:() 659 d.update(FailingIterNext()):NotImplementedError:('next',)
610 <<< Finished 660 <<< Finished
611 >>> Testing ConvertFromPyObject using d.update(%s) 661 >>> Testing ConvertFromPyObject using d.update(%s)
612 d.update(None):TypeError:("'NoneType' object is not iterable",) 662 d.update(None):TypeError:("'NoneType' object is not iterable",)
613 d.update({"": 1}):ValueError:('empty keys are not allowed',) 663 d.update({"": 1}):ValueError:('empty keys are not allowed',)
614 d.update({u"": 1}):ValueError:('empty keys are not allowed',) 664 d.update({u"": 1}):ValueError:('empty keys are not allowed',)
615 d.update(FailingMapping()):NotImplementedError:() 665 d.update(FailingMapping()):NotImplementedError:('keys',)
616 d.update(FailingMappingKey()):NotImplementedError:() 666 d.update(FailingMappingKey()):NotImplementedError:('getitem:mappingkey',)
667 d.update(FailingNumber()):TypeError:("'FailingNumber' object is not iterable",)
617 <<< Finished 668 <<< Finished
618 >>> Testing StringToChars using d.update(((%s, 0),)) 669 >>> Testing StringToChars using d.update(((%s, 0),))
619 d.update(((1, 0),)):TypeError:('expected str() or unicode() instance, but got int',) 670 d.update(((1, 0),)):TypeError:('expected str() or unicode() instance, but got int',)
620 d.update(((u"\0", 0),)):TypeError:('expected string without null bytes',) 671 d.update(((u"\0", 0),)):TypeError:('expected string without null bytes',)
621 d.update((("\0", 0),)):TypeError:('expected string without null bytes',) 672 d.update((("\0", 0),)):TypeError:('expected string without null bytes',)
635 d.update((("a", {"abcF" : Mapping({u"\0" : 1})}),)):TypeError:('expected string without null bytes',) 686 d.update((("a", {"abcF" : Mapping({u"\0" : 1})}),)):TypeError:('expected string without null bytes',)
636 d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',) 687 d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',)
637 <<< Finished 688 <<< Finished
638 >>> Testing *Iter* using d.update((("a", {"abcF" : %s}),)) 689 >>> Testing *Iter* using d.update((("a", {"abcF" : %s}),))
639 d.update((("a", {"abcF" : FailingIter()}),)):TypeError:('unable to convert FailingIter to vim structure',) 690 d.update((("a", {"abcF" : FailingIter()}),)):TypeError:('unable to convert FailingIter to vim structure',)
640 d.update((("a", {"abcF" : FailingIterNext()}),)):NotImplementedError:() 691 d.update((("a", {"abcF" : FailingIterNext()}),)):NotImplementedError:('next',)
641 <<< Finished 692 <<< Finished
642 >>> Testing ConvertFromPyObject using d.update((("a", {"abcF" : %s}),)) 693 >>> Testing ConvertFromPyObject using d.update((("a", {"abcF" : %s}),))
643 d.update((("a", {"abcF" : None}),)):TypeError:('unable to convert NoneType to vim structure',) 694 d.update((("a", {"abcF" : None}),)):TypeError:('unable to convert NoneType to vim structure',)
644 d.update((("a", {"abcF" : {"": 1}}),)):ValueError:('empty keys are not allowed',) 695 d.update((("a", {"abcF" : {"": 1}}),)):ValueError:('empty keys are not allowed',)
645 d.update((("a", {"abcF" : {u"": 1}}),)):ValueError:('empty keys are not allowed',) 696 d.update((("a", {"abcF" : {u"": 1}}),)):ValueError:('empty keys are not allowed',)
646 d.update((("a", {"abcF" : FailingMapping()}),)):NotImplementedError:() 697 d.update((("a", {"abcF" : FailingMapping()}),)):NotImplementedError:('keys',)
647 d.update((("a", {"abcF" : FailingMappingKey()}),)):NotImplementedError:() 698 d.update((("a", {"abcF" : FailingMappingKey()}),)):NotImplementedError:('getitem:mappingkey',)
699 d.update((("a", {"abcF" : FailingNumber()}),)):TypeError:('long() argument must be a string or a number',)
648 <<< Finished 700 <<< Finished
649 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),)) 701 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),))
650 d.update((("a", Mapping({1 : 1})),)):TypeError:('expected str() or unicode() instance, but got int',) 702 d.update((("a", Mapping({1 : 1})),)):TypeError:('expected str() or unicode() instance, but got int',)
651 d.update((("a", Mapping({u"\0" : 1})),)):TypeError:('expected string without null bytes',) 703 d.update((("a", Mapping({u"\0" : 1})),)):TypeError:('expected string without null bytes',)
652 d.update((("a", Mapping({"\0" : 1})),)):TypeError:('expected string without null bytes',) 704 d.update((("a", Mapping({"\0" : 1})),)):TypeError:('expected string without null bytes',)
661 d.update((("a", Mapping({"abcG" : Mapping({u"\0" : 1})})),)):TypeError:('expected string without null bytes',) 713 d.update((("a", Mapping({"abcG" : Mapping({u"\0" : 1})})),)):TypeError:('expected string without null bytes',)
662 d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):TypeError:('expected string without null bytes',) 714 d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):TypeError:('expected string without null bytes',)
663 <<< Finished 715 <<< Finished
664 >>> Testing *Iter* using d.update((("a", Mapping({"abcG" : %s})),)) 716 >>> Testing *Iter* using d.update((("a", Mapping({"abcG" : %s})),))
665 d.update((("a", Mapping({"abcG" : FailingIter()})),)):TypeError:('unable to convert FailingIter to vim structure',) 717 d.update((("a", Mapping({"abcG" : FailingIter()})),)):TypeError:('unable to convert FailingIter to vim structure',)
666 d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):NotImplementedError:() 718 d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):NotImplementedError:('next',)
667 <<< Finished 719 <<< Finished
668 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abcG" : %s})),)) 720 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abcG" : %s})),))
669 d.update((("a", Mapping({"abcG" : None})),)):TypeError:('unable to convert NoneType to vim structure',) 721 d.update((("a", Mapping({"abcG" : None})),)):TypeError:('unable to convert NoneType to vim structure',)
670 d.update((("a", Mapping({"abcG" : {"": 1}})),)):ValueError:('empty keys are not allowed',) 722 d.update((("a", Mapping({"abcG" : {"": 1}})),)):ValueError:('empty keys are not allowed',)
671 d.update((("a", Mapping({"abcG" : {u"": 1}})),)):ValueError:('empty keys are not allowed',) 723 d.update((("a", Mapping({"abcG" : {u"": 1}})),)):ValueError:('empty keys are not allowed',)
672 d.update((("a", Mapping({"abcG" : FailingMapping()})),)):NotImplementedError:() 724 d.update((("a", Mapping({"abcG" : FailingMapping()})),)):NotImplementedError:('keys',)
673 d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):NotImplementedError:() 725 d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):NotImplementedError:('getitem:mappingkey',)
726 d.update((("a", Mapping({"abcG" : FailingNumber()})),)):TypeError:('long() argument must be a string or a number',)
674 <<< Finished 727 <<< Finished
675 >>> Testing *Iter* using d.update((("a", %s),)) 728 >>> Testing *Iter* using d.update((("a", %s),))
676 d.update((("a", FailingIter()),)):TypeError:('unable to convert FailingIter to vim structure',) 729 d.update((("a", FailingIter()),)):TypeError:('unable to convert FailingIter to vim structure',)
677 d.update((("a", FailingIterNext()),)):NotImplementedError:() 730 d.update((("a", FailingIterNext()),)):NotImplementedError:('next',)
678 <<< Finished 731 <<< Finished
679 >>> Testing ConvertFromPyObject using d.update((("a", %s),)) 732 >>> Testing ConvertFromPyObject using d.update((("a", %s),))
680 d.update((("a", None),)):TypeError:('unable to convert NoneType to vim structure',) 733 d.update((("a", None),)):TypeError:('unable to convert NoneType to vim structure',)
681 d.update((("a", {"": 1}),)):ValueError:('empty keys are not allowed',) 734 d.update((("a", {"": 1}),)):ValueError:('empty keys are not allowed',)
682 d.update((("a", {u"": 1}),)):ValueError:('empty keys are not allowed',) 735 d.update((("a", {u"": 1}),)):ValueError:('empty keys are not allowed',)
683 d.update((("a", FailingMapping()),)):NotImplementedError:() 736 d.update((("a", FailingMapping()),)):NotImplementedError:('keys',)
684 d.update((("a", FailingMappingKey()),)):NotImplementedError:() 737 d.update((("a", FailingMappingKey()),)):NotImplementedError:('getitem:mappingkey',)
738 d.update((("a", FailingNumber()),)):TypeError:('long() argument must be a string or a number',)
685 <<< Finished 739 <<< Finished
686 >> DictionaryPopItem 740 >> DictionaryPopItem
687 d.popitem(1, 2):TypeError:('popitem() takes no arguments (2 given)',) 741 d.popitem(1, 2):TypeError:('popitem() takes no arguments (2 given)',)
688 >> DictionaryHasKey 742 >> DictionaryHasKey
689 d.has_key():TypeError:('has_key() takes exactly one argument (0 given)',) 743 d.has_key():TypeError:('has_key() takes exactly one argument (0 given)',)
690 > List 744 > List
691 >> ListConstructor 745 >> ListConstructor
692 vim.List(1, 2):TypeError:('function takes at most 1 argument (2 given)',) 746 vim.List(1, 2):TypeError:('function takes at most 1 argument (2 given)',)
693 vim.List(a=1):TypeError:('list constructor does not accept keyword arguments',) 747 vim.List(a=1):TypeError:('list constructor does not accept keyword arguments',)
748 >>> Testing *Iter* using vim.List(%s)
749 vim.List(FailingIter()):NotImplementedError:('iter',)
750 vim.List(FailingIterNext()):NotImplementedError:('next',)
751 <<< Finished
694 >>> Testing StringToChars using vim.List([{%s : 1}]) 752 >>> Testing StringToChars using vim.List([{%s : 1}])
695 vim.List([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',) 753 vim.List([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',)
696 vim.List([{u"\0" : 1}]):TypeError:('expected string without null bytes',) 754 vim.List([{u"\0" : 1}]):TypeError:('expected string without null bytes',)
697 vim.List([{"\0" : 1}]):TypeError:('expected string without null bytes',) 755 vim.List([{"\0" : 1}]):TypeError:('expected string without null bytes',)
698 <<< Finished 756 <<< Finished
706 vim.List([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',) 764 vim.List([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',)
707 vim.List([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',) 765 vim.List([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
708 <<< Finished 766 <<< Finished
709 >>> Testing *Iter* using vim.List([{"abcF" : %s}]) 767 >>> Testing *Iter* using vim.List([{"abcF" : %s}])
710 vim.List([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',) 768 vim.List([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',)
711 vim.List([{"abcF" : FailingIterNext()}]):NotImplementedError:() 769 vim.List([{"abcF" : FailingIterNext()}]):NotImplementedError:('next',)
712 <<< Finished 770 <<< Finished
713 >>> Testing ConvertFromPyObject using vim.List([{"abcF" : %s}]) 771 >>> Testing ConvertFromPyObject using vim.List([{"abcF" : %s}])
714 vim.List([{"abcF" : None}]):TypeError:('unable to convert NoneType to vim structure',) 772 vim.List([{"abcF" : None}]):TypeError:('unable to convert NoneType to vim structure',)
715 vim.List([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',) 773 vim.List([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',)
716 vim.List([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',) 774 vim.List([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',)
717 vim.List([{"abcF" : FailingMapping()}]):NotImplementedError:() 775 vim.List([{"abcF" : FailingMapping()}]):NotImplementedError:('keys',)
718 vim.List([{"abcF" : FailingMappingKey()}]):NotImplementedError:() 776 vim.List([{"abcF" : FailingMappingKey()}]):NotImplementedError:('getitem:mappingkey',)
777 vim.List([{"abcF" : FailingNumber()}]):TypeError:('long() argument must be a string or a number',)
719 <<< Finished 778 <<< Finished
720 >>> Testing StringToChars using vim.List([Mapping({%s : 1})]) 779 >>> Testing StringToChars using vim.List([Mapping({%s : 1})])
721 vim.List([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',) 780 vim.List([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',)
722 vim.List([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',) 781 vim.List([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',)
723 vim.List([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',) 782 vim.List([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',)
732 vim.List([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',) 791 vim.List([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',)
733 vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',) 792 vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
734 <<< Finished 793 <<< Finished
735 >>> Testing *Iter* using vim.List([Mapping({"abcG" : %s})]) 794 >>> Testing *Iter* using vim.List([Mapping({"abcG" : %s})])
736 vim.List([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',) 795 vim.List([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',)
737 vim.List([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:() 796 vim.List([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:('next',)
738 <<< Finished 797 <<< Finished
739 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abcG" : %s})]) 798 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abcG" : %s})])
740 vim.List([Mapping({"abcG" : None})]):TypeError:('unable to convert NoneType to vim structure',) 799 vim.List([Mapping({"abcG" : None})]):TypeError:('unable to convert NoneType to vim structure',)
741 vim.List([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',) 800 vim.List([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',)
742 vim.List([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',) 801 vim.List([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',)
743 vim.List([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:() 802 vim.List([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',)
744 vim.List([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:() 803 vim.List([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',)
804 vim.List([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',)
745 <<< Finished 805 <<< Finished
746 >>> Testing *Iter* using vim.List([%s]) 806 >>> Testing *Iter* using vim.List([%s])
747 vim.List([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',) 807 vim.List([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',)
748 vim.List([FailingIterNext()]):NotImplementedError:() 808 vim.List([FailingIterNext()]):NotImplementedError:('next',)
749 <<< Finished 809 <<< Finished
750 >>> Testing ConvertFromPyObject using vim.List([%s]) 810 >>> Testing ConvertFromPyObject using vim.List([%s])
751 vim.List([None]):TypeError:('unable to convert NoneType to vim structure',) 811 vim.List([None]):TypeError:('unable to convert NoneType to vim structure',)
752 vim.List([{"": 1}]):ValueError:('empty keys are not allowed',) 812 vim.List([{"": 1}]):ValueError:('empty keys are not allowed',)
753 vim.List([{u"": 1}]):ValueError:('empty keys are not allowed',) 813 vim.List([{u"": 1}]):ValueError:('empty keys are not allowed',)
754 vim.List([FailingMapping()]):NotImplementedError:() 814 vim.List([FailingMapping()]):NotImplementedError:('keys',)
755 vim.List([FailingMappingKey()]):NotImplementedError:() 815 vim.List([FailingMappingKey()]):NotImplementedError:('getitem:mappingkey',)
816 vim.List([FailingNumber()]):TypeError:('long() argument must be a string or a number',)
756 <<< Finished 817 <<< Finished
757 >> ListItem 818 >> ListItem
758 l[1000]:IndexError:('list index out of range',) 819 l[1000]:IndexError:('list index out of range',)
759 >> ListAssItem 820 >> ListAssItem
760 ll[1] = 2:error:('list is locked',) 821 ll[1] = 2:error:('list is locked',)
761 l[1000] = 3:IndexError:('list index out of range',) 822 l[1000] = 3:IndexError:('list index out of range',)
762 >> ListAssSlice 823 >> ListAssSlice
763 ll[1:100] = "abcJ":error:('list is locked',) 824 ll[1:100] = "abcJ":error:('list is locked',)
825 >>> Testing *Iter* using l[:] = %s
826 l[:] = FailingIter():NotImplementedError:('iter',)
827 l[:] = FailingIterNext():NotImplementedError:('next',)
828 <<< Finished
764 >>> Testing StringToChars using l[:] = [{%s : 1}] 829 >>> Testing StringToChars using l[:] = [{%s : 1}]
765 l[:] = [{1 : 1}]:TypeError:('expected str() or unicode() instance, but got int',) 830 l[:] = [{1 : 1}]:TypeError:('expected str() or unicode() instance, but got int',)
766 l[:] = [{u"\0" : 1}]:TypeError:('expected string without null bytes',) 831 l[:] = [{u"\0" : 1}]:TypeError:('expected string without null bytes',)
767 l[:] = [{"\0" : 1}]:TypeError:('expected string without null bytes',) 832 l[:] = [{"\0" : 1}]:TypeError:('expected string without null bytes',)
768 <<< Finished 833 <<< Finished
776 l[:] = [{"abcF" : Mapping({u"\0" : 1})}]:TypeError:('expected string without null bytes',) 841 l[:] = [{"abcF" : Mapping({u"\0" : 1})}]:TypeError:('expected string without null bytes',)
777 l[:] = [{"abcF" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',) 842 l[:] = [{"abcF" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',)
778 <<< Finished 843 <<< Finished
779 >>> Testing *Iter* using l[:] = [{"abcF" : %s}] 844 >>> Testing *Iter* using l[:] = [{"abcF" : %s}]
780 l[:] = [{"abcF" : FailingIter()}]:TypeError:('unable to convert FailingIter to vim structure',) 845 l[:] = [{"abcF" : FailingIter()}]:TypeError:('unable to convert FailingIter to vim structure',)
781 l[:] = [{"abcF" : FailingIterNext()}]:NotImplementedError:() 846 l[:] = [{"abcF" : FailingIterNext()}]:NotImplementedError:('next',)
782 <<< Finished 847 <<< Finished
783 >>> Testing ConvertFromPyObject using l[:] = [{"abcF" : %s}] 848 >>> Testing ConvertFromPyObject using l[:] = [{"abcF" : %s}]
784 l[:] = [{"abcF" : None}]:TypeError:('unable to convert NoneType to vim structure',) 849 l[:] = [{"abcF" : None}]:TypeError:('unable to convert NoneType to vim structure',)
785 l[:] = [{"abcF" : {"": 1}}]:ValueError:('empty keys are not allowed',) 850 l[:] = [{"abcF" : {"": 1}}]:ValueError:('empty keys are not allowed',)
786 l[:] = [{"abcF" : {u"": 1}}]:ValueError:('empty keys are not allowed',) 851 l[:] = [{"abcF" : {u"": 1}}]:ValueError:('empty keys are not allowed',)
787 l[:] = [{"abcF" : FailingMapping()}]:NotImplementedError:() 852 l[:] = [{"abcF" : FailingMapping()}]:NotImplementedError:('keys',)
788 l[:] = [{"abcF" : FailingMappingKey()}]:NotImplementedError:() 853 l[:] = [{"abcF" : FailingMappingKey()}]:NotImplementedError:('getitem:mappingkey',)
854 l[:] = [{"abcF" : FailingNumber()}]:TypeError:('long() argument must be a string or a number',)
789 <<< Finished 855 <<< Finished
790 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})] 856 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})]
791 l[:] = [Mapping({1 : 1})]:TypeError:('expected str() or unicode() instance, but got int',) 857 l[:] = [Mapping({1 : 1})]:TypeError:('expected str() or unicode() instance, but got int',)
792 l[:] = [Mapping({u"\0" : 1})]:TypeError:('expected string without null bytes',) 858 l[:] = [Mapping({u"\0" : 1})]:TypeError:('expected string without null bytes',)
793 l[:] = [Mapping({"\0" : 1})]:TypeError:('expected string without null bytes',) 859 l[:] = [Mapping({"\0" : 1})]:TypeError:('expected string without null bytes',)
802 l[:] = [Mapping({"abcG" : Mapping({u"\0" : 1})})]:TypeError:('expected string without null bytes',) 868 l[:] = [Mapping({"abcG" : Mapping({u"\0" : 1})})]:TypeError:('expected string without null bytes',)
803 l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:TypeError:('expected string without null bytes',) 869 l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:TypeError:('expected string without null bytes',)
804 <<< Finished 870 <<< Finished
805 >>> Testing *Iter* using l[:] = [Mapping({"abcG" : %s})] 871 >>> Testing *Iter* using l[:] = [Mapping({"abcG" : %s})]
806 l[:] = [Mapping({"abcG" : FailingIter()})]:TypeError:('unable to convert FailingIter to vim structure',) 872 l[:] = [Mapping({"abcG" : FailingIter()})]:TypeError:('unable to convert FailingIter to vim structure',)
807 l[:] = [Mapping({"abcG" : FailingIterNext()})]:NotImplementedError:() 873 l[:] = [Mapping({"abcG" : FailingIterNext()})]:NotImplementedError:('next',)
808 <<< Finished 874 <<< Finished
809 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abcG" : %s})] 875 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abcG" : %s})]
810 l[:] = [Mapping({"abcG" : None})]:TypeError:('unable to convert NoneType to vim structure',) 876 l[:] = [Mapping({"abcG" : None})]:TypeError:('unable to convert NoneType to vim structure',)
811 l[:] = [Mapping({"abcG" : {"": 1}})]:ValueError:('empty keys are not allowed',) 877 l[:] = [Mapping({"abcG" : {"": 1}})]:ValueError:('empty keys are not allowed',)
812 l[:] = [Mapping({"abcG" : {u"": 1}})]:ValueError:('empty keys are not allowed',) 878 l[:] = [Mapping({"abcG" : {u"": 1}})]:ValueError:('empty keys are not allowed',)
813 l[:] = [Mapping({"abcG" : FailingMapping()})]:NotImplementedError:() 879 l[:] = [Mapping({"abcG" : FailingMapping()})]:NotImplementedError:('keys',)
814 l[:] = [Mapping({"abcG" : FailingMappingKey()})]:NotImplementedError:() 880 l[:] = [Mapping({"abcG" : FailingMappingKey()})]:NotImplementedError:('getitem:mappingkey',)
881 l[:] = [Mapping({"abcG" : FailingNumber()})]:TypeError:('long() argument must be a string or a number',)
815 <<< Finished 882 <<< Finished
816 >>> Testing *Iter* using l[:] = [%s] 883 >>> Testing *Iter* using l[:] = [%s]
817 l[:] = [FailingIter()]:TypeError:('unable to convert FailingIter to vim structure',) 884 l[:] = [FailingIter()]:TypeError:('unable to convert FailingIter to vim structure',)
818 l[:] = [FailingIterNext()]:NotImplementedError:() 885 l[:] = [FailingIterNext()]:NotImplementedError:('next',)
819 <<< Finished 886 <<< Finished
820 >>> Testing ConvertFromPyObject using l[:] = [%s] 887 >>> Testing ConvertFromPyObject using l[:] = [%s]
821 l[:] = [None]:TypeError:('unable to convert NoneType to vim structure',) 888 l[:] = [None]:TypeError:('unable to convert NoneType to vim structure',)
822 l[:] = [{"": 1}]:ValueError:('empty keys are not allowed',) 889 l[:] = [{"": 1}]:ValueError:('empty keys are not allowed',)
823 l[:] = [{u"": 1}]:ValueError:('empty keys are not allowed',) 890 l[:] = [{u"": 1}]:ValueError:('empty keys are not allowed',)
824 l[:] = [FailingMapping()]:NotImplementedError:() 891 l[:] = [FailingMapping()]:NotImplementedError:('keys',)
825 l[:] = [FailingMappingKey()]:NotImplementedError:() 892 l[:] = [FailingMappingKey()]:NotImplementedError:('getitem:mappingkey',)
893 l[:] = [FailingNumber()]:TypeError:('long() argument must be a string or a number',)
826 <<< Finished 894 <<< Finished
827 >> ListConcatInPlace 895 >> ListConcatInPlace
896 >>> Testing *Iter* using l.extend(%s)
897 l.extend(FailingIter()):NotImplementedError:('iter',)
898 l.extend(FailingIterNext()):NotImplementedError:('next',)
899 <<< Finished
828 >>> Testing StringToChars using l.extend([{%s : 1}]) 900 >>> Testing StringToChars using l.extend([{%s : 1}])
829 l.extend([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',) 901 l.extend([{1 : 1}]):TypeError:('expected str() or unicode() instance, but got int',)
830 l.extend([{u"\0" : 1}]):TypeError:('expected string without null bytes',) 902 l.extend([{u"\0" : 1}]):TypeError:('expected string without null bytes',)
831 l.extend([{"\0" : 1}]):TypeError:('expected string without null bytes',) 903 l.extend([{"\0" : 1}]):TypeError:('expected string without null bytes',)
832 <<< Finished 904 <<< Finished
840 l.extend([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',) 912 l.extend([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',)
841 l.extend([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',) 913 l.extend([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
842 <<< Finished 914 <<< Finished
843 >>> Testing *Iter* using l.extend([{"abcF" : %s}]) 915 >>> Testing *Iter* using l.extend([{"abcF" : %s}])
844 l.extend([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',) 916 l.extend([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to vim structure',)
845 l.extend([{"abcF" : FailingIterNext()}]):NotImplementedError:() 917 l.extend([{"abcF" : FailingIterNext()}]):NotImplementedError:('next',)
846 <<< Finished 918 <<< Finished
847 >>> Testing ConvertFromPyObject using l.extend([{"abcF" : %s}]) 919 >>> Testing ConvertFromPyObject using l.extend([{"abcF" : %s}])
848 l.extend([{"abcF" : None}]):TypeError:('unable to convert NoneType to vim structure',) 920 l.extend([{"abcF" : None}]):TypeError:('unable to convert NoneType to vim structure',)
849 l.extend([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',) 921 l.extend([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',)
850 l.extend([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',) 922 l.extend([{"abcF" : {u"": 1}}]):ValueError:('empty keys are not allowed',)
851 l.extend([{"abcF" : FailingMapping()}]):NotImplementedError:() 923 l.extend([{"abcF" : FailingMapping()}]):NotImplementedError:('keys',)
852 l.extend([{"abcF" : FailingMappingKey()}]):NotImplementedError:() 924 l.extend([{"abcF" : FailingMappingKey()}]):NotImplementedError:('getitem:mappingkey',)
925 l.extend([{"abcF" : FailingNumber()}]):TypeError:('long() argument must be a string or a number',)
853 <<< Finished 926 <<< Finished
854 >>> Testing StringToChars using l.extend([Mapping({%s : 1})]) 927 >>> Testing StringToChars using l.extend([Mapping({%s : 1})])
855 l.extend([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',) 928 l.extend([Mapping({1 : 1})]):TypeError:('expected str() or unicode() instance, but got int',)
856 l.extend([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',) 929 l.extend([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',)
857 l.extend([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',) 930 l.extend([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',)
866 l.extend([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',) 939 l.extend([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',)
867 l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',) 940 l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
868 <<< Finished 941 <<< Finished
869 >>> Testing *Iter* using l.extend([Mapping({"abcG" : %s})]) 942 >>> Testing *Iter* using l.extend([Mapping({"abcG" : %s})])
870 l.extend([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',) 943 l.extend([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to vim structure',)
871 l.extend([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:() 944 l.extend([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:('next',)
872 <<< Finished 945 <<< Finished
873 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abcG" : %s})]) 946 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abcG" : %s})])
874 l.extend([Mapping({"abcG" : None})]):TypeError:('unable to convert NoneType to vim structure',) 947 l.extend([Mapping({"abcG" : None})]):TypeError:('unable to convert NoneType to vim structure',)
875 l.extend([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',) 948 l.extend([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',)
876 l.extend([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',) 949 l.extend([Mapping({"abcG" : {u"": 1}})]):ValueError:('empty keys are not allowed',)
877 l.extend([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:() 950 l.extend([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',)
878 l.extend([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:() 951 l.extend([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',)
952 l.extend([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',)
879 <<< Finished 953 <<< Finished
880 >>> Testing *Iter* using l.extend([%s]) 954 >>> Testing *Iter* using l.extend([%s])
881 l.extend([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',) 955 l.extend([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',)
882 l.extend([FailingIterNext()]):NotImplementedError:() 956 l.extend([FailingIterNext()]):NotImplementedError:('next',)
883 <<< Finished 957 <<< Finished
884 >>> Testing ConvertFromPyObject using l.extend([%s]) 958 >>> Testing ConvertFromPyObject using l.extend([%s])
885 l.extend([None]):TypeError:('unable to convert NoneType to vim structure',) 959 l.extend([None]):TypeError:('unable to convert NoneType to vim structure',)
886 l.extend([{"": 1}]):ValueError:('empty keys are not allowed',) 960 l.extend([{"": 1}]):ValueError:('empty keys are not allowed',)
887 l.extend([{u"": 1}]):ValueError:('empty keys are not allowed',) 961 l.extend([{u"": 1}]):ValueError:('empty keys are not allowed',)
888 l.extend([FailingMapping()]):NotImplementedError:() 962 l.extend([FailingMapping()]):NotImplementedError:('keys',)
889 l.extend([FailingMappingKey()]):NotImplementedError:() 963 l.extend([FailingMappingKey()]):NotImplementedError:('getitem:mappingkey',)
964 l.extend([FailingNumber()]):TypeError:('long() argument must be a string or a number',)
890 <<< Finished 965 <<< Finished
891 >> ListSetattr 966 >> ListSetattr
892 del l.locked:AttributeError:('cannot delete vim.List attributes',) 967 del l.locked:AttributeError:('cannot delete vim.List attributes',)
893 l.locked = FailingTrue():NotImplementedError:() 968 l.locked = FailingTrue():NotImplementedError:('bool',)
894 l.xxx = True:AttributeError:('cannot set attribute xxx',) 969 l.xxx = True:AttributeError:('cannot set attribute xxx',)
895 > Function 970 > Function
896 >> FunctionConstructor 971 >> FunctionConstructor
897 vim.Function("123"):ValueError:('unnamed function 123 does not exist',) 972 vim.Function("123"):ValueError:('unnamed function 123 does not exist',)
898 vim.Function("xxx_non_existent_function_xxx"):ValueError:('function xxx_non_existent_function_xxx does not exist',) 973 vim.Function("xxx_non_existent_function_xxx"):ValueError:('function xxx_non_existent_function_xxx does not exist',)
913 f({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 988 f({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
914 f({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 989 f({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
915 <<< Finished 990 <<< Finished
916 >>> Testing *Iter* using f({"abcF" : %s}) 991 >>> Testing *Iter* using f({"abcF" : %s})
917 f({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) 992 f({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
918 f({"abcF" : FailingIterNext()}):NotImplementedError:() 993 f({"abcF" : FailingIterNext()}):NotImplementedError:('next',)
919 <<< Finished 994 <<< Finished
920 >>> Testing ConvertFromPyObject using f({"abcF" : %s}) 995 >>> Testing ConvertFromPyObject using f({"abcF" : %s})
921 f({"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',) 996 f({"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',)
922 f({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',) 997 f({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
923 f({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',) 998 f({"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',)
924 f({"abcF" : FailingMapping()}):NotImplementedError:() 999 f({"abcF" : FailingMapping()}):NotImplementedError:('keys',)
925 f({"abcF" : FailingMappingKey()}):NotImplementedError:() 1000 f({"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',)
1001 f({"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',)
926 <<< Finished 1002 <<< Finished
927 >>> Testing StringToChars using f(Mapping({%s : 1})) 1003 >>> Testing StringToChars using f(Mapping({%s : 1}))
928 f(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) 1004 f(Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',)
929 f(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) 1005 f(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
930 f(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) 1006 f(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
939 f(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) 1015 f(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
940 f(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) 1016 f(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
941 <<< Finished 1017 <<< Finished
942 >>> Testing *Iter* using f(Mapping({"abcG" : %s})) 1018 >>> Testing *Iter* using f(Mapping({"abcG" : %s}))
943 f(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) 1019 f(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',)
944 f(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:() 1020 f(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',)
945 <<< Finished 1021 <<< Finished
946 >>> Testing ConvertFromPyObject using f(Mapping({"abcG" : %s})) 1022 >>> Testing ConvertFromPyObject using f(Mapping({"abcG" : %s}))
947 f(Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',) 1023 f(Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',)
948 f(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',) 1024 f(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
949 f(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',) 1025 f(Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',)
950 f(Mapping({"abcG" : FailingMapping()})):NotImplementedError:() 1026 f(Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',)
951 f(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:() 1027 f(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',)
1028 f(Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',)
952 <<< Finished 1029 <<< Finished
953 >>> Testing *Iter* using f(%s) 1030 >>> Testing *Iter* using f(%s)
954 f(FailingIter()):TypeError:('unable to convert FailingIter to vim structure',) 1031 f(FailingIter()):TypeError:('unable to convert FailingIter to vim structure',)
955 f(FailingIterNext()):NotImplementedError:() 1032 f(FailingIterNext()):NotImplementedError:('next',)
956 <<< Finished 1033 <<< Finished
957 >>> Testing ConvertFromPyObject using f(%s) 1034 >>> Testing ConvertFromPyObject using f(%s)
958 f(None):TypeError:('unable to convert NoneType to vim structure',) 1035 f(None):TypeError:('unable to convert NoneType to vim structure',)
959 f({"": 1}):ValueError:('empty keys are not allowed',) 1036 f({"": 1}):ValueError:('empty keys are not allowed',)
960 f({u"": 1}):ValueError:('empty keys are not allowed',) 1037 f({u"": 1}):ValueError:('empty keys are not allowed',)
961 f(FailingMapping()):NotImplementedError:() 1038 f(FailingMapping()):NotImplementedError:('keys',)
962 f(FailingMappingKey()):NotImplementedError:() 1039 f(FailingMappingKey()):NotImplementedError:('getitem:mappingkey',)
1040 f(FailingNumber()):TypeError:('long() argument must be a string or a number',)
963 <<< Finished 1041 <<< Finished
964 >>> Testing StringToChars using fd(self={%s : 1}) 1042 >>> Testing StringToChars using fd(self={%s : 1})
965 fd(self={1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) 1043 fd(self={1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
966 fd(self={u"\0" : 1}):TypeError:('expected string without null bytes',) 1044 fd(self={u"\0" : 1}):TypeError:('expected string without null bytes',)
967 fd(self={"\0" : 1}):TypeError:('expected string without null bytes',) 1045 fd(self={"\0" : 1}):TypeError:('expected string without null bytes',)
976 fd(self={"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 1054 fd(self={"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
977 fd(self={"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 1055 fd(self={"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
978 <<< Finished 1056 <<< Finished
979 >>> Testing *Iter* using fd(self={"abcF" : %s}) 1057 >>> Testing *Iter* using fd(self={"abcF" : %s})
980 fd(self={"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) 1058 fd(self={"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',)
981 fd(self={"abcF" : FailingIterNext()}):NotImplementedError:() 1059 fd(self={"abcF" : FailingIterNext()}):NotImplementedError:('next',)
982 <<< Finished 1060 <<< Finished
983 >>> Testing ConvertFromPyObject using fd(self={"abcF" : %s}) 1061 >>> Testing ConvertFromPyObject using fd(self={"abcF" : %s})
984 fd(self={"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',) 1062 fd(self={"abcF" : None}):TypeError:('unable to convert NoneType to vim structure',)
985 fd(self={"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',) 1063 fd(self={"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
986 fd(self={"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',) 1064 fd(self={"abcF" : {u"": 1}}):ValueError:('empty keys are not allowed',)
987 fd(self={"abcF" : FailingMapping()}):NotImplementedError:() 1065 fd(self={"abcF" : FailingMapping()}):NotImplementedError:('keys',)
988 fd(self={"abcF" : FailingMappingKey()}):NotImplementedError:() 1066 fd(self={"abcF" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',)
1067 fd(self={"abcF" : FailingNumber()}):TypeError:('long() argument must be a string or a number',)
989 <<< Finished 1068 <<< Finished
990 >>> Testing StringToChars using fd(self=Mapping({%s : 1})) 1069 >>> Testing StringToChars using fd(self=Mapping({%s : 1}))
991 fd(self=Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',) 1070 fd(self=Mapping({1 : 1})):TypeError:('expected str() or unicode() instance, but got int',)
992 fd(self=Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) 1071 fd(self=Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
993 fd(self=Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) 1072 fd(self=Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
1002 fd(self=Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) 1081 fd(self=Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
1003 fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) 1082 fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
1004 <<< Finished 1083 <<< Finished
1005 >>> Testing *Iter* using fd(self=Mapping({"abcG" : %s})) 1084 >>> Testing *Iter* using fd(self=Mapping({"abcG" : %s}))
1006 fd(self=Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',) 1085 fd(self=Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to vim structure',)
1007 fd(self=Mapping({"abcG" : FailingIterNext()})):NotImplementedError:() 1086 fd(self=Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',)
1008 <<< Finished 1087 <<< Finished
1009 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abcG" : %s})) 1088 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abcG" : %s}))
1010 fd(self=Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',) 1089 fd(self=Mapping({"abcG" : None})):TypeError:('unable to convert NoneType to vim structure',)
1011 fd(self=Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',) 1090 fd(self=Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
1012 fd(self=Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',) 1091 fd(self=Mapping({"abcG" : {u"": 1}})):ValueError:('empty keys are not allowed',)
1013 fd(self=Mapping({"abcG" : FailingMapping()})):NotImplementedError:() 1092 fd(self=Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',)
1014 fd(self=Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:() 1093 fd(self=Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',)
1094 fd(self=Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',)
1015 <<< Finished 1095 <<< Finished
1016 >>> Testing *Iter* using fd(self=%s) 1096 >>> Testing *Iter* using fd(self=%s)
1017 fd(self=FailingIter()):TypeError:('unable to convert FailingIter to vim dictionary',) 1097 fd(self=FailingIter()):TypeError:('unable to convert FailingIter to vim dictionary',)
1018 fd(self=FailingIterNext()):TypeError:('unable to convert FailingIterNext to vim dictionary',) 1098 fd(self=FailingIterNext()):TypeError:('unable to convert FailingIterNext to vim dictionary',)
1019 <<< Finished 1099 <<< Finished
1020 >>> Testing ConvertFromPyObject using fd(self=%s) 1100 >>> Testing ConvertFromPyObject using fd(self=%s)
1021 fd(self=None):TypeError:('unable to convert NoneType to vim dictionary',) 1101 fd(self=None):TypeError:('unable to convert NoneType to vim dictionary',)
1022 fd(self={"": 1}):ValueError:('empty keys are not allowed',) 1102 fd(self={"": 1}):ValueError:('empty keys are not allowed',)
1023 fd(self={u"": 1}):ValueError:('empty keys are not allowed',) 1103 fd(self={u"": 1}):ValueError:('empty keys are not allowed',)
1024 fd(self=FailingMapping()):NotImplementedError:() 1104 fd(self=FailingMapping()):NotImplementedError:('keys',)
1025 fd(self=FailingMappingKey()):NotImplementedError:() 1105 fd(self=FailingMappingKey()):NotImplementedError:('getitem:mappingkey',)
1106 fd(self=FailingNumber()):TypeError:('unable to convert FailingNumber to vim dictionary',)
1026 <<< Finished 1107 <<< Finished
1027 >>> Testing ConvertFromPyMapping using fd(self=%s) 1108 >>> Testing ConvertFromPyMapping using fd(self=%s)
1028 fd(self=[]):TypeError:('unable to convert list to vim dictionary',) 1109 fd(self=[]):TypeError:('unable to convert list to vim dictionary',)
1029 <<< Finished 1110 <<< Finished
1030 > TabPage 1111 > TabPage
1038 vim.current.window.xxx:AttributeError:('xxx',) 1119 vim.current.window.xxx:AttributeError:('xxx',)
1039 >> WindowSetattr 1120 >> WindowSetattr
1040 vim.current.window.buffer = 0:TypeError:('readonly attribute: buffer',) 1121 vim.current.window.buffer = 0:TypeError:('readonly attribute: buffer',)
1041 vim.current.window.cursor = (100000000, 100000000):error:('cursor position outside buffer',) 1122 vim.current.window.cursor = (100000000, 100000000):error:('cursor position outside buffer',)
1042 vim.current.window.cursor = True:TypeError:('argument must be 2-item sequence, not bool',) 1123 vim.current.window.cursor = True:TypeError:('argument must be 2-item sequence, not bool',)
1043 vim.current.window.height = "abcK":TypeError:('expected int(), long() or something supporting coercing to long(), but got str',) 1124 >>> Testing NumberToLong using vim.current.window.height = %s
1044 vim.current.window.width = "abcL":TypeError:('expected int(), long() or something supporting coercing to long(), but got str',) 1125 vim.current.window.height = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
1126 vim.current.window.height = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
1127 vim.current.window.height = -1:ValueError:('number must be greater or equal to zero',)
1128 <<< Finished
1129 >>> Testing NumberToLong using vim.current.window.width = %s
1130 vim.current.window.width = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
1131 vim.current.window.width = None:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
1132 vim.current.window.width = -1:ValueError:('number must be greater or equal to zero',)
1133 <<< Finished
1045 vim.current.window.xxxxxx = True:AttributeError:('xxxxxx',) 1134 vim.current.window.xxxxxx = True:AttributeError:('xxxxxx',)
1046 > WinList 1135 > WinList
1047 >> WinListItem 1136 >> WinListItem
1048 vim.windows[1000]:IndexError:('no such window',) 1137 vim.windows[1000]:IndexError:('no such window',)
1049 > Buffer 1138 > Buffer
1050 >> StringToLine (indirect) 1139 >> StringToLine (indirect)
1140 vim.current.buffer[0] = u"\na":error:('string cannot contain newlines',)
1051 vim.current.buffer[0] = "\na":error:('string cannot contain newlines',) 1141 vim.current.buffer[0] = "\na":error:('string cannot contain newlines',)
1052 >> SetBufferLine (indirect) 1142 >> SetBufferLine (indirect)
1053 vim.current.buffer[0] = True:TypeError:('bad argument type for built-in operation',) 1143 vim.current.buffer[0] = True:TypeError:('bad argument type for built-in operation',)
1054 >> SetBufferLineList (indirect) 1144 >> SetBufferLineList (indirect)
1055 vim.current.buffer[:] = True:TypeError:('bad argument type for built-in operation',) 1145 vim.current.buffer[:] = True:TypeError:('bad argument type for built-in operation',)
1073 vim.current.buffer.mark("!"):error:('invalid mark name',) 1163 vim.current.buffer.mark("!"):error:('invalid mark name',)
1074 >> BufferRange 1164 >> BufferRange
1075 vim.current.buffer.range(1, 2, 3):TypeError:('function takes exactly 2 arguments (3 given)',) 1165 vim.current.buffer.range(1, 2, 3):TypeError:('function takes exactly 2 arguments (3 given)',)
1076 > BufMap 1166 > BufMap
1077 >> BufMapItem 1167 >> BufMapItem
1168 vim.buffers[100000000]:KeyError:(100000000,)
1169 >>> Testing NumberToLong using vim.buffers[%s]
1170 vim.buffers[[]]:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',)
1078 vim.buffers[None]:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) 1171 vim.buffers[None]:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',)
1079 vim.buffers[100000000]:KeyError:(100000000,) 1172 vim.buffers[-1]:ValueError:('number must be greater then zero',)
1173 vim.buffers[0]:ValueError:('number must be greater then zero',)
1174 <<< Finished
1080 > Current 1175 > Current
1081 >> CurrentGetattr 1176 >> CurrentGetattr
1082 vim.current.xxx:AttributeError:('xxx',) 1177 vim.current.xxx:AttributeError:('xxx',)
1083 >> CurrentSetattr 1178 >> CurrentSetattr
1084 vim.current.line = True:TypeError:('bad argument type for built-in operation',) 1179 vim.current.line = True:TypeError:('bad argument type for built-in operation',)
1085 vim.current.buffer = True:TypeError:('expected vim.Buffer object, but got bool',) 1180 vim.current.buffer = True:TypeError:('expected vim.Buffer object, but got bool',)
1086 vim.current.window = True:TypeError:('expected vim.Window object, but got bool',) 1181 vim.current.window = True:TypeError:('expected vim.Window object, but got bool',)
1087 vim.current.tabpage = True:TypeError:('expected vim.TabPage object, but got bool',) 1182 vim.current.tabpage = True:TypeError:('expected vim.TabPage object, but got bool',)
1088 vim.current.xxx = True:AttributeError:('xxx',) 1183 vim.current.xxx = True:AttributeError:('xxx',)
1184 ['/testdir']
1185 '/testdir'
1089 2,xx 1186 2,xx
1090 before 1187 before
1091 after 1188 after
1189 pythonx/topmodule/__init__.py
1190 pythonx/topmodule/submodule/__init__.py
1191 pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py
1092 vim.command("throw 'abcN'"):error:('abcN',) 1192 vim.command("throw 'abcN'"):error:('abcN',)
1093 Exe("throw 'def'"):error:('def',) 1193 Exe("throw 'def'"):error:('def',)
1094 vim.eval("Exe('throw ''ghi''')"):error:('ghi',) 1194 vim.eval("Exe('throw ''ghi''')"):error:('ghi',)
1095 vim.eval("Exe('echoerr ''jkl''')"):error:('Vim(echoerr):jkl',) 1195 vim.eval("Exe('echoerr ''jkl''')"):error:('Vim(echoerr):jkl',)
1096 vim.eval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',) 1196 vim.eval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',)