mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
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.
This commit is contained in:
11
src/testdir/test_short_sleep.py
Normal file
11
src/testdir/test_short_sleep.py
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
Reference in New Issue
Block a user