view src/testdir/test_short_sleep.py @ 15217:49bc670c3ee9 v8.1.0618

patch 8.1.0618: term_getjob() does not return v:null as documented commit https://github.com/vim/vim/commit/528ccfbaa1cc805f430a750c551e5a9fd7eb54fe Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 21 20:55:22 2018 +0100 patch 8.1.0618: term_getjob() does not return v:null as documented Problem: term_getjob() does not return v:null as documented. Solution: Do return v:null. (Damien) Add a test.
author Bram Moolenaar <Bram@vim.org>
date Fri, 21 Dec 2018 21:00:06 +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