From 83dbfccc746ac5501b176ae45eb341a09b8b7e3b Mon Sep 17 00:00:00 2001 From: Jeremy Tellaa Date: Wed, 22 Nov 2023 14:12:52 +0100 Subject: [PATCH] fix: delay test was too strict --- tests/test_looper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_looper.py b/tests/test_looper.py index 5fbf461..8cb85db 100644 --- a/tests/test_looper.py +++ b/tests/test_looper.py @@ -122,7 +122,7 @@ def test_total_delay() -> None: assert cmd_looper.runs == max_tries diff = cmd_looper.duration - (max_tries - 1) * delay assert diff > 0 - assert diff < 0.1 + assert diff < 0.2 def test_total_time_even() -> None: