Mercurial > vim
view src/testdir/test_short_sleep.py @ 12742:af961e38e508 v8.0.1249
patch 8.0.1249: no error when WaitFor() gets an invalid wrong expression
commit https://github.com/vim/vim/commit/c20e0d52071a3f6e12321ec3344024faa4695da9
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 2 18:19:19 2017 +0100
patch 8.0.1249: no error when WaitFor() gets an invalid wrong expression
Problem: No error when WaitFor() gets an invalid wrong expression.
Solution: Do not ignore errors in evaluationg the expression. Fix places
where the expression was wrong.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 02 Nov 2017 18:30:05 +0100 |
parents | 191ccece2f5d |
children |
line wrap: on
line source
#!/usr/bin/python # # Program that sleeps for 100 msec # # This requires Python 2.6 or later. import time if __name__ == "__main__": time.sleep(0.1) # sleep 100 msec