diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-23 12:51:32 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-23 12:51:32 +0200 |
commit | 6c85e7f3be87fa4a669e8f080d527a3982e8e96c (patch) | |
tree | b2b247ced220135504ef4781d1a134632eaa9bda /src/testdir/test87.ok | |
parent | 3dbcd0c7ad93533f46981ebafe6710c1e03b1be2 (diff) |
updated for version 7.3.1226v7.3.1226
Problem: Python: duplicate code.
Solution: Share code between OutputWrite() and OutputWritelines(). (ZyX)
Diffstat (limited to 'src/testdir/test87.ok')
-rw-r--r-- | src/testdir/test87.ok | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test87.ok b/src/testdir/test87.ok index 1d4044519d..414dc9e424 100644 --- a/src/testdir/test87.ok +++ b/src/testdir/test87.ok @@ -433,7 +433,7 @@ sys.stdout.attr = None:(<class 'AttributeError'>, AttributeError('invalid attrib sys.stdout.write(None):(<class 'TypeError'>, TypeError("Can't convert 'NoneType' object to str implicitly",)) >> OutputWriteLines sys.stdout.writelines(None):(<class 'TypeError'>, TypeError("'NoneType' object is not iterable",)) -sys.stdout.writelines([1]):(<class 'TypeError'>, TypeError('writelines() requires list of strings',)) +sys.stdout.writelines([1]):(<class 'TypeError'>, TypeError("Can't convert 'int' object to str implicitly",)) >>> Testing *Iter* using sys.stdout.writelines(%s) sys.stdout.writelines(FailingIter()):(<class 'NotImplementedError'>, NotImplementedError()) sys.stdout.writelines(FailingIterNext()):(<class 'NotImplementedError'>, NotImplementedError()) |