view src/testdir/test_short_sleep.py @ 12255:d5710baf5cf7 v8.0.1007

patch 8.0.1007: no test for filetype detection for scripts commit https://github.com/vim/vim/commit/cbe6944956d7c39176e8b15faa77f1c29eaf5c97 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 27 16:54:26 2017 +0200 patch 8.0.1007: no test for filetype detection for scripts Problem: No test for filetype detection for scripts. Solution: Add a first test file script filetype detection.
author Christian Brabandt <cb@256bit.org>
date Sun, 27 Aug 2017 17:00:05 +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