[Python-checkins] cpython: Relax timing even more, hopefully again fixes issue 19579.

guido.van.rossum python-checkins at python.org
Sat Nov 23 18:20:23 CET 2013


http://hg.python.org/cpython/rev/085091cb6e4c
changeset:   87433:085091cb6e4c
parent:      87431:8344e273c862
user:        Guido van Rossum <guido at dropbox.com>
date:        Sat Nov 23 09:20:12 2013 -0800
summary:
  Relax timing even more, hopefully again fixes issue 19579.

files:
  Lib/test/test_asyncio/test_base_events.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py
--- a/Lib/test/test_asyncio/test_base_events.py
+++ b/Lib/test/test_asyncio/test_base_events.py
@@ -181,7 +181,7 @@
         self.loop._run_once()
 
         t = self.loop._selector.select.call_args[0][0]
-        self.assertTrue(9.9 < t < 10.1, t)
+        self.assertTrue(9.5 < t < 10.5, t)
         self.assertEqual([h2], self.loop._scheduled)
         self.assertTrue(self.loop._process_events.called)
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list