comparison src/testdir/test86.ok @ 4698:2db005052371 v7.3.1096

updated for version 7.3.1096 Problem: Python: popitem() was not defined in a standard way. Solution: Remove the argument from popitem(). (ZyX)
author Bram Moolenaar <bram@vim.org>
date Sun, 02 Jun 2013 17:41:54 +0200
parents 79522bb17125
children 542af01979be
comparison
equal deleted inserted replaced
4697:c905c60b1860 4698:2db005052371
24 False 24 False
25 True 25 True
26 False 26 False
27 ['0'] 27 ['0']
28 {'0': -1} 28 {'0': -1}
29 ('', -1L) 29 ('0', -1L)
30 None 30 None
31 [] 31 []
32 [0, 1, 2, 3] 32 [0, 1, 2, 3]
33 [0, 1, 2, 3] 33 [0, 1, 2, 3]
34 [0, 1, 3] 34 [0, 1, 3]
664 d.update((("a", {"": 1}),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',)) 664 d.update((("a", {"": 1}),)):(<type 'exceptions.ValueError'>, ValueError('empty keys are not allowed',))
665 d.update((("a", FailingMapping()),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) 665 d.update((("a", FailingMapping()),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
666 d.update((("a", FailingMappingKey()),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError()) 666 d.update((("a", FailingMappingKey()),)):(<type 'exceptions.NotImplementedError'>, NotImplementedError())
667 <<< Finished 667 <<< Finished
668 >> DictionaryPopItem 668 >> DictionaryPopItem
669 d.popitem(1, 2):(<type 'exceptions.TypeError'>, TypeError('function takes exactly 1 argument (2 given)',)) 669 d.popitem(1, 2):(<type 'exceptions.TypeError'>, TypeError('popitem() takes no arguments (2 given)',))
670 >> DictionaryHasKey 670 >> DictionaryHasKey
671 d.has_key():(<type 'exceptions.TypeError'>, TypeError('function takes exactly 1 argument (0 given)',)) 671 d.has_key():(<type 'exceptions.TypeError'>, TypeError('function takes exactly 1 argument (0 given)',))
672 > List 672 > List
673 >> ListConstructor 673 >> ListConstructor
674 vim.List(1, 2):(<type 'exceptions.TypeError'>, TypeError('function takes at most 1 argument (2 given)',)) 674 vim.List(1, 2):(<type 'exceptions.TypeError'>, TypeError('function takes at most 1 argument (2 given)',))