Skip to content
Snippets Groups Projects
Commit f520818d authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

TEST: Relax idle block test

parent 99eb7f2b
No related branches found
No related tags found
No related merge requests found
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment