Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/testdir/test87.ok +++ b/src/testdir/test87.ok @@ -26,7 +26,7 @@ True False [b'0'] {'0': -1} -(b'', -1) +(b'0', -1) None [] [0, 1, 2, 3] @@ -663,7 +663,7 @@ d.update((("a", FailingMapping()),)):(<c d.update((("a", FailingMappingKey()),)):(<class 'NotImplementedError'>, NotImplementedError()) <<< Finished >> DictionaryPopItem -d.popitem(1, 2):(<class 'TypeError'>, TypeError('function takes exactly 1 argument (2 given)',)) +d.popitem(1, 2):(<class 'TypeError'>, TypeError('popitem() takes no arguments (2 given)',)) >> DictionaryHasKey d.has_key():(<class 'TypeError'>, TypeError('function takes exactly 1 argument (0 given)',)) > List