From 8ed6d78edd5a3b44d4ba635e72de56230c6b9e4d Mon Sep 17 00:00:00 2001
From: Paul McCarthy <pauldmccarthy@gmail.com>
Date: Fri, 5 Jul 2019 09:41:03 +0100
Subject: [PATCH] TEST: Fix to idle test

---
 tests/test_idle.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_idle.py b/tests/test_idle.py
index b2eee7265..84a11b968 100644
--- a/tests/test_idle.py
+++ b/tests/test_idle.py
@@ -178,7 +178,7 @@ def _test_block():
     # Be relaxed about precision - timing
     # can sometimes be pretty sloppy when
     # running in a docker container.
-    assert abs((end - start) < 2) < 0.05
+    assert abs((end - start) - 2) < 0.05
 
     if fslplatform.haveGui:
         assert called[0]
-- 
GitLab