|
Karsten Hopp |
52c181 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
52c181 |
Subject: Patch 7.3.1173
|
|
Karsten Hopp |
52c181 |
Fcc: outbox
|
|
Karsten Hopp |
52c181 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
52c181 |
Mime-Version: 1.0
|
|
Karsten Hopp |
52c181 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
52c181 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
52c181 |
------------
|
|
Karsten Hopp |
52c181 |
|
|
Karsten Hopp |
52c181 |
Patch 7.3.1173
|
|
Karsten Hopp |
52c181 |
Problem: Python 2 tests don't have the same output everywhere.
|
|
Karsten Hopp |
52c181 |
Solution: Make the Python 2 tests more portable. (ZyX)
|
|
Karsten Hopp |
52c181 |
Files: src/testdir/test86.in, src/testdir/test86.ok
|
|
Karsten Hopp |
52c181 |
|
|
Karsten Hopp |
52c181 |
|
|
Karsten Hopp |
52c181 |
*** ../vim-7.3.1172/src/testdir/test86.in 2013-06-12 14:20:15.000000000 +0200
|
|
Karsten Hopp |
52c181 |
--- src/testdir/test86.in 2013-06-12 14:21:28.000000000 +0200
|
|
Karsten Hopp |
52c181 |
***************
|
|
Karsten Hopp |
52c181 |
*** 45,53 ****
|
|
Karsten Hopp |
52c181 |
dk = d.keys()
|
|
Karsten Hopp |
52c181 |
dv = d.values()
|
|
Karsten Hopp |
52c181 |
di = d.items()
|
|
Karsten Hopp |
52c181 |
! dk.sort(key=repr)
|
|
Karsten Hopp |
52c181 |
! dv.sort(key=repr)
|
|
Karsten Hopp |
52c181 |
! di.sort(key=repr)
|
|
Karsten Hopp |
52c181 |
EOF
|
|
Karsten Hopp |
52c181 |
:$put =pyeval('d[''f''](self={})')
|
|
Karsten Hopp |
52c181 |
:$put =pyeval('repr(dk)')
|
|
Karsten Hopp |
52c181 |
--- 45,54 ----
|
|
Karsten Hopp |
52c181 |
dk = d.keys()
|
|
Karsten Hopp |
52c181 |
dv = d.values()
|
|
Karsten Hopp |
52c181 |
di = d.items()
|
|
Karsten Hopp |
52c181 |
! cmpfun = lambda a, b: cmp(repr(a), repr(b))
|
|
Karsten Hopp |
52c181 |
! dk.sort(cmpfun)
|
|
Karsten Hopp |
52c181 |
! dv.sort(cmpfun)
|
|
Karsten Hopp |
52c181 |
! di.sort(cmpfun)
|
|
Karsten Hopp |
52c181 |
EOF
|
|
Karsten Hopp |
52c181 |
:$put =pyeval('d[''f''](self={})')
|
|
Karsten Hopp |
52c181 |
:$put =pyeval('repr(dk)')
|
|
Karsten Hopp |
52c181 |
***************
|
|
Karsten Hopp |
52c181 |
*** 813,819 ****
|
|
Karsten Hopp |
52c181 |
try:
|
|
Karsten Hopp |
52c181 |
exec(expr, g, l)
|
|
Karsten Hopp |
52c181 |
except:
|
|
Karsten Hopp |
52c181 |
! cb.append(expr + ':' + repr(sys.exc_info()[:2]))
|
|
Karsten Hopp |
52c181 |
else:
|
|
Karsten Hopp |
52c181 |
cb.append(expr + ':NOT FAILED')
|
|
Karsten Hopp |
52c181 |
d = vim.Dictionary()
|
|
Karsten Hopp |
52c181 |
--- 814,830 ----
|
|
Karsten Hopp |
52c181 |
try:
|
|
Karsten Hopp |
52c181 |
exec(expr, g, l)
|
|
Karsten Hopp |
52c181 |
except:
|
|
Karsten Hopp |
52c181 |
! ei = sys.exc_info()
|
|
Karsten Hopp |
52c181 |
! msg = sys.exc_info()[0].__name__ + ':' + repr(sys.exc_info()[1].args)
|
|
Karsten Hopp |
52c181 |
! msg = msg.replace('TypeError:(\'argument 1 ', 'TypeError:(\'')
|
|
Karsten Hopp |
52c181 |
! if expr.find('None') > -1:
|
|
Karsten Hopp |
52c181 |
! msg = msg.replace('TypeError:(\'iteration over non-sequence\',)',
|
|
Karsten Hopp |
52c181 |
! 'TypeError:("\'NoneType\' object is not iterable",)')
|
|
Karsten Hopp |
52c181 |
! if expr == 'fd(self=[])':
|
|
Karsten Hopp |
52c181 |
! # HACK: PyMapping_Check changed meaning
|
|
Karsten Hopp |
52c181 |
! msg = msg.replace('AttributeError:(\'keys\',)',
|
|
Karsten Hopp |
52c181 |
! 'TypeError:(\'unable to convert object to vim dictionary\',)')
|
|
Karsten Hopp |
52c181 |
! cb.append(expr + ':' + msg)
|
|
Karsten Hopp |
52c181 |
else:
|
|
Karsten Hopp |
52c181 |
cb.append(expr + ':NOT FAILED')
|
|
Karsten Hopp |
52c181 |
d = vim.Dictionary()
|
|
Karsten Hopp |
52c181 |
*** ../vim-7.3.1172/src/testdir/test86.ok 2013-06-12 14:20:15.000000000 +0200
|
|
Karsten Hopp |
52c181 |
--- src/testdir/test86.ok 2013-06-12 14:21:28.000000000 +0200
|
|
Karsten Hopp |
52c181 |
***************
|
|
Karsten Hopp |
52c181 |
*** 437,1094 ****
|
|
Karsten Hopp |
52c181 |
test86.in
|
|
Karsten Hopp |
52c181 |
> Output
|
|
Karsten Hopp |
52c181 |
>> OutputSetattr
|
|
Karsten Hopp |
52c181 |
! del sys.stdout.softspace:(<type 'exceptions.AttributeError'>, AttributeError("can't delete OutputObject attributes",))
|
|
Karsten Hopp |
52c181 |
! sys.stdout.softspace = []:(<type 'exceptions.TypeError'>, TypeError('softspace must be an integer',))
|
|
Karsten Hopp |
52c181 |
! sys.stdout.attr = None:(<type 'exceptions.AttributeError'>, AttributeError('invalid attribute',))
|
|
Karsten Hopp |
52c181 |
>> OutputWrite
|
|
Karsten Hopp |
52c181 |
! sys.stdout.write(None):(<type 'exceptions.TypeError'>, TypeError('coercing to Unicode: need string or buffer, NoneType found',))
|
|
Karsten Hopp |
52c181 |
>> OutputWriteLines
|
|
Karsten Hopp |
52c181 |
! sys.stdout.writelines(None):(<type 'exceptions.TypeError'>, TypeError("'NoneType' object is not iterable",))
|
|
Karsten Hopp |
52c181 |
! sys.stdout.writelines([1]):(<type 'exceptions.TypeError'>, TypeError('writelines() requires list of strings',))
|
|
Karsten Hopp |
52c181 |
> VimCommand
|
|
Karsten Hopp |
52c181 |
! vim.command(1):(<type 'exceptions.TypeError'>, TypeError('must be string, not int',))
|
|
Karsten Hopp |
52c181 |
> VimToPython
|
|
Karsten Hopp |
52c181 |
> VimEval
|
|
Karsten Hopp |
52c181 |
! vim.eval(1):(<type 'exceptions.TypeError'>, TypeError('must be string, not int',))
|
|
Karsten Hopp |
52c181 |
> VimEvalPy
|
|
Karsten Hopp |
52c181 |
! vim.bindeval(1):(<type 'exceptions.TypeError'>, TypeError('must be string, not int',))
|
|
Karsten Hopp |
52c181 |
> VimStrwidth
|
|
Karsten Hopp |
52c181 |
! vim.strwidth(1):(<type 'exceptions.TypeError'>, TypeError('must be string, not int',))
|
|
Karsten Hopp |
52c181 |
> Dictionary
|
|
Karsten Hopp |
52c181 |
>> DictionaryConstructor
|
|
Karsten Hopp |
52c181 |
! vim.Dictionary("abc"):(<type 'exceptions.ValueError'>, ValueError('expected sequence element of size 2',))
|
|
Karsten Hopp |
52c181 |
>> DictionarySetattr
|
|
Karsten Hopp |
52c181 |
! del d.locked:(<type 'exceptions.AttributeError'>, AttributeError('cannot delete vim.Dictionary attributes',))
|
|
Karsten Hopp |
52c181 |
! d.locked = FailingTrue():(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! vim.vvars.locked = False:(<type 'exceptions.TypeError'>, TypeError('cannot modify fixed dictionary',))
|
|
Karsten Hopp |
52c181 |
! d.scope = True:(<type 'exceptions.AttributeError'>, AttributeError('cannot set this attribute',))
|
|
Karsten Hopp |
52c181 |
! d.xxx = True:(<type 'exceptions.AttributeError'>, AttributeError('cannot set this attribute',))
|
|
Karsten Hopp |
52c181 |
>> _DictionaryItem
|
|
Karsten Hopp |
52c181 |
! d.get("a", 2, 3):(<type 'exceptions.TypeError'>, TypeError('function takes at most 2 arguments (3 given)',))
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.get(%s)
|
|
Karsten Hopp |
52c181 |
! d.get(1):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.get(u"\0"):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.get("\0"):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
! d.pop("a"):(<type 'exceptions.KeyError'>, KeyError('a',))
|
|
Karsten Hopp |
52c181 |
! dl.pop("a"):(<class 'vim.error'>, error('dict is locked',))
|
|
Karsten Hopp |
52c181 |
>> DictionaryIterNext
|
|
Karsten Hopp |
52c181 |
! for i in ned: ned["a"] = 1:(<type 'exceptions.RuntimeError'>, RuntimeError('hashtab changed during iteration',))
|
|
Karsten Hopp |
52c181 |
>> DictionaryAssItem
|
|
Karsten Hopp |
52c181 |
! dl["b"] = 1:(<class 'vim.error'>, error('dict is locked',))
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d[%s] = 1
|
|
Karsten Hopp |
52c181 |
! d[1] = 1:(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d[u"\0"] = 1:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d["\0"] = 1:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = {%s : 1}
|
|
Karsten Hopp |
52c181 |
! d["a"] = {1 : 1}:(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {u"\0" : 1}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"\0" : 1}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = {"abc" : {%s : 1}}
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : {1 : 1}}:(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : {u"\0" : 1}}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : {"\0" : 1}}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = {"abc" : Mapping({%s : 1})}
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : Mapping({1 : 1})}:(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : Mapping({u"\0" : 1})}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : Mapping({"\0" : 1})}:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d["a"] = {"abc" : %s}
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : FailingIter()}:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : FailingIterNext()}:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d["a"] = {"abc" : %s}
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : None}:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : {"": 1}}:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : {u"": 1}}:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : FailingMapping()}:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : FailingMappingKey()}:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = Mapping({%s : 1})
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({1 : 1}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({u"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = Mapping({"abc" : {%s : 1}})
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : {1 : 1}}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : {u"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : {"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = Mapping({"abc" : Mapping({%s : 1})})
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : Mapping({1 : 1})}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : Mapping({u"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : Mapping({"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d["a"] = Mapping({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : FailingIter()}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : FailingIterNext()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d["a"] = Mapping({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : None}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : {"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : {u"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : FailingMapping()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : FailingMappingKey()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d["a"] = %s
|
|
Karsten Hopp |
52c181 |
! d["a"] = FailingIter():(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = FailingIterNext():(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d["a"] = %s
|
|
Karsten Hopp |
52c181 |
! d["a"] = None:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"": 1}:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = {u"": 1}:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d["a"] = FailingMapping():(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! d["a"] = FailingMappingKey():(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>> DictionaryUpdate
|
|
Karsten Hopp |
52c181 |
>>> kwargs
|
|
Karsten Hopp |
52c181 |
>>> iter
|
|
Karsten Hopp |
52c181 |
! d.update(FailingMapping()):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! d.update([FailingIterNext()]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update({%s : 1})
|
|
Karsten Hopp |
52c181 |
! d.update({1 : 1}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update({u"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update({"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update({"abc" : {%s : 1}})
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : {1 : 1}}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : {u"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : {"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update({"abc" : Mapping({%s : 1})})
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : Mapping({1 : 1})}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : Mapping({u"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : Mapping({"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : FailingIter()}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : FailingIterNext()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : None}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : {"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : {u"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : FailingMapping()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : FailingMappingKey()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update(Mapping({%s : 1}))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({1 : 1})):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({u"\0" : 1})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"\0" : 1})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update(Mapping({"abc" : {%s : 1}}))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : {1 : 1}})):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : {u"\0" : 1}})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : {"\0" : 1}})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update(Mapping({"abc" : Mapping({%s : 1})}))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : Mapping({1 : 1})})):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : Mapping({u"\0" : 1})})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : Mapping({"\0" : 1})})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update(Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : FailingIter()})):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : FailingIterNext()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update(Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : None})):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : {"": 1}})):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : {u"": 1}})):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : FailingMapping()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : FailingMappingKey()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update(%s)
|
|
Karsten Hopp |
52c181 |
! d.update(FailingIter()):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! d.update(FailingIterNext()):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update(%s)
|
|
Karsten Hopp |
52c181 |
! d.update(None):(<type 'exceptions.TypeError'>, TypeError("'NoneType' object is not iterable",))
|
|
Karsten Hopp |
52c181 |
! d.update({"": 1}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update({u"": 1}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update(FailingMapping()):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! d.update(FailingMappingKey()):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update(((%s, 0),))
|
|
Karsten Hopp |
52c181 |
! d.update(((1, 0),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update(((u"\0", 0),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update((("\0", 0),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", {%s : 1}),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {1 : 1}),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {u"\0" : 1}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"\0" : 1}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", {"abc" : {%s : 1}}),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : {1 : 1}}),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : {u"\0" : 1}}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : {"\0" : 1}}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", {"abc" : Mapping({%s : 1})}),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : Mapping({1 : 1})}),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : Mapping({u"\0" : 1})}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : Mapping({"\0" : 1})}),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update((("a", {"abc" : %s}),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : FailingIter()}),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : FailingIterNext()}),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update((("a", {"abc" : %s}),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : None}),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : {"": 1}}),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : {u"": 1}}),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : FailingMapping()}),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : FailingMappingKey()}),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({1 : 1})),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({u"\0" : 1})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"\0" : 1})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", Mapping({"abc" : {%s : 1}})),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : {1 : 1}})),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : {u"\0" : 1}})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : {"\0" : 1}})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", Mapping({"abc" : Mapping({%s : 1})})),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : Mapping({1 : 1})})),)):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : Mapping({u"\0" : 1})})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : Mapping({"\0" : 1})})),)):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update((("a", Mapping({"abc" : %s})),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : FailingIter()})),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : FailingIterNext()})),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abc" : %s})),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : None})),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : {"": 1}})),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : {u"": 1}})),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : FailingMapping()})),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update((("a", %s),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", FailingIter()),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", FailingIterNext()),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update((("a", %s),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", None),)):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"": 1}),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {u"": 1}),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", FailingMapping()),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! d.update((("a", FailingMappingKey()),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>> DictionaryPopItem
|
|
Karsten Hopp |
52c181 |
! d.popitem(1, 2):(<type 'exceptions.TypeError'>, TypeError('popitem() takes no arguments (2 given)',))
|
|
Karsten Hopp |
52c181 |
>> DictionaryHasKey
|
|
Karsten Hopp |
52c181 |
! d.has_key():(<type 'exceptions.TypeError'>, TypeError('function takes exactly 1 argument (0 given)',))
|
|
Karsten Hopp |
52c181 |
> List
|
|
Karsten Hopp |
52c181 |
>> ListConstructor
|
|
Karsten Hopp |
52c181 |
! vim.List(1, 2):(<type 'exceptions.TypeError'>, TypeError('function takes at most 1 argument (2 given)',))
|
|
Karsten Hopp |
52c181 |
! vim.List(a=1):(<type 'exceptions.TypeError'>, TypeError('list constructor does not accept keyword arguments',))
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([{%s : 1}])
|
|
Karsten Hopp |
52c181 |
! vim.List([{1 : 1}]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{u"\0" : 1}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{"\0" : 1}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([{"abc" : {%s : 1}}])
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : {1 : 1}}]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : {u"\0" : 1}}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : {"\0" : 1}}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([{"abc" : Mapping({%s : 1})}])
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : Mapping({1 : 1})}]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : Mapping({u"\0" : 1})}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : Mapping({"\0" : 1})}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using vim.List([{"abc" : %s}])
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : FailingIter()}]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : FailingIterNext()}]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using vim.List([{"abc" : %s}])
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : None}]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : {"": 1}}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : {u"": 1}}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : FailingMapping()}]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : FailingMappingKey()}]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([Mapping({%s : 1})])
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({1 : 1})]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({u"\0" : 1})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"\0" : 1})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([Mapping({"abc" : {%s : 1}})])
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : {1 : 1}})]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : {u"\0" : 1}})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : {"\0" : 1}})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([Mapping({"abc" : Mapping({%s : 1})})])
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : Mapping({1 : 1})})]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : Mapping({u"\0" : 1})})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : Mapping({"\0" : 1})})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using vim.List([Mapping({"abc" : %s})])
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : FailingIter()})]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : FailingIterNext()})]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using vim.List([Mapping({"abc" : %s})])
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : None})]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : {"": 1}})]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : {u"": 1}})]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : FailingMapping()})]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : FailingMappingKey()})]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using vim.List([%s])
|
|
Karsten Hopp |
52c181 |
! vim.List([FailingIter()]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! vim.List([FailingIterNext()]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using vim.List([%s])
|
|
Karsten Hopp |
52c181 |
! vim.List([None]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{"": 1}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! vim.List([{u"": 1}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! vim.List([FailingMapping()]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! vim.List([FailingMappingKey()]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>> ListItem
|
|
Karsten Hopp |
52c181 |
! l[1000]:(<type 'exceptions.IndexError'>, IndexError('list index out of range',))
|
|
Karsten Hopp |
52c181 |
>> ListAssItem
|
|
Karsten Hopp |
52c181 |
! ll[1] = 2:(<class 'vim.error'>, error('list is locked',))
|
|
Karsten Hopp |
52c181 |
! l[1000] = 3:(<type 'exceptions.IndexError'>, IndexError('list index out of range',))
|
|
Karsten Hopp |
52c181 |
>> ListAssSlice
|
|
Karsten Hopp |
52c181 |
! ll[1:100] = "abc":(<class 'vim.error'>, error('list is locked',))
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [{%s : 1}]
|
|
Karsten Hopp |
52c181 |
! l[:] = [{1 : 1}]:(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{u"\0" : 1}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"\0" : 1}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [{"abc" : {%s : 1}}]
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : {1 : 1}}]:(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : {u"\0" : 1}}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : {"\0" : 1}}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [{"abc" : Mapping({%s : 1})}]
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : Mapping({1 : 1})}]:(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : Mapping({u"\0" : 1})}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : Mapping({"\0" : 1})}]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l[:] = [{"abc" : %s}]
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : FailingIter()}]:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : FailingIterNext()}]:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l[:] = [{"abc" : %s}]
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : None}]:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : {"": 1}}]:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : {u"": 1}}]:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : FailingMapping()}]:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : FailingMappingKey()}]:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [Mapping({%s : 1})]
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({1 : 1})]:(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({u"\0" : 1})]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"\0" : 1})]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [Mapping({"abc" : {%s : 1}})]
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : {1 : 1}})]:(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : {u"\0" : 1}})]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : {"\0" : 1}})]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [Mapping({"abc" : Mapping({%s : 1})})]
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : Mapping({1 : 1})})]:(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : Mapping({u"\0" : 1})})]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : Mapping({"\0" : 1})})]:(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l[:] = [Mapping({"abc" : %s})]
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : FailingIter()})]:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : FailingIterNext()})]:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l[:] = [Mapping({"abc" : %s})]
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : None})]:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : {"": 1}})]:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : {u"": 1}})]:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : FailingMapping()})]:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : FailingMappingKey()})]:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l[:] = [%s]
|
|
Karsten Hopp |
52c181 |
! l[:] = [FailingIter()]:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [FailingIterNext()]:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l[:] = [%s]
|
|
Karsten Hopp |
52c181 |
! l[:] = [None]:(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"": 1}]:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [{u"": 1}]:(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l[:] = [FailingMapping()]:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! l[:] = [FailingMappingKey()]:(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>> ListConcatInPlace
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([{%s : 1}])
|
|
Karsten Hopp |
52c181 |
! l.extend([{1 : 1}]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{u"\0" : 1}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{"\0" : 1}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([{"abc" : {%s : 1}}])
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : {1 : 1}}]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : {u"\0" : 1}}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : {"\0" : 1}}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([{"abc" : Mapping({%s : 1})}])
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : Mapping({1 : 1})}]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : Mapping({u"\0" : 1})}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : Mapping({"\0" : 1})}]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l.extend([{"abc" : %s}])
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : FailingIter()}]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : FailingIterNext()}]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l.extend([{"abc" : %s}])
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : None}]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : {"": 1}}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : {u"": 1}}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : FailingMapping()}]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : FailingMappingKey()}]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([Mapping({%s : 1})])
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({1 : 1})]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({u"\0" : 1})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"\0" : 1})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([Mapping({"abc" : {%s : 1}})])
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : {1 : 1}})]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : {u"\0" : 1}})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : {"\0" : 1}})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([Mapping({"abc" : Mapping({%s : 1})})])
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : Mapping({1 : 1})})]):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : Mapping({u"\0" : 1})})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : Mapping({"\0" : 1})})]):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l.extend([Mapping({"abc" : %s})])
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : FailingIter()})]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : FailingIterNext()})]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l.extend([Mapping({"abc" : %s})])
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : None})]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : {"": 1}})]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : {u"": 1}})]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : FailingMapping()})]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : FailingMappingKey()})]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l.extend([%s])
|
|
Karsten Hopp |
52c181 |
! l.extend([FailingIter()]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l.extend([FailingIterNext()]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l.extend([%s])
|
|
Karsten Hopp |
52c181 |
! l.extend([None]):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{"": 1}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l.extend([{u"": 1}]):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! l.extend([FailingMapping()]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! l.extend([FailingMappingKey()]):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>> ListSetattr
|
|
Karsten Hopp |
52c181 |
! del l.locked:(<type 'exceptions.AttributeError'>, AttributeError('cannot delete vim.List attributes',))
|
|
Karsten Hopp |
52c181 |
! l.locked = FailingTrue():(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! l.xxx = True:(<type 'exceptions.AttributeError'>, AttributeError('cannot set this attribute',))
|
|
Karsten Hopp |
52c181 |
> Function
|
|
Karsten Hopp |
52c181 |
>> FunctionConstructor
|
|
Karsten Hopp |
52c181 |
! vim.Function("123"):(<type 'exceptions.ValueError'>, ValueError('unnamed function does not exist',))
|
|
Karsten Hopp |
52c181 |
! vim.Function("xxx_non_existent_function_xxx"):(<type 'exceptions.ValueError'>, ValueError('function does not exist',))
|
|
Karsten Hopp |
52c181 |
vim.Function("xxx#non#existent#function#xxx"):NOT FAILED
|
|
Karsten Hopp |
52c181 |
>> FunctionCall
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f({%s : 1})
|
|
Karsten Hopp |
52c181 |
! f({1 : 1}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! f({u"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! f({"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f({"abc" : {%s : 1}})
|
|
Karsten Hopp |
52c181 |
! f({"abc" : {1 : 1}}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! f({"abc" : {u"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! f({"abc" : {"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f({"abc" : Mapping({%s : 1})})
|
|
Karsten Hopp |
52c181 |
! f({"abc" : Mapping({1 : 1})}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! f({"abc" : Mapping({u"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! f({"abc" : Mapping({"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using f({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! f({"abc" : FailingIter()}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! f({"abc" : FailingIterNext()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using f({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! f({"abc" : None}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! f({"abc" : {"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! f({"abc" : {u"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! f({"abc" : FailingMapping()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! f({"abc" : FailingMappingKey()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f(Mapping({%s : 1}))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({1 : 1})):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({u"\0" : 1})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"\0" : 1})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f(Mapping({"abc" : {%s : 1}}))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : {1 : 1}})):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : {u"\0" : 1}})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : {"\0" : 1}})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f(Mapping({"abc" : Mapping({%s : 1})}))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : Mapping({1 : 1})})):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : Mapping({u"\0" : 1})})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : Mapping({"\0" : 1})})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using f(Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : FailingIter()})):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : FailingIterNext()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using f(Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : None})):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : {"": 1}})):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : {u"": 1}})):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : FailingMapping()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : FailingMappingKey()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using f(%s)
|
|
Karsten Hopp |
52c181 |
! f(FailingIter()):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! f(FailingIterNext()):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using f(%s)
|
|
Karsten Hopp |
52c181 |
! f(None):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! f({"": 1}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! f({u"": 1}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! f(FailingMapping()):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! f(FailingMappingKey()):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self={%s : 1})
|
|
Karsten Hopp |
52c181 |
! fd(self={1 : 1}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! fd(self={u"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! fd(self={"\0" : 1}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self={"abc" : {%s : 1}})
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : {1 : 1}}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : {u"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : {"\0" : 1}}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self={"abc" : Mapping({%s : 1})})
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : Mapping({1 : 1})}):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : Mapping({u"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : Mapping({"\0" : 1})}):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using fd(self={"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : FailingIter()}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : FailingIterNext()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using fd(self={"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : None}):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : {"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : {u"": 1}}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : FailingMapping()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : FailingMappingKey()}):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self=Mapping({%s : 1}))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({1 : 1})):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({u"\0" : 1})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"\0" : 1})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self=Mapping({"abc" : {%s : 1}}))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : {1 : 1}})):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : {u"\0" : 1}})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : {"\0" : 1}})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self=Mapping({"abc" : Mapping({%s : 1})}))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : Mapping({1 : 1})})):(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : Mapping({u"\0" : 1})})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : Mapping({"\0" : 1})})):(<type 'exceptions.TypeError'>, TypeError('expected string without null bytes',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using fd(self=Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : FailingIter()})):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : FailingIterNext()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using fd(self=Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : None})):(<type 'exceptions.TypeError'>, TypeError('unable to convert to vim structure',))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : {"": 1}})):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : {u"": 1}})):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : FailingMapping()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : FailingMappingKey()})):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using fd(self=%s)
|
|
Karsten Hopp |
52c181 |
! fd(self=FailingIter()):(<type 'exceptions.TypeError'>, TypeError('unable to convert object to vim dictionary',))
|
|
Karsten Hopp |
52c181 |
! fd(self=FailingIterNext()):(<type 'exceptions.TypeError'>, TypeError('unable to convert object to vim dictionary',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using fd(self=%s)
|
|
Karsten Hopp |
52c181 |
! fd(self=None):(<type 'exceptions.TypeError'>, TypeError('unable to convert object to vim dictionary',))
|
|
Karsten Hopp |
52c181 |
! fd(self={"": 1}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! fd(self={u"": 1}):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
|
|
Karsten Hopp |
52c181 |
! fd(self=FailingMapping()):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
! fd(self=FailingMappingKey()):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyMapping using fd(self=%s)
|
|
Karsten Hopp |
52c181 |
! fd(self=[]):(<type 'exceptions.TypeError'>, TypeError('unable to convert object to vim dictionary',))
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
> TabPage
|
|
Karsten Hopp |
52c181 |
>> TabPageAttr
|
|
Karsten Hopp |
52c181 |
! vim.current.tabpage.xxx:(<type 'exceptions.AttributeError'>, AttributeError('xxx',))
|
|
Karsten Hopp |
52c181 |
> TabList
|
|
Karsten Hopp |
52c181 |
>> TabListItem
|
|
Karsten Hopp |
52c181 |
! vim.tabpages[1000]:(<type 'exceptions.IndexError'>, IndexError('no such tab page',))
|
|
Karsten Hopp |
52c181 |
> Window
|
|
Karsten Hopp |
52c181 |
>> WindowAttr
|
|
Karsten Hopp |
52c181 |
! vim.current.window.xxx:(<type 'exceptions.AttributeError'>, AttributeError('xxx',))
|
|
Karsten Hopp |
52c181 |
>> WindowSetattr
|
|
Karsten Hopp |
52c181 |
! vim.current.window.buffer = 0:(<type 'exceptions.TypeError'>, TypeError('readonly attribute',))
|
|
Karsten Hopp |
52c181 |
! vim.current.window.cursor = (100000000, 100000000):(<class 'vim.error'>, error('cursor position outside buffer',))
|
|
Karsten Hopp |
52c181 |
! vim.current.window.cursor = True:(<type 'exceptions.TypeError'>, TypeError('argument must be 2-item sequence, not bool',))
|
|
Karsten Hopp |
52c181 |
! vim.current.window.height = "abc":(<type 'exceptions.TypeError'>, TypeError('an integer is required',))
|
|
Karsten Hopp |
52c181 |
! vim.current.window.width = "abc":(<type 'exceptions.TypeError'>, TypeError('an integer is required',))
|
|
Karsten Hopp |
52c181 |
! vim.current.window.xxxxxx = True:(<type 'exceptions.AttributeError'>, AttributeError('xxxxxx',))
|
|
Karsten Hopp |
52c181 |
> WinList
|
|
Karsten Hopp |
52c181 |
>> WinListItem
|
|
Karsten Hopp |
52c181 |
! vim.windows[1000]:(<type 'exceptions.IndexError'>, IndexError('no such window',))
|
|
Karsten Hopp |
52c181 |
> Buffer
|
|
Karsten Hopp |
52c181 |
>> StringToLine (indirect)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[0] = "\na":(<class 'vim.error'>, error('string cannot contain newlines',))
|
|
Karsten Hopp |
52c181 |
>> SetBufferLine (indirect)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[0] = True:(<type 'exceptions.TypeError'>, TypeError('bad argument type for built-in operation',))
|
|
Karsten Hopp |
52c181 |
>> SetBufferLines (indirect)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[:] = True:(<type 'exceptions.TypeError'>, TypeError('bad argument type for built-in operation',))
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[:] = ["\na", "bc"]:(<class 'vim.error'>, error('string cannot contain newlines',))
|
|
Karsten Hopp |
52c181 |
>> InsertBufferLines (indirect)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.append(None):(<type 'exceptions.TypeError'>, TypeError('bad argument type for built-in operation',))
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.append(["\na", "bc"]):(<class 'vim.error'>, error('string cannot contain newlines',))
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.append("\nbc"):(<class 'vim.error'>, error('string cannot contain newlines',))
|
|
Karsten Hopp |
52c181 |
>> RBItem
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[100000000]:(<type 'exceptions.IndexError'>, IndexError('line number out of range',))
|
|
Karsten Hopp |
52c181 |
>> RBAsItem
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[100000000] = "":(<type 'exceptions.IndexError'>, IndexError('line number out of range',))
|
|
Karsten Hopp |
52c181 |
>> BufferAttr
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.xxx:(<type 'exceptions.AttributeError'>, AttributeError('xxx',))
|
|
Karsten Hopp |
52c181 |
>> BufferSetattr
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.name = True:(<type 'exceptions.TypeError'>, TypeError('object must be string',))
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.xxx = True:(<type 'exceptions.AttributeError'>, AttributeError('xxx',))
|
|
Karsten Hopp |
52c181 |
>> BufferMark
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.mark(0):(<type 'exceptions.TypeError'>, TypeError('must be string, not int',))
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.mark("abc"):(<type 'exceptions.ValueError'>, ValueError('mark name must be a single character',))
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.mark("!"):(<class 'vim.error'>, error('invalid mark name',))
|
|
Karsten Hopp |
52c181 |
>> BufferRange
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.range(1, 2, 3):(<type 'exceptions.TypeError'>, TypeError('function takes exactly 2 arguments (3 given)',))
|
|
Karsten Hopp |
52c181 |
> BufMap
|
|
Karsten Hopp |
52c181 |
>> BufMapItem
|
|
Karsten Hopp |
52c181 |
! vim.buffers[None]:(<type 'exceptions.TypeError'>, TypeError('key must be integer',))
|
|
Karsten Hopp |
52c181 |
! vim.buffers[100000000]:(<type 'exceptions.KeyError'>, KeyError(100000000,))
|
|
Karsten Hopp |
52c181 |
> Current
|
|
Karsten Hopp |
52c181 |
>> CurrentGetattr
|
|
Karsten Hopp |
52c181 |
! vim.current.xxx:(<type 'exceptions.AttributeError'>, AttributeError('xxx',))
|
|
Karsten Hopp |
52c181 |
>> CurrentSetattr
|
|
Karsten Hopp |
52c181 |
! vim.current.line = True:(<type 'exceptions.TypeError'>, TypeError('bad argument type for built-in operation',))
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer = True:(<type 'exceptions.TypeError'>, TypeError('expected vim.Buffer object',))
|
|
Karsten Hopp |
52c181 |
! vim.current.window = True:(<type 'exceptions.TypeError'>, TypeError('expected vim.Window object',))
|
|
Karsten Hopp |
52c181 |
! vim.current.tabpage = True:(<type 'exceptions.TypeError'>, TypeError('expected vim.TabPage object',))
|
|
Karsten Hopp |
52c181 |
! vim.current.xxx = True:(<type 'exceptions.AttributeError'>, AttributeError('xxx',))
|
|
Karsten Hopp |
52c181 |
2,xx
|
|
Karsten Hopp |
52c181 |
before
|
|
Karsten Hopp |
52c181 |
after
|
|
Karsten Hopp |
52c181 |
! vim.command("throw 'abc'"):(<class 'vim.error'>, error('abc',))
|
|
Karsten Hopp |
52c181 |
! Exe("throw 'def'"):(<class 'vim.error'>, error('def',))
|
|
Karsten Hopp |
52c181 |
! vim.eval("Exe('throw ''ghi''')"):(<class 'vim.error'>, error('ghi',))
|
|
Karsten Hopp |
52c181 |
! vim.eval("Exe('echoerr ''jkl''')"):(<class 'vim.error'>, error('Vim(echoerr):jkl',))
|
|
Karsten Hopp |
52c181 |
! vim.eval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',))
|
|
Karsten Hopp |
52c181 |
! vim.bindeval("Exe('xxx_non_existent_command_xxx')"):(<class 'vim.error'>, error('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',))
|
|
Karsten Hopp |
52c181 |
--- 437,1094 ----
|
|
Karsten Hopp |
52c181 |
test86.in
|
|
Karsten Hopp |
52c181 |
> Output
|
|
Karsten Hopp |
52c181 |
>> OutputSetattr
|
|
Karsten Hopp |
52c181 |
! del sys.stdout.softspace:AttributeError:("can't delete OutputObject attributes",)
|
|
Karsten Hopp |
52c181 |
! sys.stdout.softspace = []:TypeError:('softspace must be an integer',)
|
|
Karsten Hopp |
52c181 |
! sys.stdout.attr = None:AttributeError:('invalid attribute',)
|
|
Karsten Hopp |
52c181 |
>> OutputWrite
|
|
Karsten Hopp |
52c181 |
! sys.stdout.write(None):TypeError:('coercing to Unicode: need string or buffer, NoneType found',)
|
|
Karsten Hopp |
52c181 |
>> OutputWriteLines
|
|
Karsten Hopp |
52c181 |
! sys.stdout.writelines(None):TypeError:("'NoneType' object is not iterable",)
|
|
Karsten Hopp |
52c181 |
! sys.stdout.writelines([1]):TypeError:('writelines() requires list of strings',)
|
|
Karsten Hopp |
52c181 |
> VimCommand
|
|
Karsten Hopp |
52c181 |
! vim.command(1):TypeError:('must be string, not int',)
|
|
Karsten Hopp |
52c181 |
> VimToPython
|
|
Karsten Hopp |
52c181 |
> VimEval
|
|
Karsten Hopp |
52c181 |
! vim.eval(1):TypeError:('must be string, not int',)
|
|
Karsten Hopp |
52c181 |
> VimEvalPy
|
|
Karsten Hopp |
52c181 |
! vim.bindeval(1):TypeError:('must be string, not int',)
|
|
Karsten Hopp |
52c181 |
> VimStrwidth
|
|
Karsten Hopp |
52c181 |
! vim.strwidth(1):TypeError:('must be string, not int',)
|
|
Karsten Hopp |
52c181 |
> Dictionary
|
|
Karsten Hopp |
52c181 |
>> DictionaryConstructor
|
|
Karsten Hopp |
52c181 |
! vim.Dictionary("abc"):ValueError:('expected sequence element of size 2',)
|
|
Karsten Hopp |
52c181 |
>> DictionarySetattr
|
|
Karsten Hopp |
52c181 |
! del d.locked:AttributeError:('cannot delete vim.Dictionary attributes',)
|
|
Karsten Hopp |
52c181 |
! d.locked = FailingTrue():NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! vim.vvars.locked = False:TypeError:('cannot modify fixed dictionary',)
|
|
Karsten Hopp |
52c181 |
! d.scope = True:AttributeError:('cannot set this attribute',)
|
|
Karsten Hopp |
52c181 |
! d.xxx = True:AttributeError:('cannot set this attribute',)
|
|
Karsten Hopp |
52c181 |
>> _DictionaryItem
|
|
Karsten Hopp |
52c181 |
! d.get("a", 2, 3):TypeError:('function takes at most 2 arguments (3 given)',)
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.get(%s)
|
|
Karsten Hopp |
52c181 |
! d.get(1):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.get(u"\0"):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.get("\0"):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
! d.pop("a"):KeyError:('a',)
|
|
Karsten Hopp |
52c181 |
! dl.pop("a"):error:('dict is locked',)
|
|
Karsten Hopp |
52c181 |
>> DictionaryIterNext
|
|
Karsten Hopp |
52c181 |
! for i in ned: ned["a"] = 1:RuntimeError:('hashtab changed during iteration',)
|
|
Karsten Hopp |
52c181 |
>> DictionaryAssItem
|
|
Karsten Hopp |
52c181 |
! dl["b"] = 1:error:('dict is locked',)
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d[%s] = 1
|
|
Karsten Hopp |
52c181 |
! d[1] = 1:TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d[u"\0"] = 1:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d["\0"] = 1:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = {%s : 1}
|
|
Karsten Hopp |
52c181 |
! d["a"] = {1 : 1}:TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {u"\0" : 1}:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"\0" : 1}:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = {"abc" : {%s : 1}}
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : {1 : 1}}:TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : {u"\0" : 1}}:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : {"\0" : 1}}:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = {"abc" : Mapping({%s : 1})}
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : Mapping({1 : 1})}:TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : Mapping({u"\0" : 1})}:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : Mapping({"\0" : 1})}:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d["a"] = {"abc" : %s}
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : FailingIter()}:TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : FailingIterNext()}:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d["a"] = {"abc" : %s}
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : None}:TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : {"": 1}}:ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : {u"": 1}}:ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : FailingMapping()}:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"abc" : FailingMappingKey()}:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = Mapping({%s : 1})
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({1 : 1}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({u"\0" : 1}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"\0" : 1}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = Mapping({"abc" : {%s : 1}})
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : {1 : 1}}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d["a"] = Mapping({"abc" : Mapping({%s : 1})})
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : Mapping({1 : 1})}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d["a"] = Mapping({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : FailingIter()}):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : FailingIterNext()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d["a"] = Mapping({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : None}):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : {"": 1}}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : {u"": 1}}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : FailingMapping()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! d["a"] = Mapping({"abc" : FailingMappingKey()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d["a"] = %s
|
|
Karsten Hopp |
52c181 |
! d["a"] = FailingIter():TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = FailingIterNext():NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d["a"] = %s
|
|
Karsten Hopp |
52c181 |
! d["a"] = None:TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {"": 1}:ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = {u"": 1}:ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d["a"] = FailingMapping():NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! d["a"] = FailingMappingKey():NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>> DictionaryUpdate
|
|
Karsten Hopp |
52c181 |
>>> kwargs
|
|
Karsten Hopp |
52c181 |
>>> iter
|
|
Karsten Hopp |
52c181 |
! d.update(FailingMapping()):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! d.update([FailingIterNext()]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update({%s : 1})
|
|
Karsten Hopp |
52c181 |
! d.update({1 : 1}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update({u"\0" : 1}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update({"\0" : 1}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update({"abc" : {%s : 1}})
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : {1 : 1}}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update({"abc" : Mapping({%s : 1})})
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : Mapping({1 : 1})}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : FailingIter()}):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : FailingIterNext()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : None}):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : {"": 1}}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : {u"": 1}}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : FailingMapping()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! d.update({"abc" : FailingMappingKey()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update(Mapping({%s : 1}))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({1 : 1})):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update(Mapping({"abc" : {%s : 1}}))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : {1 : 1}})):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : {u"\0" : 1}})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : {"\0" : 1}})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update(Mapping({"abc" : Mapping({%s : 1})}))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : Mapping({1 : 1})})):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update(Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : FailingIter()})):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : FailingIterNext()})):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update(Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : None})):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : {"": 1}})):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : {u"": 1}})):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : FailingMapping()})):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! d.update(Mapping({"abc" : FailingMappingKey()})):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update(%s)
|
|
Karsten Hopp |
52c181 |
! d.update(FailingIter()):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! d.update(FailingIterNext()):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update(%s)
|
|
Karsten Hopp |
52c181 |
! d.update(None):TypeError:("'NoneType' object is not iterable",)
|
|
Karsten Hopp |
52c181 |
! d.update({"": 1}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update({u"": 1}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update(FailingMapping()):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! d.update(FailingMappingKey()):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update(((%s, 0),))
|
|
Karsten Hopp |
52c181 |
! d.update(((1, 0),)):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update(((u"\0", 0),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update((("\0", 0),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", {%s : 1}),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {1 : 1}),)):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {u"\0" : 1}),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"\0" : 1}),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", {"abc" : {%s : 1}}),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : {1 : 1}}),)):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : {u"\0" : 1}}),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : {"\0" : 1}}),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", {"abc" : Mapping({%s : 1})}),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : Mapping({1 : 1})}),)):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : Mapping({u"\0" : 1})}),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : Mapping({"\0" : 1})}),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update((("a", {"abc" : %s}),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : FailingIter()}),)):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : FailingIterNext()}),)):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update((("a", {"abc" : %s}),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : None}),)):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : {"": 1}}),)):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : {u"": 1}}),)):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : FailingMapping()}),)):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"abc" : FailingMappingKey()}),)):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", Mapping({%s : 1})),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({1 : 1})),)):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({u"\0" : 1})),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"\0" : 1})),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", Mapping({"abc" : {%s : 1}})),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : {1 : 1}})),)):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : {u"\0" : 1}})),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : {"\0" : 1}})),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using d.update((("a", Mapping({"abc" : Mapping({%s : 1})})),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : Mapping({1 : 1})})),)):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : Mapping({u"\0" : 1})})),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : Mapping({"\0" : 1})})),)):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update((("a", Mapping({"abc" : %s})),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : FailingIter()})),)):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : FailingIterNext()})),)):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update((("a", Mapping({"abc" : %s})),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : None})),)):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : {"": 1}})),)):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : {u"": 1}})),)):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : FailingMapping()})),)):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! d.update((("a", Mapping({"abc" : FailingMappingKey()})),)):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using d.update((("a", %s),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", FailingIter()),)):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", FailingIterNext()),)):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using d.update((("a", %s),))
|
|
Karsten Hopp |
52c181 |
! d.update((("a", None),)):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {"": 1}),)):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", {u"": 1}),)):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! d.update((("a", FailingMapping()),)):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! d.update((("a", FailingMappingKey()),)):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>> DictionaryPopItem
|
|
Karsten Hopp |
52c181 |
! d.popitem(1, 2):TypeError:('popitem() takes no arguments (2 given)',)
|
|
Karsten Hopp |
52c181 |
>> DictionaryHasKey
|
|
Karsten Hopp |
52c181 |
! d.has_key():TypeError:('function takes exactly 1 argument (0 given)',)
|
|
Karsten Hopp |
52c181 |
> List
|
|
Karsten Hopp |
52c181 |
>> ListConstructor
|
|
Karsten Hopp |
52c181 |
! vim.List(1, 2):TypeError:('function takes at most 1 argument (2 given)',)
|
|
Karsten Hopp |
52c181 |
! vim.List(a=1):TypeError:('list constructor does not accept keyword arguments',)
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([{%s : 1}])
|
|
Karsten Hopp |
52c181 |
! vim.List([{1 : 1}]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{u"\0" : 1}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{"\0" : 1}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([{"abc" : {%s : 1}}])
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : {1 : 1}}]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : {"\0" : 1}}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([{"abc" : Mapping({%s : 1})}])
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : Mapping({1 : 1})}]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using vim.List([{"abc" : %s}])
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : FailingIter()}]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : FailingIterNext()}]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using vim.List([{"abc" : %s}])
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : None}]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : {"": 1}}]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : {u"": 1}}]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : FailingMapping()}]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! vim.List([{"abc" : FailingMappingKey()}]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([Mapping({%s : 1})])
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({1 : 1})]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([Mapping({"abc" : {%s : 1}})])
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : {1 : 1}})]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : {"\0" : 1}})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using vim.List([Mapping({"abc" : Mapping({%s : 1})})])
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : Mapping({1 : 1})})]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using vim.List([Mapping({"abc" : %s})])
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : FailingIter()})]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : FailingIterNext()})]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using vim.List([Mapping({"abc" : %s})])
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : None})]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : {"": 1}})]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : {u"": 1}})]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : FailingMapping()})]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! vim.List([Mapping({"abc" : FailingMappingKey()})]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using vim.List([%s])
|
|
Karsten Hopp |
52c181 |
! vim.List([FailingIter()]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! vim.List([FailingIterNext()]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using vim.List([%s])
|
|
Karsten Hopp |
52c181 |
! vim.List([None]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{"": 1}]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! vim.List([{u"": 1}]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! vim.List([FailingMapping()]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! vim.List([FailingMappingKey()]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>> ListItem
|
|
Karsten Hopp |
52c181 |
! l[1000]:IndexError:('list index out of range',)
|
|
Karsten Hopp |
52c181 |
>> ListAssItem
|
|
Karsten Hopp |
52c181 |
! ll[1] = 2:error:('list is locked',)
|
|
Karsten Hopp |
52c181 |
! l[1000] = 3:IndexError:('list index out of range',)
|
|
Karsten Hopp |
52c181 |
>> ListAssSlice
|
|
Karsten Hopp |
52c181 |
! ll[1:100] = "abc":error:('list is locked',)
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [{%s : 1}]
|
|
Karsten Hopp |
52c181 |
! l[:] = [{1 : 1}]:TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{u"\0" : 1}]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"\0" : 1}]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [{"abc" : {%s : 1}}]
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : {1 : 1}}]:TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : {u"\0" : 1}}]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : {"\0" : 1}}]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [{"abc" : Mapping({%s : 1})}]
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : Mapping({1 : 1})}]:TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : Mapping({u"\0" : 1})}]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : Mapping({"\0" : 1})}]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l[:] = [{"abc" : %s}]
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : FailingIter()}]:TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : FailingIterNext()}]:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l[:] = [{"abc" : %s}]
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : None}]:TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : {"": 1}}]:ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : {u"": 1}}]:ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : FailingMapping()}]:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"abc" : FailingMappingKey()}]:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [Mapping({%s : 1})]
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({1 : 1})]:TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({u"\0" : 1})]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"\0" : 1})]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [Mapping({"abc" : {%s : 1}})]
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : {1 : 1}})]:TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : {u"\0" : 1}})]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : {"\0" : 1}})]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l[:] = [Mapping({"abc" : Mapping({%s : 1})})]
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : Mapping({1 : 1})})]:TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : Mapping({u"\0" : 1})})]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : Mapping({"\0" : 1})})]:TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l[:] = [Mapping({"abc" : %s})]
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : FailingIter()})]:TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : FailingIterNext()})]:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l[:] = [Mapping({"abc" : %s})]
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : None})]:TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : {"": 1}})]:ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : {u"": 1}})]:ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : FailingMapping()})]:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! l[:] = [Mapping({"abc" : FailingMappingKey()})]:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l[:] = [%s]
|
|
Karsten Hopp |
52c181 |
! l[:] = [FailingIter()]:TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [FailingIterNext()]:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l[:] = [%s]
|
|
Karsten Hopp |
52c181 |
! l[:] = [None]:TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{"": 1}]:ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [{u"": 1}]:ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l[:] = [FailingMapping()]:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! l[:] = [FailingMappingKey()]:NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>> ListConcatInPlace
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([{%s : 1}])
|
|
Karsten Hopp |
52c181 |
! l.extend([{1 : 1}]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{u"\0" : 1}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{"\0" : 1}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([{"abc" : {%s : 1}}])
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : {1 : 1}}]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : {u"\0" : 1}}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : {"\0" : 1}}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([{"abc" : Mapping({%s : 1})}])
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : Mapping({1 : 1})}]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : Mapping({u"\0" : 1})}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : Mapping({"\0" : 1})}]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l.extend([{"abc" : %s}])
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : FailingIter()}]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : FailingIterNext()}]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l.extend([{"abc" : %s}])
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : None}]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : {"": 1}}]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : {u"": 1}}]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : FailingMapping()}]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! l.extend([{"abc" : FailingMappingKey()}]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([Mapping({%s : 1})])
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({1 : 1})]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({u"\0" : 1})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"\0" : 1})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([Mapping({"abc" : {%s : 1}})])
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : {1 : 1}})]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : {u"\0" : 1}})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : {"\0" : 1}})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using l.extend([Mapping({"abc" : Mapping({%s : 1})})])
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : Mapping({1 : 1})})]):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : Mapping({u"\0" : 1})})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : Mapping({"\0" : 1})})]):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l.extend([Mapping({"abc" : %s})])
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : FailingIter()})]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : FailingIterNext()})]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l.extend([Mapping({"abc" : %s})])
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : None})]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : {"": 1}})]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : {u"": 1}})]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : FailingMapping()})]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! l.extend([Mapping({"abc" : FailingMappingKey()})]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using l.extend([%s])
|
|
Karsten Hopp |
52c181 |
! l.extend([FailingIter()]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l.extend([FailingIterNext()]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using l.extend([%s])
|
|
Karsten Hopp |
52c181 |
! l.extend([None]):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{"": 1}]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l.extend([{u"": 1}]):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! l.extend([FailingMapping()]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! l.extend([FailingMappingKey()]):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>> ListSetattr
|
|
Karsten Hopp |
52c181 |
! del l.locked:AttributeError:('cannot delete vim.List attributes',)
|
|
Karsten Hopp |
52c181 |
! l.locked = FailingTrue():NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! l.xxx = True:AttributeError:('cannot set this attribute',)
|
|
Karsten Hopp |
52c181 |
> Function
|
|
Karsten Hopp |
52c181 |
>> FunctionConstructor
|
|
Karsten Hopp |
52c181 |
! vim.Function("123"):ValueError:('unnamed function does not exist',)
|
|
Karsten Hopp |
52c181 |
! vim.Function("xxx_non_existent_function_xxx"):ValueError:('function does not exist',)
|
|
Karsten Hopp |
52c181 |
vim.Function("xxx#non#existent#function#xxx"):NOT FAILED
|
|
Karsten Hopp |
52c181 |
>> FunctionCall
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f({%s : 1})
|
|
Karsten Hopp |
52c181 |
! f({1 : 1}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! f({u"\0" : 1}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! f({"\0" : 1}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f({"abc" : {%s : 1}})
|
|
Karsten Hopp |
52c181 |
! f({"abc" : {1 : 1}}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! f({"abc" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! f({"abc" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f({"abc" : Mapping({%s : 1})})
|
|
Karsten Hopp |
52c181 |
! f({"abc" : Mapping({1 : 1})}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! f({"abc" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! f({"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using f({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! f({"abc" : FailingIter()}):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! f({"abc" : FailingIterNext()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using f({"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! f({"abc" : None}):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! f({"abc" : {"": 1}}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! f({"abc" : {u"": 1}}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! f({"abc" : FailingMapping()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! f({"abc" : FailingMappingKey()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f(Mapping({%s : 1}))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({1 : 1})):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! f(Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f(Mapping({"abc" : {%s : 1}}))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : {1 : 1}})):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : {u"\0" : 1}})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : {"\0" : 1}})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using f(Mapping({"abc" : Mapping({%s : 1})}))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : Mapping({1 : 1})})):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using f(Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : FailingIter()})):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : FailingIterNext()})):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using f(Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : None})):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : {"": 1}})):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : {u"": 1}})):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : FailingMapping()})):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! f(Mapping({"abc" : FailingMappingKey()})):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using f(%s)
|
|
Karsten Hopp |
52c181 |
! f(FailingIter()):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! f(FailingIterNext()):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using f(%s)
|
|
Karsten Hopp |
52c181 |
! f(None):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! f({"": 1}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! f({u"": 1}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! f(FailingMapping()):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! f(FailingMappingKey()):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self={%s : 1})
|
|
Karsten Hopp |
52c181 |
! fd(self={1 : 1}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! fd(self={u"\0" : 1}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! fd(self={"\0" : 1}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self={"abc" : {%s : 1}})
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : {1 : 1}}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : {u"\0" : 1}}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : {"\0" : 1}}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self={"abc" : Mapping({%s : 1})})
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : Mapping({1 : 1})}):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : Mapping({u"\0" : 1})}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : Mapping({"\0" : 1})}):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using fd(self={"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : FailingIter()}):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : FailingIterNext()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using fd(self={"abc" : %s})
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : None}):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : {"": 1}}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : {u"": 1}}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : FailingMapping()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! fd(self={"abc" : FailingMappingKey()}):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self=Mapping({%s : 1}))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({1 : 1})):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({u"\0" : 1})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"\0" : 1})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self=Mapping({"abc" : {%s : 1}}))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : {1 : 1}})):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : {u"\0" : 1}})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : {"\0" : 1}})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing StringToChars using fd(self=Mapping({"abc" : Mapping({%s : 1})}))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : Mapping({1 : 1})})):TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : Mapping({u"\0" : 1})})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : Mapping({"\0" : 1})})):TypeError:('expected string without null bytes',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using fd(self=Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : FailingIter()})):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : FailingIterNext()})):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using fd(self=Mapping({"abc" : %s}))
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : None})):TypeError:('unable to convert to vim structure',)
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : {"": 1}})):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : {u"": 1}})):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : FailingMapping()})):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! fd(self=Mapping({"abc" : FailingMappingKey()})):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing *Iter* using fd(self=%s)
|
|
Karsten Hopp |
52c181 |
! fd(self=FailingIter()):TypeError:('unable to convert object to vim dictionary',)
|
|
Karsten Hopp |
52c181 |
! fd(self=FailingIterNext()):TypeError:('unable to convert object to vim dictionary',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyObject using fd(self=%s)
|
|
Karsten Hopp |
52c181 |
! fd(self=None):TypeError:('unable to convert object to vim dictionary',)
|
|
Karsten Hopp |
52c181 |
! fd(self={"": 1}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! fd(self={u"": 1}):ValueError:('empty keys are not allowed',)
|
|
Karsten Hopp |
52c181 |
! fd(self=FailingMapping()):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
! fd(self=FailingMappingKey()):NotImplementedError:()
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
>>> Testing ConvertFromPyMapping using fd(self=%s)
|
|
Karsten Hopp |
52c181 |
! fd(self=[]):TypeError:('unable to convert object to vim dictionary',)
|
|
Karsten Hopp |
52c181 |
<<< Finished
|
|
Karsten Hopp |
52c181 |
> TabPage
|
|
Karsten Hopp |
52c181 |
>> TabPageAttr
|
|
Karsten Hopp |
52c181 |
! vim.current.tabpage.xxx:AttributeError:('xxx',)
|
|
Karsten Hopp |
52c181 |
> TabList
|
|
Karsten Hopp |
52c181 |
>> TabListItem
|
|
Karsten Hopp |
52c181 |
! vim.tabpages[1000]:IndexError:('no such tab page',)
|
|
Karsten Hopp |
52c181 |
> Window
|
|
Karsten Hopp |
52c181 |
>> WindowAttr
|
|
Karsten Hopp |
52c181 |
! vim.current.window.xxx:AttributeError:('xxx',)
|
|
Karsten Hopp |
52c181 |
>> WindowSetattr
|
|
Karsten Hopp |
52c181 |
! vim.current.window.buffer = 0:TypeError:('readonly attribute',)
|
|
Karsten Hopp |
52c181 |
! vim.current.window.cursor = (100000000, 100000000):error:('cursor position outside buffer',)
|
|
Karsten Hopp |
52c181 |
! vim.current.window.cursor = True:TypeError:('argument must be 2-item sequence, not bool',)
|
|
Karsten Hopp |
52c181 |
! vim.current.window.height = "abc":TypeError:('an integer is required',)
|
|
Karsten Hopp |
52c181 |
! vim.current.window.width = "abc":TypeError:('an integer is required',)
|
|
Karsten Hopp |
52c181 |
! vim.current.window.xxxxxx = True:AttributeError:('xxxxxx',)
|
|
Karsten Hopp |
52c181 |
> WinList
|
|
Karsten Hopp |
52c181 |
>> WinListItem
|
|
Karsten Hopp |
52c181 |
! vim.windows[1000]:IndexError:('no such window',)
|
|
Karsten Hopp |
52c181 |
> Buffer
|
|
Karsten Hopp |
52c181 |
>> StringToLine (indirect)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[0] = "\na":error:('string cannot contain newlines',)
|
|
Karsten Hopp |
52c181 |
>> SetBufferLine (indirect)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[0] = True:TypeError:('bad argument type for built-in operation',)
|
|
Karsten Hopp |
52c181 |
>> SetBufferLines (indirect)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[:] = True:TypeError:('bad argument type for built-in operation',)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[:] = ["\na", "bc"]:error:('string cannot contain newlines',)
|
|
Karsten Hopp |
52c181 |
>> InsertBufferLines (indirect)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.append(None):TypeError:('bad argument type for built-in operation',)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.append(["\na", "bc"]):error:('string cannot contain newlines',)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.append("\nbc"):error:('string cannot contain newlines',)
|
|
Karsten Hopp |
52c181 |
>> RBItem
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[100000000]:IndexError:('line number out of range',)
|
|
Karsten Hopp |
52c181 |
>> RBAsItem
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer[100000000] = "":IndexError:('line number out of range',)
|
|
Karsten Hopp |
52c181 |
>> BufferAttr
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.xxx:AttributeError:('xxx',)
|
|
Karsten Hopp |
52c181 |
>> BufferSetattr
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.name = True:TypeError:('object must be string',)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.xxx = True:AttributeError:('xxx',)
|
|
Karsten Hopp |
52c181 |
>> BufferMark
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.mark(0):TypeError:('must be string, not int',)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.mark("abc"):ValueError:('mark name must be a single character',)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.mark("!"):error:('invalid mark name',)
|
|
Karsten Hopp |
52c181 |
>> BufferRange
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer.range(1, 2, 3):TypeError:('function takes exactly 2 arguments (3 given)',)
|
|
Karsten Hopp |
52c181 |
> BufMap
|
|
Karsten Hopp |
52c181 |
>> BufMapItem
|
|
Karsten Hopp |
52c181 |
! vim.buffers[None]:TypeError:('key must be integer',)
|
|
Karsten Hopp |
52c181 |
! vim.buffers[100000000]:KeyError:(100000000,)
|
|
Karsten Hopp |
52c181 |
> Current
|
|
Karsten Hopp |
52c181 |
>> CurrentGetattr
|
|
Karsten Hopp |
52c181 |
! vim.current.xxx:AttributeError:('xxx',)
|
|
Karsten Hopp |
52c181 |
>> CurrentSetattr
|
|
Karsten Hopp |
52c181 |
! vim.current.line = True:TypeError:('bad argument type for built-in operation',)
|
|
Karsten Hopp |
52c181 |
! vim.current.buffer = True:TypeError:('expected vim.Buffer object',)
|
|
Karsten Hopp |
52c181 |
! vim.current.window = True:TypeError:('expected vim.Window object',)
|
|
Karsten Hopp |
52c181 |
! vim.current.tabpage = True:TypeError:('expected vim.TabPage object',)
|
|
Karsten Hopp |
52c181 |
! vim.current.xxx = True:AttributeError:('xxx',)
|
|
Karsten Hopp |
52c181 |
2,xx
|
|
Karsten Hopp |
52c181 |
before
|
|
Karsten Hopp |
52c181 |
after
|
|
Karsten Hopp |
52c181 |
! vim.command("throw 'abc'"):error:('abc',)
|
|
Karsten Hopp |
52c181 |
! Exe("throw 'def'"):error:('def',)
|
|
Karsten Hopp |
52c181 |
! vim.eval("Exe('throw ''ghi''')"):error:('ghi',)
|
|
Karsten Hopp |
52c181 |
! vim.eval("Exe('echoerr ''jkl''')"):error:('Vim(echoerr):jkl',)
|
|
Karsten Hopp |
52c181 |
! vim.eval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',)
|
|
Karsten Hopp |
52c181 |
! vim.bindeval("Exe('xxx_non_existent_command_xxx')"):error:('Vim:E492: Not an editor command: xxx_non_existent_command_xxx',)
|
|
Karsten Hopp |
52c181 |
*** ../vim-7.3.1172/src/version.c 2013-06-12 14:20:15.000000000 +0200
|
|
Karsten Hopp |
52c181 |
--- src/version.c 2013-06-12 14:22:25.000000000 +0200
|
|
Karsten Hopp |
52c181 |
***************
|
|
Karsten Hopp |
52c181 |
*** 730,731 ****
|
|
Karsten Hopp |
52c181 |
--- 730,733 ----
|
|
Karsten Hopp |
52c181 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
52c181 |
+ /**/
|
|
Karsten Hopp |
52c181 |
+ 1173,
|
|
Karsten Hopp |
52c181 |
/**/
|
|
Karsten Hopp |
52c181 |
|
|
Karsten Hopp |
52c181 |
--
|
|
Karsten Hopp |
52c181 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
52c181 |
168. You have your own domain name.
|
|
Karsten Hopp |
52c181 |
|
|
Karsten Hopp |
52c181 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
52c181 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
52c181 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
52c181 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|