Commit f520818d authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: Relax idle block test

parent 99eb7f2b
......@@ -174,7 +174,11 @@ def _test_block():
idle.block(2)
end = time.time()
assert (end - start) >= 2
# Be relaxed about precision - timing
# can sometimes be pretty sloppy when
# running in a docker container.
assert abs((end - start) < 2) < 0.05
if fslplatform.haveGui:
assert called[0]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment