view src/testdir/test_short_sleep.py @ 26911:c451e8657110 v8.2.3984

patch 8.2.3984: debugger test fails Commit: https://github.com/vim/vim/commit/3d0da09bb2d31afc611bf1c4b35796739d87ed63 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 2 17:28:57 2022 +0000 patch 8.2.3984: debugger test fails Problem: Debugger test fails. Solution: Adjust the test for modified debugging of a for loop.
author Bram Moolenaar <Bram@vim.org>
date Sun, 02 Jan 2022 18:30:03 +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