comparison src/testdir/test87.ok @ 4964:5cee875f3096 v7.3.1227

updated for version 7.3.1227 Problem: Inconsistent string conversion. Solution: Use 'encoding' instead of utf-8. Use METH_O in place of METH_VARARGS where appropriate. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Sun, 23 Jun 2013 13:00:44 +0200
parents b34d719b13cd
children f5c822e5a0eb
comparison
equal deleted inserted replaced
4963:bb1c0f320e74 4964:5cee875f3096
437 >>> Testing *Iter* using sys.stdout.writelines(%s) 437 >>> Testing *Iter* using sys.stdout.writelines(%s)
438 sys.stdout.writelines(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) 438 sys.stdout.writelines(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError())
439 sys.stdout.writelines(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) 439 sys.stdout.writelines(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError())
440 <<< Finished 440 <<< Finished
441 > VimCommand 441 > VimCommand
442 vim.command(1):(<class 'TypeError'>, TypeError('must be str, not int',)) 442 vim.command(1):(<class 'TypeError'>, TypeError('object must be string',))
443 > VimToPython 443 > VimToPython
444 > VimEval 444 > VimEval
445 vim.eval(1):(<class 'TypeError'>, TypeError('must be str, not int',)) 445 vim.eval(1):(<class 'TypeError'>, TypeError('object must be string',))
446 > VimEvalPy 446 > VimEvalPy
447 vim.bindeval(1):(<class 'TypeError'>, TypeError('must be str, not int',)) 447 vim.bindeval(1):(<class 'TypeError'>, TypeError('object must be string',))
448 > VimStrwidth 448 > VimStrwidth
449 vim.strwidth(1):(<class 'TypeError'>, TypeError('must be str, not int',)) 449 vim.strwidth(1):(<class 'TypeError'>, TypeError('object must be string',))
450 > Dictionary 450 > Dictionary
451 >> DictionaryConstructor 451 >> DictionaryConstructor
452 vim.Dictionary("abc"):(<class 'ValueError'>, ValueError('expected sequence element of size 2',)) 452 vim.Dictionary("abc"):(<class 'ValueError'>, ValueError('expected sequence element of size 2',))
453 >> DictionarySetattr 453 >> DictionarySetattr
454 del d.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.Dictionary attributes',)) 454 del d.locked:(<class 'AttributeError'>, AttributeError('cannot delete vim.Dictionary attributes',))
678 d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError()) 678 d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError())
679 <<< Finished 679 <<< Finished
680 >> DictionaryPopItem 680 >> DictionaryPopItem
681 d.popitem(1, 2):(<class 'TypeError'>, TypeError('popitem() takes no arguments (2 given)',)) 681 d.popitem(1, 2):(<class 'TypeError'>, TypeError('popitem() takes no arguments (2 given)',))
682 >> DictionaryHasKey 682 >> DictionaryHasKey
683 d.has_key():(<class 'TypeError'>, TypeError('function takes exactly 1 argument (0 given)',)) 683 d.has_key():(<class 'TypeError'>, TypeError('has_key() takes exactly one argument (0 given)',))
684 > List 684 > List
685 >> ListConstructor 685 >> ListConstructor
686 vim.List(1, 2):(<class 'TypeError'>, TypeError('function takes at most 1 argument (2 given)',)) 686 vim.List(1, 2):(<class 'TypeError'>, TypeError('function takes at most 1 argument (2 given)',))
687 vim.List(a=1):(<class 'TypeError'>, TypeError('list constructor does not accept keyword arguments',)) 687 vim.List(a=1):(<class 'TypeError'>, TypeError('list constructor does not accept keyword arguments',))
688 >>> Testing *Iter* using vim.List(%s) 688 >>> Testing *Iter* using vim.List(%s)
1072 vim.current.buffer.xxx:(<class 'AttributeError'>, AttributeError("'vim.buffer' object has no attribute 'xxx'",)) 1072 vim.current.buffer.xxx:(<class 'AttributeError'>, AttributeError("'vim.buffer' object has no attribute 'xxx'",))
1073 >> BufferSetattr 1073 >> BufferSetattr
1074 vim.current.buffer.name = True:(<class 'TypeError'>, TypeError('object must be string',)) 1074 vim.current.buffer.name = True:(<class 'TypeError'>, TypeError('object must be string',))
1075 vim.current.buffer.xxx = True:(<class 'AttributeError'>, AttributeError('xxx',)) 1075 vim.current.buffer.xxx = True:(<class 'AttributeError'>, AttributeError('xxx',))
1076 >> BufferMark 1076 >> BufferMark
1077 vim.current.buffer.mark(0):(<class 'TypeError'>, TypeError('must be str, not int',)) 1077 vim.current.buffer.mark(0):(<class 'TypeError'>, TypeError('object must be string',))
1078 vim.current.buffer.mark("abc"):(<class 'ValueError'>, ValueError('mark name must be a single character',)) 1078 vim.current.buffer.mark("abc"):(<class 'ValueError'>, ValueError('mark name must be a single character',))
1079 vim.current.buffer.mark("!"):(<class 'vim.error'>, error('invalid mark name',)) 1079 vim.current.buffer.mark("!"):(<class 'vim.error'>, error('invalid mark name',))
1080 >> BufferRange 1080 >> BufferRange
1081 vim.current.buffer.range(1, 2, 3):(<class 'TypeError'>, TypeError('function takes exactly 2 arguments (3 given)',)) 1081 vim.current.buffer.range(1, 2, 3):(<class 'TypeError'>, TypeError('function takes exactly 2 arguments (3 given)',))
1082 > BufMap 1082 > BufMap