[Python-checkins] cpython: Issue #19952: test_asyncio: relax timings of Windows events, buildbots are

victor.stinner python-checkins at python.org
Fri Dec 13 02:45:30 CET 2013


http://hg.python.org/cpython/rev/a35b2d652449
changeset:   87923:a35b2d652449
parent:      87921:9852637f05c3
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Fri Dec 13 02:45:18 2013 +0100
summary:
  Issue #19952: test_asyncio: relax timings of Windows events, buildbots are
sometimes busy

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


diff --git a/Lib/test/test_asyncio/test_windows_events.py b/Lib/test/test_asyncio/test_windows_events.py
--- a/Lib/test/test_asyncio/test_windows_events.py
+++ b/Lib/test/test_asyncio/test_windows_events.py
@@ -120,7 +120,7 @@
         self.loop.run_until_complete(f)
         elapsed = self.loop.time() - start
         self.assertTrue(f.result())
-        self.assertTrue(0 <= elapsed < 0.02, elapsed)
+        self.assertTrue(0 <= elapsed < 0.1, elapsed)
 
         _overlapped.ResetEvent(event)
 
@@ -132,7 +132,7 @@
         with self.assertRaises(futures.CancelledError):
             self.loop.run_until_complete(f)
         elapsed = self.loop.time() - start
-        self.assertTrue(0 <= elapsed < 0.02, elapsed)
+        self.assertTrue(0 <= elapsed < 0.1, elapsed)
 
 
 if __name__ == '__main__':

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


More information about the Python-checkins mailing list