Fix flaky log_time test.

This commit is contained in:
Florian Bruhin 2015-05-06 11:21:49 +02:00
parent 024549e3b0
commit 903d437943

View File

@ -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