view src/testdir/test_short_sleep.py @ 18197:78d4902b22df v8.1.2093

patch 8.1.2093: MS-Windows: system() test fails Commit: https://github.com/vim/vim/commit/9be0e0b9d31e42d0074527a7789836087475142a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 28 16:25:00 2019 +0200 patch 8.1.2093: MS-Windows: system() test fails Problem: MS-Windows: system() test fails. Solution: Expect CR when using systemlist().
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Sep 2019 16:30:03 +0200
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