summaryrefslogtreecommitdiff
path: root/tests/test_notify.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_notify.py')
-rwxr-xr-xtests/test_notify.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_notify.py b/tests/test_notify.py
index 722aecf..2af7773 100755
--- a/tests/test_notify.py
+++ b/tests/test_notify.py
@@ -59,9 +59,9 @@ conn.close()
self.notify('foo', 1);
t0 = time.time()
- ready = select.select([self.conn], [], [], 2)
+ ready = select.select([self.conn], [], [], 5)
t1 = time.time()
- self.assert_(0.99 < t1 - t0 < 1.2, t1 - t0)
+ self.assert_(0.99 < t1 - t0 < 4, t1 - t0)
self.assertEqual(0, len(self.conn.notifies))
self.assertEqual(extensions.POLL_OK, self.conn.poll())