summaryrefslogtreecommitdiff
path: root/src/testdir/test87.ok
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-05-30 13:01:18 +0200
committerBram Moolenaar <Bram@vim.org>2013-05-30 13:01:18 +0200
commita9922d62e60142f1cb9889626e82e8cc7126be1a (patch)
tree6d2281fef42af5d2e2351d8eb8166445478930c4 /src/testdir/test87.ok
parenta5b725c3f67f1c98d99fec71a3cbaad502a02291 (diff)
downloadvim-a9922d62e60142f1cb9889626e82e8cc7126be1a.zip
updated for version 7.3.1061
Problem: Python: Dictionary is not standard. Solution: Python patch 20: Add standard methods and fields. (ZyX)
Diffstat (limited to 'src/testdir/test87.ok')
-rw-r--r--src/testdir/test87.ok28
1 files changed, 25 insertions, 3 deletions
diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok
index 8ae7a8cb6..b92d65cff 100644
--- a/src/testdir/test87.ok
+++ b/src/testdir/test87.ok
@@ -4,13 +4,29 @@ start:
Vim(put):E684:
[0, 'as''d', [1, 2, function('strlen'), {'a': 1}]]
[0, function('strlen'), [1, 2, function('strlen'), {'a': 1}]]
-['-1', '1', 'b']
+[b'-1', b'0', b'1', b'b']
+[-1, <vim.dictionary object at >, <vim.list object at >, b'asd']
+[(b'-1', <vim.dictionary object at >), (b'0', -1), (b'1', b'asd'), (b'b', <vim.list object at >)]
'-1' : {'a': 1}
+'0' : -1
'1' : 'asd'
'b' : [1, 2, function('strlen')]
[0, function('strlen')]
[3]
-{'1': 'asd', 'b': [1, 2, function('strlen')]}
+[1, 2, function('strlen')]
+[1, 2, function('strlen')]
+1
+'asd'
+2
+True
+False
+True
+False
+[b'0']
+{'0': -1}
+(b'', -1)
+None
+[]
[0, 1, 2, 3]
[0, 1, 2, 3]
[0, 1, 3]
@@ -44,6 +60,8 @@ TypeError
ValueError
TypeError
TypeError
+KeyError
+KeyError
d : locked:0;scope:0
dl : locked:1;scope:0
v: : locked:2;scope:1
@@ -376,10 +394,13 @@ buffer:__dir__,append,mark,name,number,options,range,valid,vars
window:__dir__,buffer,col,cursor,height,number,options,row,tabpage,valid,vars
tabpage:__dir__,number,valid,vars,window,windows
range:__dir__,append,end,start
-dictionary:__dir__,keys,locked,scope
+dictionary:__dir__,get,has_key,items,keys,locked,pop,popitem,scope,update,values
list:__dir__,extend,locked
function:__call__,__dir__,softspace
output:__dir__,flush,softspace,write,writelines
+{}
+{'a': 1}
+{'a': 1}
'
abcdef
line :
@@ -387,6 +408,7 @@ abcdef
abc
line :
abc'
+['a', 'dup_a']
(<class 'vim.error'>, error('abc',))
(<class 'vim.error'>, error('def',))
(<class 'vim.error'>, error('ghi',))