Mercurial > vim
comparison src/testdir/test87.ok @ 20371:9a6eb294b829 v8.2.0741
patch 8.2.0741: Python tests fail because of changed message
Commit: https://github.com/vim/vim/commit/c3fd98cf8e43d48a322402d08fa83444c2b0a4a6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 12 13:08:07 2020 +0200
patch 8.2.0741: Python tests fail because of changed message
Problem: Python tests fail because of changed message.
Solution: Adjust the expected messages (Dominique Pelle, closes https://github.com/vim/vim/issues/6066)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 12 May 2020 13:15:04 +0200 |
parents | e791f29affae |
children |
comparison
equal
deleted
inserted
replaced
20370:501adaf1a72e | 20371:9a6eb294b829 |
---|---|
762 d["a"] = {"abcF" : Mapping({1 : 1})}:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 762 d["a"] = {"abcF" : Mapping({1 : 1})}:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
763 d["a"] = {"abcF" : Mapping({b"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 763 d["a"] = {"abcF" : Mapping({b"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
764 d["a"] = {"abcF" : Mapping({"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 764 d["a"] = {"abcF" : Mapping({"\0" : 1})}:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
765 <<< Finished | 765 <<< Finished |
766 >>> Testing *Iter* using d["a"] = {"abcF" : %s} | 766 >>> Testing *Iter* using d["a"] = {"abcF" : %s} |
767 d["a"] = {"abcF" : FailingIter()}:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 767 d["a"] = {"abcF" : FailingIter()}:(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
768 d["a"] = {"abcF" : FailingIterNext()}:(<class 'NotImplementedError'>, NotImplementedError('next',)) | 768 d["a"] = {"abcF" : FailingIterNext()}:(<class 'NotImplementedError'>, NotImplementedError('next',)) |
769 <<< Finished | 769 <<< Finished |
770 >>> Testing ConvertFromPyObject using d["a"] = {"abcF" : %s} | 770 >>> Testing ConvertFromPyObject using d["a"] = {"abcF" : %s} |
771 d["a"] = {"abcF" : None}:NOT FAILED | 771 d["a"] = {"abcF" : None}:NOT FAILED |
772 d["a"] = {"abcF" : {b"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 772 d["a"] = {"abcF" : {b"": 1}}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
789 d["a"] = Mapping({"abcG" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 789 d["a"] = Mapping({"abcG" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
790 d["a"] = Mapping({"abcG" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 790 d["a"] = Mapping({"abcG" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
791 d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 791 d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
792 <<< Finished | 792 <<< Finished |
793 >>> Testing *Iter* using d["a"] = Mapping({"abcG" : %s}) | 793 >>> Testing *Iter* using d["a"] = Mapping({"abcG" : %s}) |
794 d["a"] = Mapping({"abcG" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 794 d["a"] = Mapping({"abcG" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
795 d["a"] = Mapping({"abcG" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 795 d["a"] = Mapping({"abcG" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
796 <<< Finished | 796 <<< Finished |
797 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abcG" : %s}) | 797 >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abcG" : %s}) |
798 d["a"] = Mapping({"abcG" : None}):NOT FAILED | 798 d["a"] = Mapping({"abcG" : None}):NOT FAILED |
799 d["a"] = Mapping({"abcG" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 799 d["a"] = Mapping({"abcG" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
801 d["a"] = Mapping({"abcG" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError('keys',)) | 801 d["a"] = Mapping({"abcG" : FailingMapping()}):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
802 d["a"] = Mapping({"abcG" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) | 802 d["a"] = Mapping({"abcG" : FailingMappingKey()}):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
803 d["a"] = Mapping({"abcG" : FailingNumber()}):(<class 'NotImplementedError'>, NotImplementedError('int',)) | 803 d["a"] = Mapping({"abcG" : FailingNumber()}):(<class 'NotImplementedError'>, NotImplementedError('int',)) |
804 <<< Finished | 804 <<< Finished |
805 >>> Testing *Iter* using d["a"] = %s | 805 >>> Testing *Iter* using d["a"] = %s |
806 d["a"] = FailingIter():(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 806 d["a"] = FailingIter():(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
807 d["a"] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError('next',)) | 807 d["a"] = FailingIterNext():(<class 'NotImplementedError'>, NotImplementedError('next',)) |
808 <<< Finished | 808 <<< Finished |
809 >>> Testing ConvertFromPyObject using d["a"] = %s | 809 >>> Testing ConvertFromPyObject using d["a"] = %s |
810 d["a"] = None:NOT FAILED | 810 d["a"] = None:NOT FAILED |
811 d["a"] = {b"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 811 d["a"] = {b"": 1}:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
838 d.update({"abcF" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 838 d.update({"abcF" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
839 d.update({"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 839 d.update({"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
840 d.update({"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 840 d.update({"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
841 <<< Finished | 841 <<< Finished |
842 >>> Testing *Iter* using d.update({"abcF" : %s}) | 842 >>> Testing *Iter* using d.update({"abcF" : %s}) |
843 d.update({"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 843 d.update({"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
844 d.update({"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 844 d.update({"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
845 <<< Finished | 845 <<< Finished |
846 >>> Testing ConvertFromPyObject using d.update({"abcF" : %s}) | 846 >>> Testing ConvertFromPyObject using d.update({"abcF" : %s}) |
847 d.update({"abcF" : None}):NOT FAILED | 847 d.update({"abcF" : None}):NOT FAILED |
848 d.update({"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 848 d.update({"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
865 d.update(Mapping({"abcG" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 865 d.update(Mapping({"abcG" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
866 d.update(Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 866 d.update(Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
867 d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 867 d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
868 <<< Finished | 868 <<< Finished |
869 >>> Testing *Iter* using d.update(Mapping({"abcG" : %s})) | 869 >>> Testing *Iter* using d.update(Mapping({"abcG" : %s})) |
870 d.update(Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 870 d.update(Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
871 d.update(Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 871 d.update(Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
872 <<< Finished | 872 <<< Finished |
873 >>> Testing ConvertFromPyObject using d.update(Mapping({"abcG" : %s})) | 873 >>> Testing ConvertFromPyObject using d.update(Mapping({"abcG" : %s})) |
874 d.update(Mapping({"abcG" : None})):NOT FAILED | 874 d.update(Mapping({"abcG" : None})):NOT FAILED |
875 d.update(Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 875 d.update(Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
909 d.update((("a", {"abcF" : Mapping({1 : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 909 d.update((("a", {"abcF" : Mapping({1 : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
910 d.update((("a", {"abcF" : Mapping({b"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 910 d.update((("a", {"abcF" : Mapping({b"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
911 d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 911 d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
912 <<< Finished | 912 <<< Finished |
913 >>> Testing *Iter* using d.update((("a", {"abcF" : %s}),)) | 913 >>> Testing *Iter* using d.update((("a", {"abcF" : %s}),)) |
914 d.update((("a", {"abcF" : FailingIter()}),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 914 d.update((("a", {"abcF" : FailingIter()}),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
915 d.update((("a", {"abcF" : FailingIterNext()}),)):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 915 d.update((("a", {"abcF" : FailingIterNext()}),)):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
916 <<< Finished | 916 <<< Finished |
917 >>> Testing ConvertFromPyObject using d.update((("a", {"abcF" : %s}),)) | 917 >>> Testing ConvertFromPyObject using d.update((("a", {"abcF" : %s}),)) |
918 d.update((("a", {"abcF" : None}),)):(<class 'vim.error'>, error("failed to add key 'a' to dictionary",)) | 918 d.update((("a", {"abcF" : None}),)):(<class 'vim.error'>, error("failed to add key 'a' to dictionary",)) |
919 d.update((("a", {"abcF" : {b"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 919 d.update((("a", {"abcF" : {b"": 1}}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
936 d.update((("a", Mapping({"abcG" : Mapping({1 : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 936 d.update((("a", Mapping({"abcG" : Mapping({1 : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
937 d.update((("a", Mapping({"abcG" : Mapping({b"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 937 d.update((("a", Mapping({"abcG" : Mapping({b"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
938 d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 938 d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
939 <<< Finished | 939 <<< Finished |
940 >>> Testing *Iter* using d.update((("a", Mapping({"abcG" : %s})),)) | 940 >>> Testing *Iter* using d.update((("a", Mapping({"abcG" : %s})),)) |
941 d.update((("a", Mapping({"abcG" : FailingIter()})),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 941 d.update((("a", Mapping({"abcG" : FailingIter()})),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
942 d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 942 d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
943 <<< Finished | 943 <<< Finished |
944 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abcG" : %s})),)) | 944 >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abcG" : %s})),)) |
945 d.update((("a", Mapping({"abcG" : None})),)):(<class 'vim.error'>, error("failed to add key 'a' to dictionary",)) | 945 d.update((("a", Mapping({"abcG" : None})),)):(<class 'vim.error'>, error("failed to add key 'a' to dictionary",)) |
946 d.update((("a", Mapping({"abcG" : {b"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 946 d.update((("a", Mapping({"abcG" : {b"": 1}})),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
948 d.update((("a", Mapping({"abcG" : FailingMapping()})),)):(<class 'NotImplementedError'>, NotImplementedError('keys',)) | 948 d.update((("a", Mapping({"abcG" : FailingMapping()})),)):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
949 d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) | 949 d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
950 d.update((("a", Mapping({"abcG" : FailingNumber()})),)):(<class 'NotImplementedError'>, NotImplementedError('int',)) | 950 d.update((("a", Mapping({"abcG" : FailingNumber()})),)):(<class 'NotImplementedError'>, NotImplementedError('int',)) |
951 <<< Finished | 951 <<< Finished |
952 >>> Testing *Iter* using d.update((("a", %s),)) | 952 >>> Testing *Iter* using d.update((("a", %s),)) |
953 d.update((("a", FailingIter()),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 953 d.update((("a", FailingIter()),)):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
954 d.update((("a", FailingIterNext()),)):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 954 d.update((("a", FailingIterNext()),)):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
955 <<< Finished | 955 <<< Finished |
956 >>> Testing ConvertFromPyObject using d.update((("a", %s),)) | 956 >>> Testing ConvertFromPyObject using d.update((("a", %s),)) |
957 d.update((("a", None),)):(<class 'vim.error'>, error("failed to add key 'a' to dictionary",)) | 957 d.update((("a", None),)):(<class 'vim.error'>, error("failed to add key 'a' to dictionary",)) |
958 d.update((("a", {b"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 958 d.update((("a", {b"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
987 vim.List([{"abcF" : Mapping({1 : 1})}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 987 vim.List([{"abcF" : Mapping({1 : 1})}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
988 vim.List([{"abcF" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 988 vim.List([{"abcF" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
989 vim.List([{"abcF" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 989 vim.List([{"abcF" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
990 <<< Finished | 990 <<< Finished |
991 >>> Testing *Iter* using vim.List([{"abcF" : %s}]) | 991 >>> Testing *Iter* using vim.List([{"abcF" : %s}]) |
992 vim.List([{"abcF" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 992 vim.List([{"abcF" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
993 vim.List([{"abcF" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 993 vim.List([{"abcF" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
994 <<< Finished | 994 <<< Finished |
995 >>> Testing ConvertFromPyObject using vim.List([{"abcF" : %s}]) | 995 >>> Testing ConvertFromPyObject using vim.List([{"abcF" : %s}]) |
996 vim.List([{"abcF" : None}]):NOT FAILED | 996 vim.List([{"abcF" : None}]):NOT FAILED |
997 vim.List([{"abcF" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 997 vim.List([{"abcF" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1014 vim.List([Mapping({"abcG" : Mapping({1 : 1})})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 1014 vim.List([Mapping({"abcG" : Mapping({1 : 1})})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1015 vim.List([Mapping({"abcG" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1015 vim.List([Mapping({"abcG" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1016 vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1016 vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1017 <<< Finished | 1017 <<< Finished |
1018 >>> Testing *Iter* using vim.List([Mapping({"abcG" : %s})]) | 1018 >>> Testing *Iter* using vim.List([Mapping({"abcG" : %s})]) |
1019 vim.List([Mapping({"abcG" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1019 vim.List([Mapping({"abcG" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1020 vim.List([Mapping({"abcG" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1020 vim.List([Mapping({"abcG" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1021 <<< Finished | 1021 <<< Finished |
1022 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abcG" : %s})]) | 1022 >>> Testing ConvertFromPyObject using vim.List([Mapping({"abcG" : %s})]) |
1023 vim.List([Mapping({"abcG" : None})]):NOT FAILED | 1023 vim.List([Mapping({"abcG" : None})]):NOT FAILED |
1024 vim.List([Mapping({"abcG" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1024 vim.List([Mapping({"abcG" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1026 vim.List([Mapping({"abcG" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError('keys',)) | 1026 vim.List([Mapping({"abcG" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
1027 vim.List([Mapping({"abcG" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) | 1027 vim.List([Mapping({"abcG" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
1028 vim.List([Mapping({"abcG" : FailingNumber()})]):(<class 'NotImplementedError'>, NotImplementedError('int',)) | 1028 vim.List([Mapping({"abcG" : FailingNumber()})]):(<class 'NotImplementedError'>, NotImplementedError('int',)) |
1029 <<< Finished | 1029 <<< Finished |
1030 >>> Testing *Iter* using vim.List([%s]) | 1030 >>> Testing *Iter* using vim.List([%s]) |
1031 vim.List([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1031 vim.List([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1032 vim.List([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1032 vim.List([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1033 <<< Finished | 1033 <<< Finished |
1034 >>> Testing ConvertFromPyObject using vim.List([%s]) | 1034 >>> Testing ConvertFromPyObject using vim.List([%s]) |
1035 vim.List([None]):NOT FAILED | 1035 vim.List([None]):NOT FAILED |
1036 vim.List([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1036 vim.List([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1072 l[:] = [{"abcF" : Mapping({1 : 1})}]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 1072 l[:] = [{"abcF" : Mapping({1 : 1})}]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1073 l[:] = [{"abcF" : Mapping({b"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1073 l[:] = [{"abcF" : Mapping({b"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1074 l[:] = [{"abcF" : Mapping({"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1074 l[:] = [{"abcF" : Mapping({"\0" : 1})}]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1075 <<< Finished | 1075 <<< Finished |
1076 >>> Testing *Iter* using l[:] = [{"abcF" : %s}] | 1076 >>> Testing *Iter* using l[:] = [{"abcF" : %s}] |
1077 l[:] = [{"abcF" : FailingIter()}]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1077 l[:] = [{"abcF" : FailingIter()}]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1078 l[:] = [{"abcF" : FailingIterNext()}]:(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1078 l[:] = [{"abcF" : FailingIterNext()}]:(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1079 <<< Finished | 1079 <<< Finished |
1080 >>> Testing ConvertFromPyObject using l[:] = [{"abcF" : %s}] | 1080 >>> Testing ConvertFromPyObject using l[:] = [{"abcF" : %s}] |
1081 l[:] = [{"abcF" : None}]:NOT FAILED | 1081 l[:] = [{"abcF" : None}]:NOT FAILED |
1082 l[:] = [{"abcF" : {b"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1082 l[:] = [{"abcF" : {b"": 1}}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1099 l[:] = [Mapping({"abcG" : Mapping({1 : 1})})]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 1099 l[:] = [Mapping({"abcG" : Mapping({1 : 1})})]:(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1100 l[:] = [Mapping({"abcG" : Mapping({b"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1100 l[:] = [Mapping({"abcG" : Mapping({b"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1101 l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1101 l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1102 <<< Finished | 1102 <<< Finished |
1103 >>> Testing *Iter* using l[:] = [Mapping({"abcG" : %s})] | 1103 >>> Testing *Iter* using l[:] = [Mapping({"abcG" : %s})] |
1104 l[:] = [Mapping({"abcG" : FailingIter()})]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1104 l[:] = [Mapping({"abcG" : FailingIter()})]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1105 l[:] = [Mapping({"abcG" : FailingIterNext()})]:(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1105 l[:] = [Mapping({"abcG" : FailingIterNext()})]:(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1106 <<< Finished | 1106 <<< Finished |
1107 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abcG" : %s})] | 1107 >>> Testing ConvertFromPyObject using l[:] = [Mapping({"abcG" : %s})] |
1108 l[:] = [Mapping({"abcG" : None})]:NOT FAILED | 1108 l[:] = [Mapping({"abcG" : None})]:NOT FAILED |
1109 l[:] = [Mapping({"abcG" : {b"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1109 l[:] = [Mapping({"abcG" : {b"": 1}})]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1111 l[:] = [Mapping({"abcG" : FailingMapping()})]:(<class 'NotImplementedError'>, NotImplementedError('keys',)) | 1111 l[:] = [Mapping({"abcG" : FailingMapping()})]:(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
1112 l[:] = [Mapping({"abcG" : FailingMappingKey()})]:(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) | 1112 l[:] = [Mapping({"abcG" : FailingMappingKey()})]:(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
1113 l[:] = [Mapping({"abcG" : FailingNumber()})]:(<class 'NotImplementedError'>, NotImplementedError('int',)) | 1113 l[:] = [Mapping({"abcG" : FailingNumber()})]:(<class 'NotImplementedError'>, NotImplementedError('int',)) |
1114 <<< Finished | 1114 <<< Finished |
1115 >>> Testing *Iter* using l[:] = [%s] | 1115 >>> Testing *Iter* using l[:] = [%s] |
1116 l[:] = [FailingIter()]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1116 l[:] = [FailingIter()]:(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1117 l[:] = [FailingIterNext()]:(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1117 l[:] = [FailingIterNext()]:(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1118 <<< Finished | 1118 <<< Finished |
1119 >>> Testing ConvertFromPyObject using l[:] = [%s] | 1119 >>> Testing ConvertFromPyObject using l[:] = [%s] |
1120 l[:] = [None]:NOT FAILED | 1120 l[:] = [None]:NOT FAILED |
1121 l[:] = [{b"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1121 l[:] = [{b"": 1}]:(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1143 l.extend([{"abcF" : Mapping({1 : 1})}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 1143 l.extend([{"abcF" : Mapping({1 : 1})}]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1144 l.extend([{"abcF" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1144 l.extend([{"abcF" : Mapping({b"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1145 l.extend([{"abcF" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1145 l.extend([{"abcF" : Mapping({"\0" : 1})}]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1146 <<< Finished | 1146 <<< Finished |
1147 >>> Testing *Iter* using l.extend([{"abcF" : %s}]) | 1147 >>> Testing *Iter* using l.extend([{"abcF" : %s}]) |
1148 l.extend([{"abcF" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1148 l.extend([{"abcF" : FailingIter()}]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1149 l.extend([{"abcF" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1149 l.extend([{"abcF" : FailingIterNext()}]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1150 <<< Finished | 1150 <<< Finished |
1151 >>> Testing ConvertFromPyObject using l.extend([{"abcF" : %s}]) | 1151 >>> Testing ConvertFromPyObject using l.extend([{"abcF" : %s}]) |
1152 l.extend([{"abcF" : None}]):NOT FAILED | 1152 l.extend([{"abcF" : None}]):NOT FAILED |
1153 l.extend([{"abcF" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1153 l.extend([{"abcF" : {b"": 1}}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1170 l.extend([Mapping({"abcG" : Mapping({1 : 1})})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 1170 l.extend([Mapping({"abcG" : Mapping({1 : 1})})]):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1171 l.extend([Mapping({"abcG" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1171 l.extend([Mapping({"abcG" : Mapping({b"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1172 l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1172 l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1173 <<< Finished | 1173 <<< Finished |
1174 >>> Testing *Iter* using l.extend([Mapping({"abcG" : %s})]) | 1174 >>> Testing *Iter* using l.extend([Mapping({"abcG" : %s})]) |
1175 l.extend([Mapping({"abcG" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1175 l.extend([Mapping({"abcG" : FailingIter()})]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1176 l.extend([Mapping({"abcG" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1176 l.extend([Mapping({"abcG" : FailingIterNext()})]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1177 <<< Finished | 1177 <<< Finished |
1178 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abcG" : %s})]) | 1178 >>> Testing ConvertFromPyObject using l.extend([Mapping({"abcG" : %s})]) |
1179 l.extend([Mapping({"abcG" : None})]):NOT FAILED | 1179 l.extend([Mapping({"abcG" : None})]):NOT FAILED |
1180 l.extend([Mapping({"abcG" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1180 l.extend([Mapping({"abcG" : {b"": 1}})]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1182 l.extend([Mapping({"abcG" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError('keys',)) | 1182 l.extend([Mapping({"abcG" : FailingMapping()})]):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
1183 l.extend([Mapping({"abcG" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) | 1183 l.extend([Mapping({"abcG" : FailingMappingKey()})]):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
1184 l.extend([Mapping({"abcG" : FailingNumber()})]):(<class 'NotImplementedError'>, NotImplementedError('int',)) | 1184 l.extend([Mapping({"abcG" : FailingNumber()})]):(<class 'NotImplementedError'>, NotImplementedError('int',)) |
1185 <<< Finished | 1185 <<< Finished |
1186 >>> Testing *Iter* using l.extend([%s]) | 1186 >>> Testing *Iter* using l.extend([%s]) |
1187 l.extend([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1187 l.extend([FailingIter()]):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1188 l.extend([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1188 l.extend([FailingIterNext()]):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1189 <<< Finished | 1189 <<< Finished |
1190 >>> Testing ConvertFromPyObject using l.extend([%s]) | 1190 >>> Testing ConvertFromPyObject using l.extend([%s]) |
1191 l.extend([None]):NOT FAILED | 1191 l.extend([None]):NOT FAILED |
1192 l.extend([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1192 l.extend([{b"": 1}]):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1208 vim.Function("xxx_non_existent_function_xxx2", args=[]):(<class 'ValueError'>, ValueError('function xxx_non_existent_function_xxx2 does not exist',)) | 1208 vim.Function("xxx_non_existent_function_xxx2", args=[]):(<class 'ValueError'>, ValueError('function xxx_non_existent_function_xxx2 does not exist',)) |
1209 vim.Function("xxx_non_existent_function_xxx3", self={}):(<class 'ValueError'>, ValueError('function xxx_non_existent_function_xxx3 does not exist',)) | 1209 vim.Function("xxx_non_existent_function_xxx3", self={}):(<class 'ValueError'>, ValueError('function xxx_non_existent_function_xxx3 does not exist',)) |
1210 vim.Function("xxx_non_existent_function_xxx4", args=[], self={}):(<class 'ValueError'>, ValueError('function xxx_non_existent_function_xxx4 does not exist',)) | 1210 vim.Function("xxx_non_existent_function_xxx4", args=[], self={}):(<class 'ValueError'>, ValueError('function xxx_non_existent_function_xxx4 does not exist',)) |
1211 >>> FunctionNew | 1211 >>> FunctionNew |
1212 vim.Function("tr", self="abcFuncSelf"):(<class 'AttributeError'>, AttributeError('keys',)) | 1212 vim.Function("tr", self="abcFuncSelf"):(<class 'AttributeError'>, AttributeError('keys',)) |
1213 vim.Function("tr", args=427423):(<class 'TypeError'>, TypeError('unable to convert int to vim list',)) | 1213 vim.Function("tr", args=427423):(<class 'TypeError'>, TypeError('unable to convert int to a Vim list',)) |
1214 vim.Function("tr", self="abcFuncSelf2", args="abcFuncArgs2"):(<class 'AttributeError'>, AttributeError('keys',)) | 1214 vim.Function("tr", self="abcFuncSelf2", args="abcFuncArgs2"):(<class 'AttributeError'>, AttributeError('keys',)) |
1215 vim.Function(self="abcFuncSelf2", args="abcFuncArgs2"):(<class 'AttributeError'>, AttributeError('keys',)) | 1215 vim.Function(self="abcFuncSelf2", args="abcFuncArgs2"):(<class 'AttributeError'>, AttributeError('keys',)) |
1216 vim.Function("tr", "", self="abcFuncSelf2", args="abcFuncArgs2"):(<class 'AttributeError'>, AttributeError('keys',)) | 1216 vim.Function("tr", "", self="abcFuncSelf2", args="abcFuncArgs2"):(<class 'AttributeError'>, AttributeError('keys',)) |
1217 vim.Function("tr", ""):(<class 'TypeError'>, TypeError('function takes exactly 1 argument (2 given)',)) | 1217 vim.Function("tr", ""):(<class 'TypeError'>, TypeError('function takes exactly 1 argument (2 given)',)) |
1218 >> FunctionCall | 1218 >> FunctionCall |
1230 f({"abcF" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 1230 f({"abcF" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1231 f({"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1231 f({"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1232 f({"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1232 f({"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1233 <<< Finished | 1233 <<< Finished |
1234 >>> Testing *Iter* using f({"abcF" : %s}) | 1234 >>> Testing *Iter* using f({"abcF" : %s}) |
1235 f({"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1235 f({"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1236 f({"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1236 f({"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1237 <<< Finished | 1237 <<< Finished |
1238 >>> Testing ConvertFromPyObject using f({"abcF" : %s}) | 1238 >>> Testing ConvertFromPyObject using f({"abcF" : %s}) |
1239 f({"abcF" : None}):NOT FAILED | 1239 f({"abcF" : None}):NOT FAILED |
1240 f({"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1240 f({"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1257 f(Mapping({"abcG" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 1257 f(Mapping({"abcG" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1258 f(Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1258 f(Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1259 f(Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1259 f(Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1260 <<< Finished | 1260 <<< Finished |
1261 >>> Testing *Iter* using f(Mapping({"abcG" : %s})) | 1261 >>> Testing *Iter* using f(Mapping({"abcG" : %s})) |
1262 f(Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1262 f(Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1263 f(Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1263 f(Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1264 <<< Finished | 1264 <<< Finished |
1265 >>> Testing ConvertFromPyObject using f(Mapping({"abcG" : %s})) | 1265 >>> Testing ConvertFromPyObject using f(Mapping({"abcG" : %s})) |
1266 f(Mapping({"abcG" : None})):NOT FAILED | 1266 f(Mapping({"abcG" : None})):NOT FAILED |
1267 f(Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1267 f(Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1269 f(Mapping({"abcG" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError('keys',)) | 1269 f(Mapping({"abcG" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
1270 f(Mapping({"abcG" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) | 1270 f(Mapping({"abcG" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
1271 f(Mapping({"abcG" : FailingNumber()})):(<class 'NotImplementedError'>, NotImplementedError('int',)) | 1271 f(Mapping({"abcG" : FailingNumber()})):(<class 'NotImplementedError'>, NotImplementedError('int',)) |
1272 <<< Finished | 1272 <<< Finished |
1273 >>> Testing *Iter* using f(%s) | 1273 >>> Testing *Iter* using f(%s) |
1274 f(FailingIter()):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1274 f(FailingIter()):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1275 f(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1275 f(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1276 <<< Finished | 1276 <<< Finished |
1277 >>> Testing ConvertFromPyObject using f(%s) | 1277 >>> Testing ConvertFromPyObject using f(%s) |
1278 f(None):NOT FAILED | 1278 f(None):NOT FAILED |
1279 f({b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1279 f({b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1296 fd(self={"abcF" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 1296 fd(self={"abcF" : Mapping({1 : 1})}):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1297 fd(self={"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1297 fd(self={"abcF" : Mapping({b"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1298 fd(self={"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1298 fd(self={"abcF" : Mapping({"\0" : 1})}):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1299 <<< Finished | 1299 <<< Finished |
1300 >>> Testing *Iter* using fd(self={"abcF" : %s}) | 1300 >>> Testing *Iter* using fd(self={"abcF" : %s}) |
1301 fd(self={"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1301 fd(self={"abcF" : FailingIter()}):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1302 fd(self={"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1302 fd(self={"abcF" : FailingIterNext()}):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1303 <<< Finished | 1303 <<< Finished |
1304 >>> Testing ConvertFromPyObject using fd(self={"abcF" : %s}) | 1304 >>> Testing ConvertFromPyObject using fd(self={"abcF" : %s}) |
1305 fd(self={"abcF" : None}):NOT FAILED | 1305 fd(self={"abcF" : None}):NOT FAILED |
1306 fd(self={"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1306 fd(self={"abcF" : {b"": 1}}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1323 fd(self=Mapping({"abcG" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) | 1323 fd(self=Mapping({"abcG" : Mapping({1 : 1})})):(<class 'TypeError'>, TypeError('expected bytes() or str() instance, but got int',)) |
1324 fd(self=Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1324 fd(self=Mapping({"abcG" : Mapping({b"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1325 fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) | 1325 fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):(<class 'TypeError'>, TypeError('expected bytes with no null',)) |
1326 <<< Finished | 1326 <<< Finished |
1327 >>> Testing *Iter* using fd(self=Mapping({"abcG" : %s})) | 1327 >>> Testing *Iter* using fd(self=Mapping({"abcG" : %s})) |
1328 fd(self=Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim structure',)) | 1328 fd(self=Mapping({"abcG" : FailingIter()})):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim structure',)) |
1329 fd(self=Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError('next',)) | 1329 fd(self=Mapping({"abcG" : FailingIterNext()})):(<class 'NotImplementedError'>, NotImplementedError('next',)) |
1330 <<< Finished | 1330 <<< Finished |
1331 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abcG" : %s})) | 1331 >>> Testing ConvertFromPyObject using fd(self=Mapping({"abcG" : %s})) |
1332 fd(self=Mapping({"abcG" : None})):NOT FAILED | 1332 fd(self=Mapping({"abcG" : None})):NOT FAILED |
1333 fd(self=Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1333 fd(self=Mapping({"abcG" : {b"": 1}})):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1335 fd(self=Mapping({"abcG" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError('keys',)) | 1335 fd(self=Mapping({"abcG" : FailingMapping()})):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
1336 fd(self=Mapping({"abcG" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) | 1336 fd(self=Mapping({"abcG" : FailingMappingKey()})):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
1337 fd(self=Mapping({"abcG" : FailingNumber()})):(<class 'NotImplementedError'>, NotImplementedError('int',)) | 1337 fd(self=Mapping({"abcG" : FailingNumber()})):(<class 'NotImplementedError'>, NotImplementedError('int',)) |
1338 <<< Finished | 1338 <<< Finished |
1339 >>> Testing *Iter* using fd(self=%s) | 1339 >>> Testing *Iter* using fd(self=%s) |
1340 fd(self=FailingIter()):(<class 'TypeError'>, TypeError('unable to convert FailingIter to vim dictionary',)) | 1340 fd(self=FailingIter()):(<class 'TypeError'>, TypeError('unable to convert FailingIter to a Vim dictionary',)) |
1341 fd(self=FailingIterNext()):(<class 'TypeError'>, TypeError('unable to convert FailingIterNext to vim dictionary',)) | 1341 fd(self=FailingIterNext()):(<class 'TypeError'>, TypeError('unable to convert FailingIterNext to a Vim dictionary',)) |
1342 <<< Finished | 1342 <<< Finished |
1343 >>> Testing ConvertFromPyObject using fd(self=%s) | 1343 >>> Testing ConvertFromPyObject using fd(self=%s) |
1344 fd(self=None):(<class 'TypeError'>, TypeError('unable to convert NoneType to vim dictionary',)) | 1344 fd(self=None):(<class 'TypeError'>, TypeError('unable to convert NoneType to a Vim dictionary',)) |
1345 fd(self={b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1345 fd(self={b"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1346 fd(self={"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 1346 fd(self={"": 1}):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
1347 fd(self=FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError('keys',)) | 1347 fd(self=FailingMapping()):(<class 'NotImplementedError'>, NotImplementedError('keys',)) |
1348 fd(self=FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) | 1348 fd(self=FailingMappingKey()):(<class 'NotImplementedError'>, NotImplementedError('getitem:mappingkey',)) |
1349 fd(self=FailingNumber()):(<class 'TypeError'>, TypeError('unable to convert FailingNumber to vim dictionary',)) | 1349 fd(self=FailingNumber()):(<class 'TypeError'>, TypeError('unable to convert FailingNumber to a Vim dictionary',)) |
1350 <<< Finished | 1350 <<< Finished |
1351 >>> Testing ConvertFromPyMapping using fd(self=%s) | 1351 >>> Testing ConvertFromPyMapping using fd(self=%s) |
1352 fd(self=[]):(<class 'AttributeError'>, AttributeError('keys',)) | 1352 fd(self=[]):(<class 'AttributeError'>, AttributeError('keys',)) |
1353 <<< Finished | 1353 <<< Finished |
1354 > TabPage | 1354 > TabPage |