comparison src/testdir/test86.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})}:TypeError:('expected str() or unicode() instance, but got int',) 762 d["a"] = {"abcF" : Mapping({1 : 1})}:TypeError:('expected str() or unicode() instance, but got int',)
763 d["a"] = {"abcF" : Mapping({u"\0" : 1})}:TypeError:('expected string without null bytes',) 763 d["a"] = {"abcF" : Mapping({u"\0" : 1})}:TypeError:('expected string without null bytes',)
764 d["a"] = {"abcF" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',) 764 d["a"] = {"abcF" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',)
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()}:TypeError:('unable to convert FailingIter to vim structure',) 767 d["a"] = {"abcF" : FailingIter()}:TypeError:('unable to convert FailingIter to a Vim structure',)
768 d["a"] = {"abcF" : FailingIterNext()}:NotImplementedError:('next',) 768 d["a"] = {"abcF" : FailingIterNext()}: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" : {"": 1}}:ValueError:('empty keys are not allowed',) 772 d["a"] = {"abcF" : {"": 1}}:ValueError:('empty keys are not allowed',)
789 d["a"] = Mapping({"abcG" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) 789 d["a"] = Mapping({"abcG" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
790 d["a"] = Mapping({"abcG" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 790 d["a"] = Mapping({"abcG" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
791 d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 791 d["a"] = Mapping({"abcG" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
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()}):TypeError:('unable to convert FailingIter to vim structure',) 794 d["a"] = Mapping({"abcG" : FailingIter()}):TypeError:('unable to convert FailingIter to a Vim structure',)
795 d["a"] = Mapping({"abcG" : FailingIterNext()}):NotImplementedError:('next',) 795 d["a"] = Mapping({"abcG" : FailingIterNext()}):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" : {"": 1}}):ValueError:('empty keys are not allowed',) 799 d["a"] = Mapping({"abcG" : {"": 1}}):ValueError:('empty keys are not allowed',)
801 d["a"] = Mapping({"abcG" : FailingMapping()}):NotImplementedError:('keys',) 801 d["a"] = Mapping({"abcG" : FailingMapping()}):NotImplementedError:('keys',)
802 d["a"] = Mapping({"abcG" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',) 802 d["a"] = Mapping({"abcG" : FailingMappingKey()}):NotImplementedError:('getitem:mappingkey',)
803 d["a"] = Mapping({"abcG" : FailingNumber()}):TypeError:('long() argument must be a string or a number',) 803 d["a"] = Mapping({"abcG" : FailingNumber()}):TypeError:('long() argument must be a string or a number',)
804 <<< Finished 804 <<< Finished
805 >>> Testing *Iter* using d["a"] = %s 805 >>> Testing *Iter* using d["a"] = %s
806 d["a"] = FailingIter():TypeError:('unable to convert FailingIter to vim structure',) 806 d["a"] = FailingIter():TypeError:('unable to convert FailingIter to a Vim structure',)
807 d["a"] = FailingIterNext():NotImplementedError:('next',) 807 d["a"] = FailingIterNext():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"] = {"": 1}:ValueError:('empty keys are not allowed',) 811 d["a"] = {"": 1}:ValueError:('empty keys are not allowed',)
838 d.update({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) 838 d.update({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
839 d.update({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 839 d.update({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
840 d.update({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 840 d.update({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
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()}):TypeError:('unable to convert FailingIter to vim structure',) 843 d.update({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to a Vim structure',)
844 d.update({"abcF" : FailingIterNext()}):NotImplementedError:('next',) 844 d.update({"abcF" : FailingIterNext()}):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" : {"": 1}}):ValueError:('empty keys are not allowed',) 848 d.update({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
865 d.update(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) 865 d.update(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',)
866 d.update(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) 866 d.update(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
867 d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) 867 d.update(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
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()})):TypeError:('unable to convert FailingIter to vim structure',) 870 d.update(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to a Vim structure',)
871 d.update(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',) 871 d.update(Mapping({"abcG" : FailingIterNext()})):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" : {"": 1}})):ValueError:('empty keys are not allowed',) 875 d.update(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
909 d.update((("a", {"abcF" : Mapping({1 : 1})}),)):TypeError:('expected str() or unicode() instance, but got int',) 909 d.update((("a", {"abcF" : Mapping({1 : 1})}),)):TypeError:('expected str() or unicode() instance, but got int',)
910 d.update((("a", {"abcF" : Mapping({u"\0" : 1})}),)):TypeError:('expected string without null bytes',) 910 d.update((("a", {"abcF" : Mapping({u"\0" : 1})}),)):TypeError:('expected string without null bytes',)
911 d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',) 911 d.update((("a", {"abcF" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',)
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()}),)):TypeError:('unable to convert FailingIter to vim structure',) 914 d.update((("a", {"abcF" : FailingIter()}),)):TypeError:('unable to convert FailingIter to a Vim structure',)
915 d.update((("a", {"abcF" : FailingIterNext()}),)):NotImplementedError:('next',) 915 d.update((("a", {"abcF" : FailingIterNext()}),)):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}),)):error:("failed to add key 'a' to dictionary",) 918 d.update((("a", {"abcF" : None}),)):error:("failed to add key 'a' to dictionary",)
919 d.update((("a", {"abcF" : {"": 1}}),)):ValueError:('empty keys are not allowed',) 919 d.update((("a", {"abcF" : {"": 1}}),)):ValueError:('empty keys are not allowed',)
936 d.update((("a", Mapping({"abcG" : Mapping({1 : 1})})),)):TypeError:('expected str() or unicode() instance, but got int',) 936 d.update((("a", Mapping({"abcG" : Mapping({1 : 1})})),)):TypeError:('expected str() or unicode() instance, but got int',)
937 d.update((("a", Mapping({"abcG" : Mapping({u"\0" : 1})})),)):TypeError:('expected string without null bytes',) 937 d.update((("a", Mapping({"abcG" : Mapping({u"\0" : 1})})),)):TypeError:('expected string without null bytes',)
938 d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):TypeError:('expected string without null bytes',) 938 d.update((("a", Mapping({"abcG" : Mapping({"\0" : 1})})),)):TypeError:('expected string without null bytes',)
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()})),)):TypeError:('unable to convert FailingIter to vim structure',) 941 d.update((("a", Mapping({"abcG" : FailingIter()})),)):TypeError:('unable to convert FailingIter to a Vim structure',)
942 d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):NotImplementedError:('next',) 942 d.update((("a", Mapping({"abcG" : FailingIterNext()})),)):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})),)):error:("failed to add key 'a' to dictionary",) 945 d.update((("a", Mapping({"abcG" : None})),)):error:("failed to add key 'a' to dictionary",)
946 d.update((("a", Mapping({"abcG" : {"": 1}})),)):ValueError:('empty keys are not allowed',) 946 d.update((("a", Mapping({"abcG" : {"": 1}})),)):ValueError:('empty keys are not allowed',)
948 d.update((("a", Mapping({"abcG" : FailingMapping()})),)):NotImplementedError:('keys',) 948 d.update((("a", Mapping({"abcG" : FailingMapping()})),)):NotImplementedError:('keys',)
949 d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):NotImplementedError:('getitem:mappingkey',) 949 d.update((("a", Mapping({"abcG" : FailingMappingKey()})),)):NotImplementedError:('getitem:mappingkey',)
950 d.update((("a", Mapping({"abcG" : FailingNumber()})),)):TypeError:('long() argument must be a string or a number',) 950 d.update((("a", Mapping({"abcG" : FailingNumber()})),)):TypeError:('long() argument must be a string or a number',)
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()),)):TypeError:('unable to convert FailingIter to vim structure',) 953 d.update((("a", FailingIter()),)):TypeError:('unable to convert FailingIter to a Vim structure',)
954 d.update((("a", FailingIterNext()),)):NotImplementedError:('next',) 954 d.update((("a", FailingIterNext()),)):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),)):error:("failed to add key 'a' to dictionary",) 957 d.update((("a", None),)):error:("failed to add key 'a' to dictionary",)
958 d.update((("a", {"": 1}),)):ValueError:('empty keys are not allowed',) 958 d.update((("a", {"": 1}),)):ValueError:('empty keys are not allowed',)
987 vim.List([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',) 987 vim.List([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',)
988 vim.List([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',) 988 vim.List([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',)
989 vim.List([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',) 989 vim.List([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
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()}]):TypeError:('unable to convert FailingIter to vim structure',) 992 vim.List([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to a Vim structure',)
993 vim.List([{"abcF" : FailingIterNext()}]):NotImplementedError:('next',) 993 vim.List([{"abcF" : FailingIterNext()}]):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" : {"": 1}}]):ValueError:('empty keys are not allowed',) 997 vim.List([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',)
1014 vim.List([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',) 1014 vim.List([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',)
1015 vim.List([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',) 1015 vim.List([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',)
1016 vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',) 1016 vim.List([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
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()})]):TypeError:('unable to convert FailingIter to vim structure',) 1019 vim.List([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to a Vim structure',)
1020 vim.List([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:('next',) 1020 vim.List([Mapping({"abcG" : FailingIterNext()})]):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" : {"": 1}})]):ValueError:('empty keys are not allowed',) 1024 vim.List([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',)
1026 vim.List([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',) 1026 vim.List([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',)
1027 vim.List([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',) 1027 vim.List([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',)
1028 vim.List([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',) 1028 vim.List([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',)
1029 <<< Finished 1029 <<< Finished
1030 >>> Testing *Iter* using vim.List([%s]) 1030 >>> Testing *Iter* using vim.List([%s])
1031 vim.List([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',) 1031 vim.List([FailingIter()]):TypeError:('unable to convert FailingIter to a Vim structure',)
1032 vim.List([FailingIterNext()]):NotImplementedError:('next',) 1032 vim.List([FailingIterNext()]):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([{"": 1}]):ValueError:('empty keys are not allowed',) 1036 vim.List([{"": 1}]):ValueError:('empty keys are not allowed',)
1072 l[:] = [{"abcF" : Mapping({1 : 1})}]:TypeError:('expected str() or unicode() instance, but got int',) 1072 l[:] = [{"abcF" : Mapping({1 : 1})}]:TypeError:('expected str() or unicode() instance, but got int',)
1073 l[:] = [{"abcF" : Mapping({u"\0" : 1})}]:TypeError:('expected string without null bytes',) 1073 l[:] = [{"abcF" : Mapping({u"\0" : 1})}]:TypeError:('expected string without null bytes',)
1074 l[:] = [{"abcF" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',) 1074 l[:] = [{"abcF" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',)
1075 <<< Finished 1075 <<< Finished
1076 >>> Testing *Iter* using l[:] = [{"abcF" : %s}] 1076 >>> Testing *Iter* using l[:] = [{"abcF" : %s}]
1077 l[:] = [{"abcF" : FailingIter()}]:TypeError:('unable to convert FailingIter to vim structure',) 1077 l[:] = [{"abcF" : FailingIter()}]:TypeError:('unable to convert FailingIter to a Vim structure',)
1078 l[:] = [{"abcF" : FailingIterNext()}]:NotImplementedError:('next',) 1078 l[:] = [{"abcF" : FailingIterNext()}]: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" : {"": 1}}]:ValueError:('empty keys are not allowed',) 1082 l[:] = [{"abcF" : {"": 1}}]:ValueError:('empty keys are not allowed',)
1099 l[:] = [Mapping({"abcG" : Mapping({1 : 1})})]:TypeError:('expected str() or unicode() instance, but got int',) 1099 l[:] = [Mapping({"abcG" : Mapping({1 : 1})})]:TypeError:('expected str() or unicode() instance, but got int',)
1100 l[:] = [Mapping({"abcG" : Mapping({u"\0" : 1})})]:TypeError:('expected string without null bytes',) 1100 l[:] = [Mapping({"abcG" : Mapping({u"\0" : 1})})]:TypeError:('expected string without null bytes',)
1101 l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:TypeError:('expected string without null bytes',) 1101 l[:] = [Mapping({"abcG" : Mapping({"\0" : 1})})]:TypeError:('expected string without null bytes',)
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()})]:TypeError:('unable to convert FailingIter to vim structure',) 1104 l[:] = [Mapping({"abcG" : FailingIter()})]:TypeError:('unable to convert FailingIter to a Vim structure',)
1105 l[:] = [Mapping({"abcG" : FailingIterNext()})]:NotImplementedError:('next',) 1105 l[:] = [Mapping({"abcG" : FailingIterNext()})]: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" : {"": 1}})]:ValueError:('empty keys are not allowed',) 1109 l[:] = [Mapping({"abcG" : {"": 1}})]:ValueError:('empty keys are not allowed',)
1111 l[:] = [Mapping({"abcG" : FailingMapping()})]:NotImplementedError:('keys',) 1111 l[:] = [Mapping({"abcG" : FailingMapping()})]:NotImplementedError:('keys',)
1112 l[:] = [Mapping({"abcG" : FailingMappingKey()})]:NotImplementedError:('getitem:mappingkey',) 1112 l[:] = [Mapping({"abcG" : FailingMappingKey()})]:NotImplementedError:('getitem:mappingkey',)
1113 l[:] = [Mapping({"abcG" : FailingNumber()})]:TypeError:('long() argument must be a string or a number',) 1113 l[:] = [Mapping({"abcG" : FailingNumber()})]:TypeError:('long() argument must be a string or a number',)
1114 <<< Finished 1114 <<< Finished
1115 >>> Testing *Iter* using l[:] = [%s] 1115 >>> Testing *Iter* using l[:] = [%s]
1116 l[:] = [FailingIter()]:TypeError:('unable to convert FailingIter to vim structure',) 1116 l[:] = [FailingIter()]:TypeError:('unable to convert FailingIter to a Vim structure',)
1117 l[:] = [FailingIterNext()]:NotImplementedError:('next',) 1117 l[:] = [FailingIterNext()]: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[:] = [{"": 1}]:ValueError:('empty keys are not allowed',) 1121 l[:] = [{"": 1}]:ValueError:('empty keys are not allowed',)
1143 l.extend([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',) 1143 l.extend([{"abcF" : Mapping({1 : 1})}]):TypeError:('expected str() or unicode() instance, but got int',)
1144 l.extend([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',) 1144 l.extend([{"abcF" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',)
1145 l.extend([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',) 1145 l.extend([{"abcF" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
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()}]):TypeError:('unable to convert FailingIter to vim structure',) 1148 l.extend([{"abcF" : FailingIter()}]):TypeError:('unable to convert FailingIter to a Vim structure',)
1149 l.extend([{"abcF" : FailingIterNext()}]):NotImplementedError:('next',) 1149 l.extend([{"abcF" : FailingIterNext()}]):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" : {"": 1}}]):ValueError:('empty keys are not allowed',) 1153 l.extend([{"abcF" : {"": 1}}]):ValueError:('empty keys are not allowed',)
1170 l.extend([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',) 1170 l.extend([Mapping({"abcG" : Mapping({1 : 1})})]):TypeError:('expected str() or unicode() instance, but got int',)
1171 l.extend([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',) 1171 l.extend([Mapping({"abcG" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',)
1172 l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',) 1172 l.extend([Mapping({"abcG" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
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()})]):TypeError:('unable to convert FailingIter to vim structure',) 1175 l.extend([Mapping({"abcG" : FailingIter()})]):TypeError:('unable to convert FailingIter to a Vim structure',)
1176 l.extend([Mapping({"abcG" : FailingIterNext()})]):NotImplementedError:('next',) 1176 l.extend([Mapping({"abcG" : FailingIterNext()})]):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" : {"": 1}})]):ValueError:('empty keys are not allowed',) 1180 l.extend([Mapping({"abcG" : {"": 1}})]):ValueError:('empty keys are not allowed',)
1182 l.extend([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',) 1182 l.extend([Mapping({"abcG" : FailingMapping()})]):NotImplementedError:('keys',)
1183 l.extend([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',) 1183 l.extend([Mapping({"abcG" : FailingMappingKey()})]):NotImplementedError:('getitem:mappingkey',)
1184 l.extend([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',) 1184 l.extend([Mapping({"abcG" : FailingNumber()})]):TypeError:('long() argument must be a string or a number',)
1185 <<< Finished 1185 <<< Finished
1186 >>> Testing *Iter* using l.extend([%s]) 1186 >>> Testing *Iter* using l.extend([%s])
1187 l.extend([FailingIter()]):TypeError:('unable to convert FailingIter to vim structure',) 1187 l.extend([FailingIter()]):TypeError:('unable to convert FailingIter to a Vim structure',)
1188 l.extend([FailingIterNext()]):NotImplementedError:('next',) 1188 l.extend([FailingIterNext()]):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([{"": 1}]):ValueError:('empty keys are not allowed',) 1192 l.extend([{"": 1}]):ValueError:('empty keys are not allowed',)
1207 vim.Function("xxx#non#existent#function#xxx"):NOT FAILED 1207 vim.Function("xxx#non#existent#function#xxx"):NOT FAILED
1208 vim.Function("xxx_non_existent_function_xxx2", args=[]):ValueError:('function xxx_non_existent_function_xxx2 does not exist',) 1208 vim.Function("xxx_non_existent_function_xxx2", args=[]):ValueError:('function xxx_non_existent_function_xxx2 does not exist',)
1209 vim.Function("xxx_non_existent_function_xxx3", self={}):ValueError:('function xxx_non_existent_function_xxx3 does not exist',) 1209 vim.Function("xxx_non_existent_function_xxx3", self={}):ValueError:('function xxx_non_existent_function_xxx3 does not exist',)
1210 vim.Function("xxx_non_existent_function_xxx4", args=[], self={}):ValueError:('function xxx_non_existent_function_xxx4 does not exist',) 1210 vim.Function("xxx_non_existent_function_xxx4", args=[], self={}):ValueError:('function xxx_non_existent_function_xxx4 does not exist',)
1211 >>> FunctionNew 1211 >>> FunctionNew
1212 vim.Function("tr", self="abcFuncSelf"):TypeError:('unable to convert str to vim dictionary',) 1212 vim.Function("tr", self="abcFuncSelf"):TypeError:('unable to convert str to a Vim dictionary',)
1213 vim.Function("tr", args=427423):TypeError:('unable to convert int to vim list',) 1213 vim.Function("tr", args=427423):TypeError:('unable to convert int to a Vim list',)
1214 vim.Function("tr", self="abcFuncSelf2", args="abcFuncArgs2"):TypeError:('unable to convert str to vim dictionary',) 1214 vim.Function("tr", self="abcFuncSelf2", args="abcFuncArgs2"):TypeError:('unable to convert str to a Vim dictionary',)
1215 vim.Function(self="abcFuncSelf2", args="abcFuncArgs2"):TypeError:('unable to convert str to vim dictionary',) 1215 vim.Function(self="abcFuncSelf2", args="abcFuncArgs2"):TypeError:('unable to convert str to a Vim dictionary',)
1216 vim.Function("tr", "", self="abcFuncSelf2", args="abcFuncArgs2"):TypeError:('unable to convert str to vim dictionary',) 1216 vim.Function("tr", "", self="abcFuncSelf2", args="abcFuncArgs2"):TypeError:('unable to convert str to a Vim dictionary',)
1217 vim.Function("tr", ""):TypeError:('function takes exactly 1 argument (2 given)',) 1217 vim.Function("tr", ""):TypeError:('function takes exactly 1 argument (2 given)',)
1218 >> FunctionCall 1218 >> FunctionCall
1219 >>> Testing StringToChars using f({%s : 1}) 1219 >>> Testing StringToChars using f({%s : 1})
1220 f({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',) 1220 f({1 : 1}):TypeError:('expected str() or unicode() instance, but got int',)
1221 f({u"\0" : 1}):TypeError:('expected string without null bytes',) 1221 f({u"\0" : 1}):TypeError:('expected string without null bytes',)
1230 f({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) 1230 f({"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
1231 f({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 1231 f({"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
1232 f({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 1232 f({"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
1233 <<< Finished 1233 <<< Finished
1234 >>> Testing *Iter* using f({"abcF" : %s}) 1234 >>> Testing *Iter* using f({"abcF" : %s})
1235 f({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to vim structure',) 1235 f({"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to a Vim structure',)
1236 f({"abcF" : FailingIterNext()}):NotImplementedError:('next',) 1236 f({"abcF" : FailingIterNext()}):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" : {"": 1}}):ValueError:('empty keys are not allowed',) 1240 f({"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
1257 f(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) 1257 f(Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',)
1258 f(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) 1258 f(Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
1259 f(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) 1259 f(Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
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()})):TypeError:('unable to convert FailingIter to vim structure',) 1262 f(Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to a Vim structure',)
1263 f(Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',) 1263 f(Mapping({"abcG" : FailingIterNext()})):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" : {"": 1}})):ValueError:('empty keys are not allowed',) 1267 f(Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
1269 f(Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',) 1269 f(Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',)
1270 f(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',) 1270 f(Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',)
1271 f(Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',) 1271 f(Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',)
1272 <<< Finished 1272 <<< Finished
1273 >>> Testing *Iter* using f(%s) 1273 >>> Testing *Iter* using f(%s)
1274 f(FailingIter()):TypeError:('unable to convert FailingIter to vim structure',) 1274 f(FailingIter()):TypeError:('unable to convert FailingIter to a Vim structure',)
1275 f(FailingIterNext()):NotImplementedError:('next',) 1275 f(FailingIterNext()):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({"": 1}):ValueError:('empty keys are not allowed',) 1279 f({"": 1}):ValueError:('empty keys are not allowed',)
1296 fd(self={"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',) 1296 fd(self={"abcF" : Mapping({1 : 1})}):TypeError:('expected str() or unicode() instance, but got int',)
1297 fd(self={"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) 1297 fd(self={"abcF" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
1298 fd(self={"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) 1298 fd(self={"abcF" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
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()}):TypeError:('unable to convert FailingIter to vim structure',) 1301 fd(self={"abcF" : FailingIter()}):TypeError:('unable to convert FailingIter to a Vim structure',)
1302 fd(self={"abcF" : FailingIterNext()}):NotImplementedError:('next',) 1302 fd(self={"abcF" : FailingIterNext()}):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" : {"": 1}}):ValueError:('empty keys are not allowed',) 1306 fd(self={"abcF" : {"": 1}}):ValueError:('empty keys are not allowed',)
1323 fd(self=Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',) 1323 fd(self=Mapping({"abcG" : Mapping({1 : 1})})):TypeError:('expected str() or unicode() instance, but got int',)
1324 fd(self=Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) 1324 fd(self=Mapping({"abcG" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
1325 fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) 1325 fd(self=Mapping({"abcG" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
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()})):TypeError:('unable to convert FailingIter to vim structure',) 1328 fd(self=Mapping({"abcG" : FailingIter()})):TypeError:('unable to convert FailingIter to a Vim structure',)
1329 fd(self=Mapping({"abcG" : FailingIterNext()})):NotImplementedError:('next',) 1329 fd(self=Mapping({"abcG" : FailingIterNext()})):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" : {"": 1}})):ValueError:('empty keys are not allowed',) 1333 fd(self=Mapping({"abcG" : {"": 1}})):ValueError:('empty keys are not allowed',)
1335 fd(self=Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',) 1335 fd(self=Mapping({"abcG" : FailingMapping()})):NotImplementedError:('keys',)
1336 fd(self=Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',) 1336 fd(self=Mapping({"abcG" : FailingMappingKey()})):NotImplementedError:('getitem:mappingkey',)
1337 fd(self=Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',) 1337 fd(self=Mapping({"abcG" : FailingNumber()})):TypeError:('long() argument must be a string or a number',)
1338 <<< Finished 1338 <<< Finished
1339 >>> Testing *Iter* using fd(self=%s) 1339 >>> Testing *Iter* using fd(self=%s)
1340 fd(self=FailingIter()):TypeError:('unable to convert FailingIter to vim dictionary',) 1340 fd(self=FailingIter()):TypeError:('unable to convert FailingIter to a Vim dictionary',)
1341 fd(self=FailingIterNext()):TypeError:('unable to convert FailingIterNext to vim dictionary',) 1341 fd(self=FailingIterNext()):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):TypeError:('unable to convert NoneType to vim dictionary',) 1344 fd(self=None):TypeError:('unable to convert NoneType to a Vim dictionary',)
1345 fd(self={"": 1}):ValueError:('empty keys are not allowed',) 1345 fd(self={"": 1}):ValueError:('empty keys are not allowed',)
1346 fd(self={u"": 1}):ValueError:('empty keys are not allowed',) 1346 fd(self={u"": 1}):ValueError:('empty keys are not allowed',)
1347 fd(self=FailingMapping()):NotImplementedError:('keys',) 1347 fd(self=FailingMapping()):NotImplementedError:('keys',)
1348 fd(self=FailingMappingKey()):NotImplementedError:('getitem:mappingkey',) 1348 fd(self=FailingMappingKey()):NotImplementedError:('getitem:mappingkey',)
1349 fd(self=FailingNumber()):TypeError:('unable to convert FailingNumber to vim dictionary',) 1349 fd(self=FailingNumber()):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=[]):TypeError:('unable to convert list to vim dictionary',) 1352 fd(self=[]):TypeError:('unable to convert list to a Vim dictionary',)
1353 <<< Finished 1353 <<< Finished
1354 > TabPage 1354 > TabPage
1355 >> TabPageAttr 1355 >> TabPageAttr
1356 vim.current.tabpage.xxx:AttributeError:('xxx',) 1356 vim.current.tabpage.xxx:AttributeError:('xxx',)
1357 > TabList 1357 > TabList