bpo-19579: test_asyncio: test__run_once timings should be relaxed
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2013-11-17.00:57:58.669>created_at=<Date2013-10-23.22:20:01.745>labels= ['tests', 'type-bug', 'library']
title='timing test too tight'updated_at=<Date2013-11-17.00:57:58.669>user='https://github.com/pitrou'
Traceback (most recent call last):
File "E:\home\cpython\buildslave\x86\3.x.snakebite-win2k8r2sp1-x86\build\lib\test\test_asyncio\test_base_events.py", line 182, in test__run_onceself.assertTrue(9.99< t <10.1, t)
AssertionError: False is not true : 9.98499999998603
Activity
pitrou commented on Oct 23, 2013
Looks like test_asyncio still has rather tight timing expectations:
http://buildbot.python.org/all/builders/x86%20Windows%20Server%202008%20%5BSB%5D%203.x/builds/1495/steps/test/logs/stdio
======================================================================
FAIL: test__run_once (test.test_asyncio.test_base_events.BaseEventLoopTests)
----------------------------------------------------------------------
ezio-melotti commented on Nov 12, 2013
Also this should use assertAlmostEqual().