From 903d43794370a0eccef7df2a261075ac07ed87f2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin <git@the-compiler.org> Date: Wed, 6 May 2015 11:21:49 +0200 Subject: [PATCH] Fix flaky log_time test. --- tests/utils/debug/test_log_time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/debug/test_log_time.py b/tests/utils/debug/test_log_time.py index 2f80b38f1..3769cb6a2 100644 --- a/tests/utils/debug/test_log_time.py +++ b/tests/utils/debug/test_log_time.py @@ -42,4 +42,4 @@ def test_log_time(caplog): assert match duration = float(match.group(1)) - assert 0.08 <= duration <= 0.20 + assert 0 < duration < 1