Mercurial > vim
diff src/testdir/test86.ok @ 4972:537bbfff0c5c v7.3.1231
updated for version 7.3.1231
Problem: Python: use of numbers not consistent.
Solution: Add support for Number protocol. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 23 Jun 2013 14:16:57 +0200 |
parents | f5c822e5a0eb |
children | 4ed713442c51 |
line wrap: on
line diff
--- a/src/testdir/test86.ok +++ b/src/testdir/test86.ok @@ -438,7 +438,7 @@ test86.in > Output >> OutputSetattr del sys.stdout.softspace:AttributeError:("can't delete OutputObject attributes",) -sys.stdout.softspace = []:TypeError:('softspace must be an integer',) +sys.stdout.softspace = []:TypeError:('expected int(), long() or something supporting coercing to long(), but got list',) sys.stdout.attr = None:AttributeError:('invalid attribute: attr',) >> OutputWrite sys.stdout.write(None):TypeError:('coercing to Unicode: need string or buffer, NoneType found',) @@ -1037,8 +1037,8 @@ vim.current.window.xxx:AttributeError:(' vim.current.window.buffer = 0:TypeError:('readonly attribute: buffer',) vim.current.window.cursor = (100000000, 100000000):error:('cursor position outside buffer',) vim.current.window.cursor = True:TypeError:('argument must be 2-item sequence, not bool',) -vim.current.window.height = "abc":TypeError:('an integer is required',) -vim.current.window.width = "abc":TypeError:('an integer is required',) +vim.current.window.height = "abc":TypeError:('expected int(), long() or something supporting coercing to long(), but got str',) +vim.current.window.width = "abc":TypeError:('expected int(), long() or something supporting coercing to long(), but got str',) vim.current.window.xxxxxx = True:AttributeError:('xxxxxx',) > WinList >> WinListItem @@ -1072,7 +1072,7 @@ vim.current.buffer.mark("!"):error:('inv vim.current.buffer.range(1, 2, 3):TypeError:('function takes exactly 2 arguments (3 given)',) > BufMap >> BufMapItem -vim.buffers[None]:TypeError:('key must be integer',) +vim.buffers[None]:TypeError:('expected int(), long() or something supporting coercing to long(), but got NoneType',) vim.buffers[100000000]:KeyError:(100000000,) > Current >> CurrentGetattr