Mercurial > vim
comparison src/testdir/test87.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 [b'0'] | 27 [b'0'] |
28 {'0': -1} | 28 {'0': -1} |
29 (b'', -1) | 29 (b'0', -1) |
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] |
661 d.update((("a", {"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) | 661 d.update((("a", {"": 1}),)):(<class 'ValueError'>, ValueError('empty keys are not allowed',)) |
662 d.update((("a", FailingMapping()),)):(<class 'NotImplementedError'>, NotImplementedError()) | 662 d.update((("a", FailingMapping()),)):(<class 'NotImplementedError'>, NotImplementedError()) |
663 d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError()) | 663 d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError()) |
664 <<< Finished | 664 <<< Finished |
665 >> DictionaryPopItem | 665 >> DictionaryPopItem |
666 d.popitem(1, 2):(<class 'TypeError'>, TypeError('function takes exactly 1 argument (2 given)',)) | 666 d.popitem(1, 2):(<class 'TypeError'>, TypeError('popitem() takes no arguments (2 given)',)) |
667 >> DictionaryHasKey | 667 >> DictionaryHasKey |
668 d.has_key():(<class 'TypeError'>, TypeError('function takes exactly 1 argument (0 given)',)) | 668 d.has_key():(<class 'TypeError'>, TypeError('function takes exactly 1 argument (0 given)',)) |
669 > List | 669 > List |
670 >> ListConstructor | 670 >> ListConstructor |
671 vim.List(1, 2):(<class 'TypeError'>, TypeError('function takes at most 1 argument (2 given)',)) | 671 vim.List(1, 2):(<class 'TypeError'>, TypeError('function takes at most 1 argument (2 given)',)) |