Antoine Pitrou added the comment: > ====================================================================== > FAIL: test_call_later > (test.test_asyncio.test_events.SelectEventLoopTests) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File > > "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/test/test_asyncio/test_events.py", > line 241, in test_call_later > self.assertTrue(0.09 <= t1-t0 <= 0.12, t1-t0) > AssertionError: False is not true : 0.12008954107295722
This one is a classical timing issue. The test is too optimistic: many buildbots can be quite slow or loaded. Other timing tests in the stdlib allow for much more slack. (e.g. call_later with 0.5 and check that the resulting delay is between 0.4 and 1.0) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19262> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com