diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-12 14:26:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-12 14:26:26 +0200 |
commit | 27610ed76c500cf680fdbac000d269e30dcba54c (patch) | |
tree | 0adbfe3811b9f618eec2b361490c62e921731c26 /src/testdir/test86.ok | |
parent | 9f3685a527c9293b05c8ad7a6a4a7c2fa8b3b8b8 (diff) |
updated for version 7.3.1173v7.3.1173
Problem: Python 2 tests don't have the same output everywhere.
Solution: Make the Python 2 tests more portable. (ZyX)
Diffstat (limited to 'src/testdir/test86.ok')
-rw-r--r-- | src/testdir/test86.ok | 796 |
1 files changed, 398 insertions, 398 deletions
diff --git a/src/testdir/test86.ok b/src/testdir/test86.ok index e981544f02..a4f1ac4051 100644 --- a/src/testdir/test86.ok +++ b/src/testdir/test86.ok @@ -437,658 +437,658 @@ testdir test86.in > Output >> OutputSetattr -del sys.stdout.softspace:(<type 'exceptions.AttributeError'>, AttributeError("can't delete OutputObject attributes",)) -sys.stdout.softspace = []:(<type 'exceptions.TypeError'>, TypeError('softspace must be an integer',)) -sys.stdout.attr = None:(<type 'exceptions.AttributeError'>, AttributeError('invalid attribute',)) +del sys.stdout.softspace:AttributeError:("can't delete OutputObject attributes",) +sys.stdout.softspace = []:TypeError:('softspace must be an integer',) +sys.stdout.attr = None:AttributeError:('invalid attribute',) >> OutputWrite -sys.stdout.write(None):(<type 'exceptions.TypeError'>, TypeError('coercing to Unicode: need string or buffer, NoneType found',)) +sys.stdout.write(None):TypeError:('coercing to Unicode: need string or buffer, NoneType found',) >> OutputWriteLines -sys.stdout.writelines(None):(<type 'exceptions.TypeError'>, TypeError("'NoneType' object is not iterable",)) -sys.stdout.writelines([1]):(<type 'exceptions.TypeError'>, TypeError('writelines() requires list of strings',)) +sys.stdout.writelines(None):TypeError:("'NoneType' object is not iterable",) +sys.stdout.writelines([1]):TypeError:('writelines() requires list of strings',) > VimCommand -vim.command(1):(<type 'exceptions.TypeError'>, TypeError('must be string, not int',)) +vim.command(1):TypeError:('must be string, not int',) > VimToPython > VimEval -vim.eval(1):(<type 'exceptions.TypeError'>, TypeError('must be string, not int',)) +vim.eval(1):TypeError:('must be string, not int',) > VimEvalPy -vim.bindeval(1):(<type 'exceptions.TypeError'>, TypeError('must be string, not int',)) +vim.bindeval(1):TypeError:('must be string, not int',) > VimStrwidth -vim.strwidth(1):(<type 'exceptions.TypeError'>, TypeError('must be string, not int',)) +vim.strwidth(1):TypeError:('must be string, not int',) > Dictionary >> DictionaryConstructor -vim.Dictionary("abc"):(<type 'exceptions.ValueError'>, ValueError('expected sequence element of size 2',)) +vim.Dictionary("abc"):ValueError:('expected sequence element of size 2',) >> DictionarySetattr -del d.locked:(<type 'exceptions.AttributeError'>, AttributeError('cannot delete vim.Dictionary attributes',)) -d.locked = FailingTrue():(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -vim.vvars.locked = False:(<type 'exceptions.TypeError'>, TypeError('cannot modify fixed dictionary',)) -d.scope = True:(<type 'exceptions.AttributeError'>, AttributeError('cannot set this attribute',)) -d.xxx = True:(<type 'exceptions.AttributeError'>, AttributeError('cannot set this attribute',)) +del d.locked:AttributeError:('cannot delete vim.Dictionary attributes',) +d.locked = FailingTrue():NotImplementedError:() +vim.vvars.locked = False:TypeError:('cannot modify fixed dictionary',) +d.scope = True:AttributeError:('cannot set this attribute',) +d.xxx = True:AttributeError:('cannot set this attribute',) >> _DictionaryItem -d.get("a", 2, 3):(<type 'exceptions.TypeError'>, TypeError('function takes at most 2 arguments (3 given)',)) +d.get("a", 2, 3):TypeError:('function takes at most 2 arguments (3 given)',) >>> Testing StringToChars using d.get(%s) -d.get(1):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.get(u"\0"):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.get("\0"):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.get(1):TypeError:('object must be string',) +d.get(u"\0"):TypeError:('expected string without null bytes',) +d.get("\0"):TypeError:('expected string without null bytes',) <<< Finished -d.pop("a"):(<type 'exceptions.KeyError'>, KeyError('a',)) -dl.pop("a"):(<class 'vim.error'>, error('dict is locked',)) +d.pop("a"):KeyError:('a',) +dl.pop("a"):error:('dict is locked',) >> DictionaryIterNext -for i in ned: ned["a"] = 1:(<type 'exceptions.RuntimeError'>, RuntimeError('hashtab changed during iteration',)) +for i in ned: ned["a"] = 1:RuntimeError:('hashtab changed during iteration',) >> DictionaryAssItem -dl["b"] = 1:(<class 'vim.error'>, error('dict is locked',)) +dl["b"] = 1:error:('dict is locked',) >>> Testing StringToChars using d[%s] = 1 -d[1] = 1:(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d[u"\0"] = 1:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d["\0"] = 1:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d[1] = 1:TypeError:('object must be string',) +d[u"\0"] = 1:TypeError:('expected string without null bytes',) +d["\0"] = 1:TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d["a"] = {%s : 1} -d["a"] = {1 : 1}:(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d["a"] = {u"\0" : 1}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d["a"] = {"\0" : 1}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d["a"] = {1 : 1}:TypeError:('object must be string',) +d["a"] = {u"\0" : 1}:TypeError:('expected string without null bytes',) +d["a"] = {"\0" : 1}:TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d["a"] = {"abc" : {%s : 1}} -d["a"] = {"abc" : {1 : 1}}:(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d["a"] = {"abc" : {u"\0" : 1}}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d["a"] = {"abc" : {"\0" : 1}}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d["a"] = {"abc" : {1 : 1}}:TypeError:('object must be string',) +d["a"] = {"abc" : {u"\0" : 1}}:TypeError:('expected string without null bytes',) +d["a"] = {"abc" : {"\0" : 1}}:TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d["a"] = {"abc" : Mapping({%s : 1})} -d["a"] = {"abc" : Mapping({1 : 1})}:(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d["a"] = {"abc" : Mapping({u"\0" : 1})}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d["a"] = {"abc" : Mapping({"\0" : 1})}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d["a"] = {"abc" : Mapping({1 : 1})}:TypeError:('object must be string',) +d["a"] = {"abc" : Mapping({u"\0" : 1})}:TypeError:('expected string without null bytes',) +d["a"] = {"abc" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',) <<< Finished >>> Testing *Iter* using d["a"] = {"abc" : %s} -d["a"] = {"abc" : FailingIter()}:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d["a"] = {"abc" : FailingIterNext()}:(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d["a"] = {"abc" : FailingIter()}:TypeError:('unable to convert to vim structure',) +d["a"] = {"abc" : FailingIterNext()}:NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using d["a"] = {"abc" : %s} -d["a"] = {"abc" : None}:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d["a"] = {"abc" : {"": 1}}:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d["a"] = {"abc" : {u"": 1}}:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d["a"] = {"abc" : FailingMapping()}:(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -d["a"] = {"abc" : FailingMappingKey()}:(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d["a"] = {"abc" : None}:TypeError:('unable to convert to vim structure',) +d["a"] = {"abc" : {"": 1}}:ValueError:('empty keys are not allowed',) +d["a"] = {"abc" : {u"": 1}}:ValueError:('empty keys are not allowed',) +d["a"] = {"abc" : FailingMapping()}:NotImplementedError:() +d["a"] = {"abc" : FailingMappingKey()}:NotImplementedError:() <<< Finished >>> Testing StringToChars using d["a"] = Mapping({%s : 1}) -d["a"] = Mapping({1 : 1}):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d["a"] = Mapping({u"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d["a"] = Mapping({"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d["a"] = Mapping({1 : 1}):TypeError:('object must be string',) +d["a"] = Mapping({u"\0" : 1}):TypeError:('expected string without null bytes',) +d["a"] = Mapping({"\0" : 1}):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d["a"] = Mapping({"abc" : {%s : 1}}) -d["a"] = Mapping({"abc" : {1 : 1}}):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d["a"] = Mapping({"abc" : {u"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d["a"] = Mapping({"abc" : {"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d["a"] = Mapping({"abc" : {1 : 1}}):TypeError:('object must be string',) +d["a"] = Mapping({"abc" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) +d["a"] = Mapping({"abc" : {"\0" : 1}}):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d["a"] = Mapping({"abc" : Mapping({%s : 1})}) -d["a"] = Mapping({"abc" : Mapping({1 : 1})}):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d["a"] = Mapping({"abc" : Mapping({u"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d["a"] = Mapping({"abc" : Mapping({"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d["a"] = Mapping({"abc" : Mapping({1 : 1})}):TypeError:('object must be string',) +d["a"] = Mapping({"abc" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) +d["a"] = Mapping({"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) <<< Finished >>> Testing *Iter* using d["a"] = Mapping({"abc" : %s}) -d["a"] = Mapping({"abc" : FailingIter()}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d["a"] = Mapping({"abc" : FailingIterNext()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d["a"] = Mapping({"abc" : FailingIter()}):TypeError:('unable to convert to vim structure',) +d["a"] = Mapping({"abc" : FailingIterNext()}):NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using d["a"] = Mapping({"abc" : %s}) -d["a"] = Mapping({"abc" : None}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d["a"] = Mapping({"abc" : {"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d["a"] = Mapping({"abc" : {u"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d["a"] = Mapping({"abc" : FailingMapping()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -d["a"] = Mapping({"abc" : FailingMappingKey()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d["a"] = Mapping({"abc" : None}):TypeError:('unable to convert to vim structure',) +d["a"] = Mapping({"abc" : {"": 1}}):ValueError:('empty keys are not allowed',) +d["a"] = Mapping({"abc" : {u"": 1}}):ValueError:('empty keys are not allowed',) +d["a"] = Mapping({"abc" : FailingMapping()}):NotImplementedError:() +d["a"] = Mapping({"abc" : FailingMappingKey()}):NotImplementedError:() <<< Finished >>> Testing *Iter* using d["a"] = %s -d["a"] = FailingIter():(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d["a"] = FailingIterNext():(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d["a"] = FailingIter():TypeError:('unable to convert to vim structure',) +d["a"] = FailingIterNext():NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using d["a"] = %s -d["a"] = None:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d["a"] = {"": 1}:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d["a"] = {u"": 1}:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d["a"] = FailingMapping():(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -d["a"] = FailingMappingKey():(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d["a"] = None:TypeError:('unable to convert to vim structure',) +d["a"] = {"": 1}:ValueError:('empty keys are not allowed',) +d["a"] = {u"": 1}:ValueError:('empty keys are not allowed',) +d["a"] = FailingMapping():NotImplementedError:() +d["a"] = FailingMappingKey():NotImplementedError:() <<< Finished >> DictionaryUpdate >>> kwargs >>> iter -d.update(FailingMapping()):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -d.update([FailingIterNext()]):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update(FailingMapping()):NotImplementedError:() +d.update([FailingIterNext()]):NotImplementedError:() >>> Testing StringToChars using d.update({%s : 1}) -d.update({1 : 1}):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update({u"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update({"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update({1 : 1}):TypeError:('object must be string',) +d.update({u"\0" : 1}):TypeError:('expected string without null bytes',) +d.update({"\0" : 1}):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d.update({"abc" : {%s : 1}}) -d.update({"abc" : {1 : 1}}):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update({"abc" : {u"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update({"abc" : {"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update({"abc" : {1 : 1}}):TypeError:('object must be string',) +d.update({"abc" : {u"\0" : 1}}):TypeError:('expected string without null bytes',) +d.update({"abc" : {"\0" : 1}}):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d.update({"abc" : Mapping({%s : 1})}) -d.update({"abc" : Mapping({1 : 1})}):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update({"abc" : Mapping({u"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update({"abc" : Mapping({"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update({"abc" : Mapping({1 : 1})}):TypeError:('object must be string',) +d.update({"abc" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',) +d.update({"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',) <<< Finished >>> Testing *Iter* using d.update({"abc" : %s}) -d.update({"abc" : FailingIter()}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d.update({"abc" : FailingIterNext()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update({"abc" : FailingIter()}):TypeError:('unable to convert to vim structure',) +d.update({"abc" : FailingIterNext()}):NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using d.update({"abc" : %s}) -d.update({"abc" : None}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d.update({"abc" : {"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update({"abc" : {u"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update({"abc" : FailingMapping()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -d.update({"abc" : FailingMappingKey()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update({"abc" : None}):TypeError:('unable to convert to vim structure',) +d.update({"abc" : {"": 1}}):ValueError:('empty keys are not allowed',) +d.update({"abc" : {u"": 1}}):ValueError:('empty keys are not allowed',) +d.update({"abc" : FailingMapping()}):NotImplementedError:() +d.update({"abc" : FailingMappingKey()}):NotImplementedError:() <<< Finished >>> Testing StringToChars using d.update(Mapping({%s : 1})) -d.update(Mapping({1 : 1})):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update(Mapping({u"\0" : 1})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update(Mapping({"\0" : 1})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update(Mapping({1 : 1})):TypeError:('object must be string',) +d.update(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',) +d.update(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d.update(Mapping({"abc" : {%s : 1}})) -d.update(Mapping({"abc" : {1 : 1}})):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update(Mapping({"abc" : {u"\0" : 1}})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update(Mapping({"abc" : {"\0" : 1}})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update(Mapping({"abc" : {1 : 1}})):TypeError:('object must be string',) +d.update(Mapping({"abc" : {u"\0" : 1}})):TypeError:('expected string without null bytes',) +d.update(Mapping({"abc" : {"\0" : 1}})):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d.update(Mapping({"abc" : Mapping({%s : 1})})) -d.update(Mapping({"abc" : Mapping({1 : 1})})):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update(Mapping({"abc" : Mapping({u"\0" : 1})})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update(Mapping({"abc" : Mapping({"\0" : 1})})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update(Mapping({"abc" : Mapping({1 : 1})})):TypeError:('object must be string',) +d.update(Mapping({"abc" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',) +d.update(Mapping({"abc" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',) <<< Finished >>> Testing *Iter* using d.update(Mapping({"abc" : %s})) -d.update(Mapping({"abc" : FailingIter()})):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d.update(Mapping({"abc" : FailingIterNext()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update(Mapping({"abc" : FailingIter()})):TypeError:('unable to convert to vim structure',) +d.update(Mapping({"abc" : FailingIterNext()})):NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using d.update(Mapping({"abc" : %s})) -d.update(Mapping({"abc" : None})):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d.update(Mapping({"abc" : {"": 1}})):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update(Mapping({"abc" : {u"": 1}})):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update(Mapping({"abc" : FailingMapping()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -d.update(Mapping({"abc" : FailingMappingKey()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update(Mapping({"abc" : None})):TypeError:('unable to convert to vim structure',) +d.update(Mapping({"abc" : {"": 1}})):ValueError:('empty keys are not allowed',) +d.update(Mapping({"abc" : {u"": 1}})):ValueError:('empty keys are not allowed',) +d.update(Mapping({"abc" : FailingMapping()})):NotImplementedError:() +d.update(Mapping({"abc" : FailingMappingKey()})):NotImplementedError:() <<< Finished >>> Testing *Iter* using d.update(%s) -d.update(FailingIter()):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -d.update(FailingIterNext()):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update(FailingIter()):NotImplementedError:() +d.update(FailingIterNext()):NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using d.update(%s) -d.update(None):(<type 'exceptions.TypeError'>, TypeError("'NoneType' object is not iterable",)) -d.update({"": 1}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update({u"": 1}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update(FailingMapping()):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -d.update(FailingMappingKey()):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update(None):TypeError:("'NoneType' object is not iterable",) +d.update({"": 1}):ValueError:('empty keys are not allowed',) +d.update({u"": 1}):ValueError:('empty keys are not allowed',) +d.update(FailingMapping()):NotImplementedError:() +d.update(FailingMappingKey()):NotImplementedError:() <<< Finished >>> Testing StringToChars using d.update(((%s, 0),)) -d.update(((1, 0),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update(((u"\0", 0),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update((("\0", 0),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update(((1, 0),)):TypeError:('object must be string',) +d.update(((u"\0", 0),)):TypeError:('expected string without null bytes',) +d.update((("\0", 0),)):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d.update((("a", {%s : 1}),)) -d.update((("a", {1 : 1}),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update((("a", {u"\0" : 1}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update((("a", {"\0" : 1}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update((("a", {1 : 1}),)):TypeError:('object must be string',) +d.update((("a", {u"\0" : 1}),)):TypeError:('expected string without null bytes',) +d.update((("a", {"\0" : 1}),)):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d.update((("a", {"abc" : {%s : 1}}),)) -d.update((("a", {"abc" : {1 : 1}}),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update((("a", {"abc" : {u"\0" : 1}}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update((("a", {"abc" : {"\0" : 1}}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update((("a", {"abc" : {1 : 1}}),)):TypeError:('object must be string',) +d.update((("a", {"abc" : {u"\0" : 1}}),)):TypeError:('expected string without null bytes',) +d.update((("a", {"abc" : {"\0" : 1}}),)):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d.update((("a", {"abc" : Mapping({%s : 1})}),)) -d.update((("a", {"abc" : Mapping({1 : 1})}),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update((("a", {"abc" : Mapping({u"\0" : 1})}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update((("a", {"abc" : Mapping({"\0" : 1})}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update((("a", {"abc" : Mapping({1 : 1})}),)):TypeError:('object must be string',) +d.update((("a", {"abc" : Mapping({u"\0" : 1})}),)):TypeError:('expected string without null bytes',) +d.update((("a", {"abc" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',) <<< Finished >>> Testing *Iter* using d.update((("a", {"abc" : %s}),)) -d.update((("a", {"abc" : FailingIter()}),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d.update((("a", {"abc" : FailingIterNext()}),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update((("a", {"abc" : FailingIter()}),)):TypeError:('unable to convert to vim structure',) +d.update((("a", {"abc" : FailingIterNext()}),)):NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using d.update((("a", {"abc" : %s}),)) -d.update((("a", {"abc" : None}),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d.update((("a", {"abc" : {"": 1}}),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update((("a", {"abc" : {u"": 1}}),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update((("a", {"abc" : FailingMapping()}),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -d.update((("a", {"abc" : FailingMappingKey()}),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update((("a", {"abc" : None}),)):TypeError:('unable to convert to vim structure',) +d.update((("a", {"abc" : {"": 1}}),)):ValueError:('empty keys are not allowed',) +d.update((("a", {"abc" : {u"": 1}}),)):ValueError:('empty keys are not allowed',) +d.update((("a", {"abc" : FailingMapping()}),)):NotImplementedError:() +d.update((("a", {"abc" : FailingMappingKey()}),)):NotImplementedError:() <<< Finished >>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),)) -d.update((("a", Mapping({1 : 1})),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update((("a", Mapping({u"\0" : 1})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update((("a", Mapping({"\0" : 1})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update((("a", Mapping({1 : 1})),)):TypeError:('object must be string',) +d.update((("a", Mapping({u"\0" : 1})),)):TypeError:('expected string without null bytes',) +d.update((("a", Mapping({"\0" : 1})),)):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d.update((("a", Mapping({"abc" : {%s : 1}})),)) -d.update((("a", Mapping({"abc" : {1 : 1}})),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update((("a", Mapping({"abc" : {u"\0" : 1}})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update((("a", Mapping({"abc" : {"\0" : 1}})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update((("a", Mapping({"abc" : {1 : 1}})),)):TypeError:('object must be string',) +d.update((("a", Mapping({"abc" : {u"\0" : 1}})),)):TypeError:('expected string without null bytes',) +d.update((("a", Mapping({"abc" : {"\0" : 1}})),)):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using d.update((("a", Mapping({"abc" : Mapping({%s : 1})})),)) -d.update((("a", Mapping({"abc" : Mapping({1 : 1})})),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -d.update((("a", Mapping({"abc" : Mapping({u"\0" : 1})})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -d.update((("a", Mapping({"abc" : Mapping({"\0" : 1})})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +d.update((("a", Mapping({"abc" : Mapping({1 : 1})})),)):TypeError:('object must be string',) +d.update((("a", Mapping({"abc" : Mapping({u"\0" : 1})})),)):TypeError:('expected string without null bytes',) +d.update((("a", Mapping({"abc" : Mapping({"\0" : 1})})),)):TypeError:('expected string without null bytes',) <<< Finished >>> Testing *Iter* using d.update((("a", Mapping({"abc" : %s})),)) -d.update((("a", Mapping({"abc" : FailingIter()})),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d.update((("a", Mapping({"abc" : FailingIterNext()})),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update((("a", Mapping({"abc" : FailingIter()})),)):TypeError:('unable to convert to vim structure',) +d.update((("a", Mapping({"abc" : FailingIterNext()})),)):NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abc" : %s})),)) -d.update((("a", Mapping({"abc" : None})),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d.update((("a", Mapping({"abc" : {"": 1}})),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update((("a", Mapping({"abc" : {u"": 1}})),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update((("a", Mapping({"abc" : FailingMapping()})),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update((("a", Mapping({"abc" : None})),)):TypeError:('unable to convert to vim structure',) +d.update((("a", Mapping({"abc" : {"": 1}})),)):ValueError:('empty keys are not allowed',) +d.update((("a", Mapping({"abc" : {u"": 1}})),)):ValueError:('empty keys are not allowed',) +d.update((("a", Mapping({"abc" : FailingMapping()})),)):NotImplementedError:() +d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):NotImplementedError:() <<< Finished >>> Testing *Iter* using d.update((("a", %s),)) -d.update((("a", FailingIter()),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d.update((("a", FailingIterNext()),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update((("a", FailingIter()),)):TypeError:('unable to convert to vim structure',) +d.update((("a", FailingIterNext()),)):NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using d.update((("a", %s),)) -d.update((("a", None),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -d.update((("a", {"": 1}),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update((("a", {u"": 1}),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -d.update((("a", FailingMapping()),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -d.update((("a", FailingMappingKey()),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +d.update((("a", None),)):TypeError:('unable to convert to vim structure',) +d.update((("a", {"": 1}),)):ValueError:('empty keys are not allowed',) +d.update((("a", {u"": 1}),)):ValueError:('empty keys are not allowed',) +d.update((("a", FailingMapping()),)):NotImplementedError:() +d.update((("a", FailingMappingKey()),)):NotImplementedError:() <<< Finished >> DictionaryPopItem -d.popitem(1, 2):(<type 'exceptions.TypeError'>, TypeError('popitem() takes no arguments (2 given)',)) +d.popitem(1, 2):TypeError:('popitem() takes no arguments (2 given)',) >> DictionaryHasKey -d.has_key():(<type 'exceptions.TypeError'>, TypeError('function takes exactly 1 argument (0 given)',)) +d.has_key():TypeError:('function takes exactly 1 argument (0 given)',) > List >> ListConstructor -vim.List(1, 2):(<type 'exceptions.TypeError'>, TypeError('function takes at most 1 argument (2 given)',)) -vim.List(a=1):(<type 'exceptions.TypeError'>, TypeError('list constructor does not accept keyword arguments',)) +vim.List(1, 2):TypeError:('function takes at most 1 argument (2 given)',) +vim.List(a=1):TypeError:('list constructor does not accept keyword arguments',) >>> Testing StringToChars using vim.List([{%s : 1}]) -vim.List([{1 : 1}]):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -vim.List([{u"\0" : 1}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -vim.List([{"\0" : 1}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +vim.List([{1 : 1}]):TypeError:('object must be string',) +vim.List([{u"\0" : 1}]):TypeError:('expected string without null bytes',) +vim.List([{"\0" : 1}]):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using vim.List([{"abc" : {%s : 1}}]) -vim.List([{"abc" : {1 : 1}}]):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -vim.List([{"abc" : {u"\0" : 1}}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -vim.List([{"abc" : {"\0" : 1}}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +vim.List([{"abc" : {1 : 1}}]):TypeError:('object must be string',) +vim.List([{"abc" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',) +vim.List([{"abc" : {"\0" : 1}}]):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using vim.List([{"abc" : Mapping({%s : 1})}]) -vim.List([{"abc" : Mapping({1 : 1})}]):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -vim.List([{"abc" : Mapping({u"\0" : 1})}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -vim.List([{"abc" : Mapping({"\0" : 1})}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +vim.List([{"abc" : Mapping({1 : 1})}]):TypeError:('object must be string',) +vim.List([{"abc" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',) +vim.List([{"abc" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',) <<< Finished >>> Testing *Iter* using vim.List([{"abc" : %s}]) -vim.List([{"abc" : FailingIter()}]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -vim.List([{"abc" : FailingIterNext()}]):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +vim.List([{"abc" : FailingIter()}]):TypeError:('unable to convert to vim structure',) +vim.List([{"abc" : FailingIterNext()}]):NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using vim.List([{"abc" : %s}]) -vim.List([{"abc" : None}]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -vim.List([{"abc" : {"": 1}}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -vim.List([{"abc" : {u"": 1}}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -vim.List([{"abc" : FailingMapping()}]):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -vim.List([{"abc" : FailingMappingKey()}]):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +vim.List([{"abc" : None}]):TypeError:('unable to convert to vim structure',) +vim.List([{"abc" : {"": 1}}]):ValueError:('empty keys are not allowed',) +vim.List([{"abc" : {u"": 1}}]):ValueError:('empty keys are not allowed',) +vim.List([{"abc" : FailingMapping()}]):NotImplementedError:() +vim.List([{"abc" : FailingMappingKey()}]):NotImplementedError:() <<< Finished >>> Testing StringToChars using vim.List([Mapping({%s : 1})]) -vim.List([Mapping({1 : 1})]):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -vim.List([Mapping({u"\0" : 1})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -vim.List([Mapping({"\0" : 1})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +vim.List([Mapping({1 : 1})]):TypeError:('object must be string',) +vim.List([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',) +vim.List([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using vim.List([Mapping({"abc" : {%s : 1}})]) -vim.List([Mapping({"abc" : {1 : 1}})]):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -vim.List([Mapping({"abc" : {u"\0" : 1}})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -vim.List([Mapping({"abc" : {"\0" : 1}})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +vim.List([Mapping({"abc" : {1 : 1}})]):TypeError:('object must be string',) +vim.List([Mapping({"abc" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',) +vim.List([Mapping({"abc" : {"\0" : 1}})]):TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using vim.List([Mapping({"abc" : Mapping({%s : 1})})]) -vim.List([Mapping({"abc" : Mapping({1 : 1})})]):(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -vim.List([Mapping({"abc" : Mapping({u"\0" : 1})})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -vim.List([Mapping({"abc" : Mapping({"\0" : 1})})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +vim.List([Mapping({"abc" : Mapping({1 : 1})})]):TypeError:('object must be string',) +vim.List([Mapping({"abc" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',) +vim.List([Mapping({"abc" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',) <<< Finished >>> Testing *Iter* using vim.List([Mapping({"abc" : %s})]) -vim.List([Mapping({"abc" : FailingIter()})]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -vim.List([Mapping({"abc" : FailingIterNext()})]):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +vim.List([Mapping({"abc" : FailingIter()})]):TypeError:('unable to convert to vim structure',) +vim.List([Mapping({"abc" : FailingIterNext()})]):NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using vim.List([Mapping({"abc" : %s})]) -vim.List([Mapping({"abc" : None})]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -vim.List([Mapping({"abc" : {"": 1}})]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -vim.List([Mapping({"abc" : {u"": 1}})]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -vim.List([Mapping({"abc" : FailingMapping()})]):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -vim.List([Mapping({"abc" : FailingMappingKey()})]):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +vim.List([Mapping({"abc" : None})]):TypeError:('unable to convert to vim structure',) +vim.List([Mapping({"abc" : {"": 1}})]):ValueError:('empty keys are not allowed',) +vim.List([Mapping({"abc" : {u"": 1}})]):ValueError:('empty keys are not allowed',) +vim.List([Mapping({"abc" : FailingMapping()})]):NotImplementedError:() +vim.List([Mapping({"abc" : FailingMappingKey()})]):NotImplementedError:() <<< Finished >>> Testing *Iter* using vim.List([%s]) -vim.List([FailingIter()]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -vim.List([FailingIterNext()]):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +vim.List([FailingIter()]):TypeError:('unable to convert to vim structure',) +vim.List([FailingIterNext()]):NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using vim.List([%s]) -vim.List([None]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -vim.List([{"": 1}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -vim.List([{u"": 1}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -vim.List([FailingMapping()]):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -vim.List([FailingMappingKey()]):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +vim.List([None]):TypeError:('unable to convert to vim structure',) +vim.List([{"": 1}]):ValueError:('empty keys are not allowed',) +vim.List([{u"": 1}]):ValueError:('empty keys are not allowed',) +vim.List([FailingMapping()]):NotImplementedError:() +vim.List([FailingMappingKey()]):NotImplementedError:() <<< Finished >> ListItem -l[1000]:(<type 'exceptions.IndexError'>, IndexError('list index out of range',)) +l[1000]:IndexError:('list index out of range',) >> ListAssItem -ll[1] = 2:(<class 'vim.error'>, error('list is locked',)) -l[1000] = 3:(<type 'exceptions.IndexError'>, IndexError('list index out of range',)) +ll[1] = 2:error:('list is locked',) +l[1000] = 3:IndexError:('list index out of range',) >> ListAssSlice -ll[1:100] = "abc":(<class 'vim.error'>, error('list is locked',)) +ll[1:100] = "abc":error:('list is locked',) >>> Testing StringToChars using l[:] = [{%s : 1}] -l[:] = [{1 : 1}]:(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -l[:] = [{u"\0" : 1}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -l[:] = [{"\0" : 1}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +l[:] = [{1 : 1}]:TypeError:('object must be string',) +l[:] = [{u"\0" : 1}]:TypeError:('expected string without null bytes',) +l[:] = [{"\0" : 1}]:TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using l[:] = [{"abc" : {%s : 1}}] -l[:] = [{"abc" : {1 : 1}}]:(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -l[:] = [{"abc" : {u"\0" : 1}}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -l[:] = [{"abc" : {"\0" : 1}}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +l[:] = [{"abc" : {1 : 1}}]:TypeError:('object must be string',) +l[:] = [{"abc" : {u"\0" : 1}}]:TypeError:('expected string without null bytes',) +l[:] = [{"abc" : {"\0" : 1}}]:TypeError:('expected string without null bytes',) <<< Finished >>> Testing StringToChars using l[:] = [{"abc" : Mapping({%s : 1})}] -l[:] = [{"abc" : Mapping({1 : 1})}]:(<type 'exceptions.TypeError'>, TypeError('object must be string',)) -l[:] = [{"abc" : Mapping({u"\0" : 1})}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) -l[:] = [{"abc" : Mapping({"\0" : 1})}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',)) +l[:] = [{"abc" : Mapping({1 : 1})}]:TypeError:('object must be string',) +l[:] = [{"abc" : Mapping({u"\0" : 1})}]:TypeError:('expected string without null bytes',) +l[:] = [{"abc" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',) <<< Finished >>> Testing *Iter* using l[:] = [{"abc" : %s}] -l[:] = [{"abc" : FailingIter()}]:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -l[:] = [{"abc" : FailingIterNext()}]:(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +l[:] = [{"abc" : FailingIter()}]:TypeError:('unable to convert to vim structure',) +l[:] = [{"abc" : FailingIterNext()}]:NotImplementedError:() <<< Finished >>> Testing ConvertFromPyObject using l[:] = [{"abc" : %s}] -l[:] = [{"abc" : None}]:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',)) -l[:] = [{"abc" : {"": 1}}]:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -l[:] = [{"abc" : {u"": 1}}]:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) -l[:] = [{"abc" : FailingMapping()}]:(<type 'exceptions.NotImplementedError'>, NotImplementedError()) -l[:] = [{"abc" : FailingMappingKey()}]:(<type 'exceptions.NotImplementedError'>, NotImplementedError()) +l[:] = [{"abc" : None}]:TypeError:('unable to convert to vim structure',) +l[:] = [{"abc" : {"": 1}}]:ValueError:('empty keys are not allowed',) +l[:] = [{"abc" : {u"": 1}}]:ValueError:('empty keys are not allowed',) +l[:] = [{"abc" : FailingMapping()}]:NotImplementedError:() +l[:] = [{"abc" : FailingMappingKey()}]:NotImplementedError:() <<< Finished >>> Testing StringToChars using l[:] = [Mapping({%s : 1})] -l[:] = [Mapping({1 : 1})]:(<type 'exceptions.TypeError'>, TypeError('object must be string',)) |