Mercurial > vim
comparison src/testdir/test86.in @ 4619:90beab957ba9 v7.3.1057
updated for version 7.3.1057
Problem: Python: not enough compatibilty.
Solution: Python patch 16: Make OutputWritelines support any sequence object
(ZyX) Note: tests fail
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 30 May 2013 12:26:58 +0200 |
parents | 89bec74fd793 |
children | 18ba89e06fab |
comparison
equal
deleted
inserted
replaced
4618:0b378d6158fd | 4619:90beab957ba9 |
---|---|
707 cb.append(name + ':' + ','.join(dir(o))) | 707 cb.append(name + ':' + ','.join(dir(o))) |
708 del name | 708 del name |
709 del o | 709 del o |
710 EOF | 710 EOF |
711 :" | 711 :" |
712 :" | |
713 :" Test stdout/stderr | |
714 :redir => messages | |
715 :py sys.stdout.write('abc') ; sys.stdout.write('def') | |
716 :py sys.stderr.write('abc') ; sys.stderr.write('def') | |
717 :py sys.stdout.writelines(iter('abc')) | |
718 :py sys.stderr.writelines(iter('abc')) | |
719 :redir END | |
720 :$put =string(substitute(messages, '\d\+', '', 'g')) | |
721 :" | |
712 :" Test exceptions | 722 :" Test exceptions |
713 :fun Exe(e) | 723 :fun Exe(e) |
714 : execute a:e | 724 : execute a:e |
715 :endfun | 725 :endfun |
716 py << EOF | 726 py << EOF |