0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00
vim/src/testdir/test_short_sleep.py
Bram Moolenaar b81bc77ae7 patch 8.0.0911: terminal test takes too long
Problem:    Terminal test takes too long.
Solution:   Instead of "sleep 1" use a Python program to briefly sleep.
2017-08-11 22:45:01 +02:00

12 lines
174 B
Python

#!/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