Mercurial > vim
view src/testdir/test_channel_write.py @ 24230:ed0fc4787392 v8.2.2656
patch 8.2.2656: some command line arguments and regexp errors not tested
Commit: https://github.com/vim/vim/commit/a2b3e7dc9201fb3d8782c6b4ab53862160e254da
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Mar 26 17:24:34 2021 +0100
patch 8.2.2656: some command line arguments and regexp errors not tested
Problem: Some command line arguments and regexp errors not tested.
Solution: Add a few test cases. (Dominique Pell?, closes https://github.com/vim/vim/issues/8013)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 26 Mar 2021 17:30:03 +0100 |
parents | 5cd9ba96561d |
children |
line wrap: on
line source
#!/usr/bin/python # # Program that writes a number to stdout repeatedly # # This requires Python 2.6 or later. from __future__ import print_function import sys import time if __name__ == "__main__": done = 0 while done < 10: done = done + 1 print(done) sys.stdout.flush() time.sleep(0.05) # sleep 50 msec