STINNER Victor added the comment:

There is a similar (but different?) issue on Windows XP. I tried to fix it with 
the 4 last commits.

The test uses a busy loop. The scheduled handle is called after 0.100 - 
granularity. The granularity is usually 15.6 ms on Windows, so the expected 
mimiumum is around 0.084 (not 0.090). Attached patch test_base_events.patch 
uses the granularity to test the minimum. The check on the maximum should maybe 
be removed because of our slow buildbots.

http://buildbot.python.org/all/builders/x86%20XP-4%203.x/builds/10071/steps/test/logs/stdio

======================================================================
FAIL: test_time_and_call_at 
(test.test_asyncio.test_base_events.BaseEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_asyncio\test_base_events.py",
 line 124, in test_time_and_call_at
    self.assertTrue(0.09 <= t1-t0 <= 0.9, t1-t0)
AssertionError: False is not true : 0.08999999985098839

----------
Added file: http://bugs.python.org/file33830/test_base_events.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20452>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to