From 6dc3b5de36c1f51ec66832c118415deca0353317 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 2 Nov 2015 06:11:35 +0100 Subject: [PATCH] Add some margin to wait_for stopwatch. --- tests/integration/test_testprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_testprocess.py b/tests/integration/test_testprocess.py index bc363a603..13b705fe1 100644 --- a/tests/integration/test_testprocess.py +++ b/tests/integration/test_testprocess.py @@ -94,7 +94,7 @@ class TestWaitFor: """Using wait_for with the expected text.""" pyproc.code = "import time; time.sleep(0.5); print('foobar')" pyproc.start() - with stopwatch(min_ms=500): + with stopwatch(min_ms=300): # on Windows, this can be done faster... pyproc.wait_for(data="foobar") def test_other_text(self, pyproc):