Mercurial > vim
comparison src/testdir/test87.ok @ 4706:bf917ee1fad2 v7.3.1100
updated for version 7.3.1100
Problem: Python: a few more memory problems.
Solution: Add and remove Py_XDECREF(). (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 02 Jun 2013 18:54:21 +0200 |
parents | 542af01979be |
children | d59ff2114733 |
comparison
equal
deleted
inserted
replaced
4705:df6e3b069a8d | 4706:bf917ee1fad2 |
---|---|
493 d["a"] = {"abc" : FailingIter()}:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 493 d["a"] = {"abc" : FailingIter()}:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
494 d["a"] = {"abc" : FailingIterNext()}:(<class 'NotImplementedError'>, NotImplementedError()) | 494 d["a"] = {"abc" : FailingIterNext()}:(<class 'NotImplementedError'>, NotImplementedError()) |
495 <<< Finished | 495 <<< Finished |
496 >>> Testing ConvertFromPyObject using d["a"] = {"abc" : %s} | 496 >>> Testing ConvertFromPyObject using d["a"] = {"abc" : %s} |
497 d["a"] = {"abc" : None}:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 497 d["a"] = {"abc" : None}:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
498 d["a"] = {"abc" : {b"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
498 d["a"] = {"abc" : {"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 499 d["a"] = {"abc" : {"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
499 d["a"] = {"abc" : FailingMapping()}:(<class 'NotImplementedError'>, NotImplementedError()) | 500 d["a"] = {"abc" : FailingMapping()}:(<class 'NotImplementedError'>, NotImplementedError()) |
500 d["a"] = {"abc" : FailingMappingKey()}:(<class 'NotImplementedError'>, NotImplementedError()) | 501 d["a"] = {"abc" : FailingMappingKey()}:(<class 'NotImplementedError'>, NotImplementedError()) |
501 <<< Finished | 502 <<< Finished |
502 >>> Testing StringToChars using d["a"] = Mapping({%s : 1}) | 503 >>> Testing StringToChars using d["a"] = Mapping({%s : 1}) |
518 d["a"] = Mapping({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 519 d["a"] = Mapping({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
519 d["a"] = Mapping({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 520 d["a"] = Mapping({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) |
520 <<< Finished | 521 <<< Finished |
521 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abc" : %s}) | 522 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abc" : %s}) |
522 d["a"] = Mapping({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 523 d["a"] = Mapping({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
524 d["a"] = Mapping({"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
523 d["a"] = Mapping({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 525 d["a"] = Mapping({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
524 d["a"] = Mapping({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 526 d["a"] = Mapping({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) |
525 d["a"] = Mapping({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 527 d["a"] = Mapping({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) |
526 <<< Finished | 528 <<< Finished |
527 >>> Testing *Iter* using d["a"] = %s | 529 >>> Testing *Iter* using d["a"] = %s |
528 d["a"] = FailingIter():(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 530 d["a"] = FailingIter():(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
529 d["a"] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError()) | 531 d["a"] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError()) |
530 <<< Finished | 532 <<< Finished |
531 >>> Testing ConvertFromPyObject using d["a"] = %s | 533 >>> Testing ConvertFromPyObject using d["a"] = %s |
532 d["a"] = None:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 534 d["a"] = None:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
535 d["a"] = {b"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
533 d["a"] = {"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 536 d["a"] = {"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
534 d["a"] = FailingMapping():(<class 'NotImplementedError'>, NotImplementedError()) | 537 d["a"] = FailingMapping():(<class 'NotImplementedError'>, NotImplementedError()) |
535 d["a"] = FailingMappingKey():(<class 'NotImplementedError'>, NotImplementedError()) | 538 d["a"] = FailingMappingKey():(<class 'NotImplementedError'>, NotImplementedError()) |
536 <<< Finished | 539 <<< Finished |
537 >> DictionaryUpdate | 540 >> DictionaryUpdate |
562 d.update({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 565 d.update({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
563 d.update({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 566 d.update({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) |
564 <<< Finished | 567 <<< Finished |
565 >>> Testing ConvertFromPyObject using d.update({"abc" : %s}) | 568 >>> Testing ConvertFromPyObject using d.update({"abc" : %s}) |
566 d.update({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 569 d.update({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
570 d.update({"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
567 d.update({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 571 d.update({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
568 d.update({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 572 d.update({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) |
569 d.update({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 573 d.update({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) |
570 <<< Finished | 574 <<< Finished |
571 >>> Testing StringToChars using d.update(Mapping({%s : 1})) | 575 >>> Testing StringToChars using d.update(Mapping({%s : 1})) |
587 d.update(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 591 d.update(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
588 d.update(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) | 592 d.update(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) |
589 <<< Finished | 593 <<< Finished |
590 >>> Testing ConvertFromPyObject using d.update(Mapping({"abc" : %s})) | 594 >>> Testing ConvertFromPyObject using d.update(Mapping({"abc" : %s})) |
591 d.update(Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 595 d.update(Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
596 d.update(Mapping({"abc" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
592 d.update(Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 597 d.update(Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
593 d.update(Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) | 598 d.update(Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) |
594 d.update(Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) | 599 d.update(Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) |
595 <<< Finished | 600 <<< Finished |
596 >>> Testing *Iter* using d.update(%s) | 601 >>> Testing *Iter* using d.update(%s) |
597 d.update(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) | 602 d.update(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) |
598 d.update(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 603 d.update(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) |
599 <<< Finished | 604 <<< Finished |
600 >>> Testing ConvertFromPyObject using d.update(%s) | 605 >>> Testing ConvertFromPyObject using d.update(%s) |
601 d.update(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",)) | 606 d.update(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",)) |
607 d.update({b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
602 d.update({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 608 d.update({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
603 d.update(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) | 609 d.update(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) |
604 d.update(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) | 610 d.update(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) |
605 <<< Finished | 611 <<< Finished |
606 >>> Testing StringToChars using d.update(((%s, 0),)) | 612 >>> Testing StringToChars using d.update(((%s, 0),)) |
627 d.update((("a", {"abc" : FailingIter()}),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 633 d.update((("a", {"abc" : FailingIter()}),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
628 d.update((("a", {"abc" : FailingIterNext()}),)):(<class 'NotImplementedError'>, NotImplementedError()) | 634 d.update((("a", {"abc" : FailingIterNext()}),)):(<class 'NotImplementedError'>, NotImplementedError()) |
629 <<< Finished | 635 <<< Finished |
630 >>> Testing ConvertFromPyObject using d.update((("a", {"abc" : %s}),)) | 636 >>> Testing ConvertFromPyObject using d.update((("a", {"abc" : %s}),)) |
631 d.update((("a", {"abc" : None}),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 637 d.update((("a", {"abc" : None}),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
638 d.update((("a", {"abc" : {b"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
632 d.update((("a", {"abc" : {"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 639 d.update((("a", {"abc" : {"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
633 d.update((("a", {"abc" : FailingMapping()}),)):(<class 'NotImplementedError'>, NotImplementedError()) | 640 d.update((("a", {"abc" : FailingMapping()}),)):(<class 'NotImplementedError'>, NotImplementedError()) |
634 d.update((("a", {"abc" : FailingMappingKey()}),)):(<class 'NotImplementedError'>, NotImplementedError()) | 641 d.update((("a", {"abc" : FailingMappingKey()}),)):(<class 'NotImplementedError'>, NotImplementedError()) |
635 <<< Finished | 642 <<< Finished |
636 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),)) | 643 >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),)) |
652 d.update((("a", Mapping({"abc" : FailingIter()})),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 659 d.update((("a", Mapping({"abc" : FailingIter()})),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
653 d.update((("a", Mapping({"abc" : FailingIterNext()})),)):(<class 'NotImplementedError'>, NotImplementedError()) | 660 d.update((("a", Mapping({"abc" : FailingIterNext()})),)):(<class 'NotImplementedError'>, NotImplementedError()) |
654 <<< Finished | 661 <<< Finished |
655 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abc" : %s})),)) | 662 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abc" : %s})),)) |
656 d.update((("a", Mapping({"abc" : None})),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 663 d.update((("a", Mapping({"abc" : None})),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
664 d.update((("a", Mapping({"abc" : {b"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
657 d.update((("a", Mapping({"abc" : {"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 665 d.update((("a", Mapping({"abc" : {"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
658 d.update((("a", Mapping({"abc" : FailingMapping()})),)):(<class 'NotImplementedError'>, NotImplementedError()) | 666 d.update((("a", Mapping({"abc" : FailingMapping()})),)):(<class 'NotImplementedError'>, NotImplementedError()) |
659 d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):(<class 'NotImplementedError'>, NotImplementedError()) | 667 d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):(<class 'NotImplementedError'>, NotImplementedError()) |
660 <<< Finished | 668 <<< Finished |
661 >>> Testing *Iter* using d.update((("a", %s),)) | 669 >>> Testing *Iter* using d.update((("a", %s),)) |
662 d.update((("a", FailingIter()),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 670 d.update((("a", FailingIter()),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
663 d.update((("a", FailingIterNext()),)):(<class 'NotImplementedError'>, NotImplementedError()) | 671 d.update((("a", FailingIterNext()),)):(<class 'NotImplementedError'>, NotImplementedError()) |
664 <<< Finished | 672 <<< Finished |
665 >>> Testing ConvertFromPyObject using d.update((("a", %s),)) | 673 >>> Testing ConvertFromPyObject using d.update((("a", %s),)) |
666 d.update((("a", None),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 674 d.update((("a", None),)):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
675 d.update((("a", {b"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
667 d.update((("a", {"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 676 d.update((("a", {"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
668 d.update((("a", FailingMapping()),)):(<class 'NotImplementedError'>, NotImplementedError()) | 677 d.update((("a", FailingMapping()),)):(<class 'NotImplementedError'>, NotImplementedError()) |
669 d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError()) | 678 d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError()) |
670 <<< Finished | 679 <<< Finished |
671 >> DictionaryPopItem | 680 >> DictionaryPopItem |
699 vim.List([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 708 vim.List([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
700 vim.List([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 709 vim.List([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
701 <<< Finished | 710 <<< Finished |
702 >>> Testing ConvertFromPyObject using vim.List([{"abc" : %s}]) | 711 >>> Testing ConvertFromPyObject using vim.List([{"abc" : %s}]) |
703 vim.List([{"abc" : None}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 712 vim.List([{"abc" : None}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
713 vim.List([{"abc" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
704 vim.List([{"abc" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 714 vim.List([{"abc" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
705 vim.List([{"abc" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 715 vim.List([{"abc" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
706 vim.List([{"abc" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 716 vim.List([{"abc" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
707 <<< Finished | 717 <<< Finished |
708 >>> Testing StringToChars using vim.List([Mapping({%s : 1})]) | 718 >>> Testing StringToChars using vim.List([Mapping({%s : 1})]) |
724 vim.List([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 734 vim.List([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
725 vim.List([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 735 vim.List([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
726 <<< Finished | 736 <<< Finished |
727 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abc" : %s})]) | 737 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abc" : %s})]) |
728 vim.List([Mapping({"abc" : None})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 738 vim.List([Mapping({"abc" : None})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
739 vim.List([Mapping({"abc" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
729 vim.List([Mapping({"abc" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 740 vim.List([Mapping({"abc" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
730 vim.List([Mapping({"abc" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 741 vim.List([Mapping({"abc" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
731 vim.List([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 742 vim.List([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
732 <<< Finished | 743 <<< Finished |
733 >>> Testing *Iter* using vim.List([%s]) | 744 >>> Testing *Iter* using vim.List([%s]) |
734 vim.List([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 745 vim.List([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
735 vim.List([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError()) | 746 vim.List([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError()) |
736 <<< Finished | 747 <<< Finished |
737 >>> Testing ConvertFromPyObject using vim.List([%s]) | 748 >>> Testing ConvertFromPyObject using vim.List([%s]) |
738 vim.List([None]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 749 vim.List([None]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
750 vim.List([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
739 vim.List([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 751 vim.List([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
740 vim.List([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError()) | 752 vim.List([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError()) |
741 vim.List([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError()) | 753 vim.List([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError()) |
742 <<< Finished | 754 <<< Finished |
743 >> ListItem | 755 >> ListItem |
770 l[:] = [{"abc" : FailingIter()}]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 782 l[:] = [{"abc" : FailingIter()}]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
771 l[:] = [{"abc" : FailingIterNext()}]:(<class 'NotImplementedError'>, NotImplementedError()) | 783 l[:] = [{"abc" : FailingIterNext()}]:(<class 'NotImplementedError'>, NotImplementedError()) |
772 <<< Finished | 784 <<< Finished |
773 >>> Testing ConvertFromPyObject using l[:] = [{"abc" : %s}] | 785 >>> Testing ConvertFromPyObject using l[:] = [{"abc" : %s}] |
774 l[:] = [{"abc" : None}]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 786 l[:] = [{"abc" : None}]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
787 l[:] = [{"abc" : {b"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
775 l[:] = [{"abc" : {"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 788 l[:] = [{"abc" : {"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
776 l[:] = [{"abc" : FailingMapping()}]:(<class 'NotImplementedError'>, NotImplementedError()) | 789 l[:] = [{"abc" : FailingMapping()}]:(<class 'NotImplementedError'>, NotImplementedError()) |
777 l[:] = [{"abc" : FailingMappingKey()}]:(<class 'NotImplementedError'>, NotImplementedError()) | 790 l[:] = [{"abc" : FailingMappingKey()}]:(<class 'NotImplementedError'>, NotImplementedError()) |
778 <<< Finished | 791 <<< Finished |
779 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})] | 792 >>> Testing StringToChars using l[:] = [Mapping({%s : 1})] |
795 l[:] = [Mapping({"abc" : FailingIter()})]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 808 l[:] = [Mapping({"abc" : FailingIter()})]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
796 l[:] = [Mapping({"abc" : FailingIterNext()})]:(<class 'NotImplementedError'>, NotImplementedError()) | 809 l[:] = [Mapping({"abc" : FailingIterNext()})]:(<class 'NotImplementedError'>, NotImplementedError()) |
797 <<< Finished | 810 <<< Finished |
798 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abc" : %s})] | 811 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abc" : %s})] |
799 l[:] = [Mapping({"abc" : None})]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 812 l[:] = [Mapping({"abc" : None})]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
813 l[:] = [Mapping({"abc" : {b"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
800 l[:] = [Mapping({"abc" : {"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 814 l[:] = [Mapping({"abc" : {"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
801 l[:] = [Mapping({"abc" : FailingMapping()})]:(<class 'NotImplementedError'>, NotImplementedError()) | 815 l[:] = [Mapping({"abc" : FailingMapping()})]:(<class 'NotImplementedError'>, NotImplementedError()) |
802 l[:] = [Mapping({"abc" : FailingMappingKey()})]:(<class 'NotImplementedError'>, NotImplementedError()) | 816 l[:] = [Mapping({"abc" : FailingMappingKey()})]:(<class 'NotImplementedError'>, NotImplementedError()) |
803 <<< Finished | 817 <<< Finished |
804 >>> Testing *Iter* using l[:] = [%s] | 818 >>> Testing *Iter* using l[:] = [%s] |
805 l[:] = [FailingIter()]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 819 l[:] = [FailingIter()]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
806 l[:] = [FailingIterNext()]:(<class 'NotImplementedError'>, NotImplementedError()) | 820 l[:] = [FailingIterNext()]:(<class 'NotImplementedError'>, NotImplementedError()) |
807 <<< Finished | 821 <<< Finished |
808 >>> Testing ConvertFromPyObject using l[:] = [%s] | 822 >>> Testing ConvertFromPyObject using l[:] = [%s] |
809 l[:] = [None]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 823 l[:] = [None]:(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
824 l[:] = [{b"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
810 l[:] = [{"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 825 l[:] = [{"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
811 l[:] = [FailingMapping()]:(<class 'NotImplementedError'>, NotImplementedError()) | 826 l[:] = [FailingMapping()]:(<class 'NotImplementedError'>, NotImplementedError()) |
812 l[:] = [FailingMappingKey()]:(<class 'NotImplementedError'>, NotImplementedError()) | 827 l[:] = [FailingMappingKey()]:(<class 'NotImplementedError'>, NotImplementedError()) |
813 <<< Finished | 828 <<< Finished |
814 >> ListConcatInPlace | 829 >> ListConcatInPlace |
835 l.extend([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 850 l.extend([{"abc" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
836 l.extend([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 851 l.extend([{"abc" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
837 <<< Finished | 852 <<< Finished |
838 >>> Testing ConvertFromPyObject using l.extend([{"abc" : %s}]) | 853 >>> Testing ConvertFromPyObject using l.extend([{"abc" : %s}]) |
839 l.extend([{"abc" : None}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 854 l.extend([{"abc" : None}]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
855 l.extend([{"abc" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
840 l.extend([{"abc" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 856 l.extend([{"abc" : {"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
841 l.extend([{"abc" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 857 l.extend([{"abc" : FailingMapping()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
842 l.extend([{"abc" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError()) | 858 l.extend([{"abc" : FailingMappingKey()}]):(<class 'NotImplementedError'>, NotImplementedError()) |
843 <<< Finished | 859 <<< Finished |
844 >>> Testing StringToChars using l.extend([Mapping({%s : 1})]) | 860 >>> Testing StringToChars using l.extend([Mapping({%s : 1})]) |
860 l.extend([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 876 l.extend([Mapping({"abc" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
861 l.extend([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 877 l.extend([Mapping({"abc" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
862 <<< Finished | 878 <<< Finished |
863 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abc" : %s})]) | 879 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abc" : %s})]) |
864 l.extend([Mapping({"abc" : None})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 880 l.extend([Mapping({"abc" : None})]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
881 l.extend([Mapping({"abc" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
865 l.extend([Mapping({"abc" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 882 l.extend([Mapping({"abc" : {"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
866 l.extend([Mapping({"abc" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 883 l.extend([Mapping({"abc" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
867 l.extend([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError()) | 884 l.extend([Mapping({"abc" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError()) |
868 <<< Finished | 885 <<< Finished |
869 >>> Testing *Iter* using l.extend([%s]) | 886 >>> Testing *Iter* using l.extend([%s]) |
870 l.extend([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 887 l.extend([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
871 l.extend([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError()) | 888 l.extend([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError()) |
872 <<< Finished | 889 <<< Finished |
873 >>> Testing ConvertFromPyObject using l.extend([%s]) | 890 >>> Testing ConvertFromPyObject using l.extend([%s]) |
874 l.extend([None]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 891 l.extend([None]):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
892 l.extend([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
875 l.extend([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 893 l.extend([{"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
876 l.extend([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError()) | 894 l.extend([FailingMapping()]):(<class 'NotImplementedError'>, NotImplementedError()) |
877 l.extend([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError()) | 895 l.extend([FailingMappingKey()]):(<class 'NotImplementedError'>, NotImplementedError()) |
878 <<< Finished | 896 <<< Finished |
879 >> ListSetattr | 897 >> ListSetattr |
905 f({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 923 f({"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
906 f({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 924 f({"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) |
907 <<< Finished | 925 <<< Finished |
908 >>> Testing ConvertFromPyObject using f({"abc" : %s}) | 926 >>> Testing ConvertFromPyObject using f({"abc" : %s}) |
909 f({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 927 f({"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
928 f({"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
910 f({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 929 f({"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
911 f({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 930 f({"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) |
912 f({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 931 f({"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) |
913 <<< Finished | 932 <<< Finished |
914 >>> Testing StringToChars using f(Mapping({%s : 1})) | 933 >>> Testing StringToChars using f(Mapping({%s : 1})) |
930 f(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 949 f(Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
931 f(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) | 950 f(Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) |
932 <<< Finished | 951 <<< Finished |
933 >>> Testing ConvertFromPyObject using f(Mapping({"abc" : %s})) | 952 >>> Testing ConvertFromPyObject using f(Mapping({"abc" : %s})) |
934 f(Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 953 f(Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
954 f(Mapping({"abc" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
935 f(Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 955 f(Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
936 f(Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) | 956 f(Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) |
937 f(Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) | 957 f(Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) |
938 <<< Finished | 958 <<< Finished |
939 >>> Testing *Iter* using f(%s) | 959 >>> Testing *Iter* using f(%s) |
940 f(FailingIter()):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 960 f(FailingIter()):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
941 f(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) | 961 f(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) |
942 <<< Finished | 962 <<< Finished |
943 >>> Testing ConvertFromPyObject using f(%s) | 963 >>> Testing ConvertFromPyObject using f(%s) |
944 f(None):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 964 f(None):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
965 f({b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
945 f({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 966 f({"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
946 f(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) | 967 f(FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) |
947 f(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) | 968 f(FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) |
948 <<< Finished | 969 <<< Finished |
949 >>> Testing StringToChars using fd(self={%s : 1}) | 970 >>> Testing StringToChars using fd(self={%s : 1}) |
965 fd(self={"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 986 fd(self={"abc" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
966 fd(self={"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) | 987 fd(self={"abc" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError()) |
967 <<< Finished | 988 <<< Finished |
968 >>> Testing ConvertFromPyObject using fd(self={"abc" : %s}) | 989 >>> Testing ConvertFromPyObject using fd(self={"abc" : %s}) |
969 fd(self={"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 990 fd(self={"abc" : None}):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
991 fd(self={"abc" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
970 fd(self={"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 992 fd(self={"abc" : {"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
971 fd(self={"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) | 993 fd(self={"abc" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError()) |
972 fd(self={"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) | 994 fd(self={"abc" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError()) |
973 <<< Finished | 995 <<< Finished |
974 >>> Testing StringToChars using fd(self=Mapping({%s : 1})) | 996 >>> Testing StringToChars using fd(self=Mapping({%s : 1})) |
990 fd(self=Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 1012 fd(self=Mapping({"abc" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
991 fd(self=Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1013 fd(self=Mapping({"abc" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError()) |
992 <<< Finished | 1014 <<< Finished |
993 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abc" : %s})) | 1015 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abc" : %s})) |
994 fd(self=Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) | 1016 fd(self=Mapping({"abc" : None})):(<class 'TypeError'>, TypeError('unable to convert to vim structure',)) |
1017 fd(self=Mapping({"abc" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
995 fd(self=Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1018 fd(self=Mapping({"abc" : {"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
996 fd(self=Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1019 fd(self=Mapping({"abc" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError()) |
997 fd(self=Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) | 1020 fd(self=Mapping({"abc" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError()) |
998 <<< Finished | 1021 <<< Finished |
999 >>> Testing *Iter* using fd(self=%s) | 1022 >>> Testing *Iter* using fd(self=%s) |
1000 fd(self=FailingIter()):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',)) | 1023 fd(self=FailingIter()):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',)) |
1001 fd(self=FailingIterNext()):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',)) | 1024 fd(self=FailingIterNext()):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',)) |
1002 <<< Finished | 1025 <<< Finished |
1003 >>> Testing ConvertFromPyObject using fd(self=%s) | 1026 >>> Testing ConvertFromPyObject using fd(self=%s) |
1004 fd(self=None):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',)) | 1027 fd(self=None):(<class 'TypeError'>, TypeError('unable to convert object to vim dictionary',)) |
1028 fd(self={b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | |
1005 fd(self={"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1029 fd(self={"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1006 fd(self=FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) | 1030 fd(self=FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError()) |
1007 fd(self=FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) | 1031 fd(self=FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError()) |
1008 <<< Finished | 1032 <<< Finished |
1009 >>> Testing ConvertFromPyMapping using fd(self=%s) | 1033 >>> Testing ConvertFromPyMapping using fd(self=%s) |