diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-23 14:16:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-23 14:16:57 +0200 |
commit | 141be8a585145d2217fb425739ccc121aed4a8d4 (patch) | |
tree | 1fbdd6ad7db5cc23313f05d9ef8f4f1aaa0772f1 /src/testdir/test87.ok | |
parent | c476e52fcaf9e1ad779add6368e4f46b2c0d881c (diff) |
updated for version 7.3.1231v7.3.1231
Problem: Python: use of numbers not consistent.
Solution: Add support for Number protocol. (ZyX)
Diffstat (limited to 'src/testdir/test87.ok')
-rw-r--r-- | src/testdir/test87.ok | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok index 4b730349bc..b975eccb44 100644 --- a/src/testdir/test87.ok +++ b/src/testdir/test87.ok @@ -427,7 +427,7 @@ test87.in > Output >> OutputSetattr del sys.stdout.softspace:(<class 'AttributeError'>, AttributeError("can't delete OutputObject attributes",)) -sys.stdout.softspace = []:(<class 'TypeError'>, TypeError('softspace must be an integer',)) +sys.stdout.softspace = []:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got list',)) sys.stdout.attr = None:(<class 'AttributeError'>, AttributeError('invalid attribute: attr',)) >> OutputWrite sys.stdout.write(None):(<class 'TypeError'>, TypeError("Can't convert 'NoneType' object to str implicitly",)) @@ -1046,8 +1046,8 @@ vim.current.window.xxx:(<class 'AttributeError'>, AttributeError("'vim.window' o vim.current.window.buffer = 0:(<class 'TypeError'>, TypeError('readonly attribute: buffer',)) vim.current.window.cursor = (100000000, 100000000):(<class 'vim.error'>, error('cursor position outside buffer',)) vim.current.window.cursor = True:(<class 'TypeError'>, TypeError('argument must be 2-item sequence, not bool',)) -vim.current.window.height = "abc":(<class 'TypeError'>, TypeError('an integer is required',)) -vim.current.window.width = "abc":(<class 'TypeError'>, TypeError('an integer is required',)) +vim.current.window.height = "abc":(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got str',)) +vim.current.window.width = "abc":(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got str',)) vim.current.window.xxxxxx = True:(<class 'AttributeError'>, AttributeError('xxxxxx',)) > WinList >> WinListItem @@ -1081,7 +1081,7 @@ vim.current.buffer.mark("!"):(<class 'vim.error'>, error('invalid mark name',)) vim.current.buffer.range(1, 2, 3):(<class 'TypeError'>, TypeError('function takes exactly 2 arguments (3 given)',)) > BufMap >> BufMapItem -vim.buffers[None]:(<class 'TypeError'>, TypeError('key must be integer',)) +vim.buffers[None]:(<class 'TypeError'>, TypeError('expected int() or something supporting coercing to int(), but got NoneType',)) vim.buffers[100000000]:(<class 'KeyError'>, KeyError(100000000,)) > Current >> CurrentGetattr |