Skip to content

Commit 1b7e894

Browse files
committed
[GR-45013] Be more lenient in asyncio test
1 parent 03d8604 commit 1b7e894

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

graalpython/lib-python/3/test/test_asyncio/test_base_events.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,9 @@ def test__run_once(self):
367367
self.loop._run_once()
368368

369369
t = self.loop._selector.select.call_args[0][0]
370-
self.assertTrue(9.5 < t < 10.5, t)
370+
# GR-45013 - Truffle change: we may pump slower than CPython and have a
371+
# lower remaining timer
372+
self.assertTrue(8 < t < 10.5, t)
371373
self.assertEqual([h2], self.loop._scheduled)
372374
self.assertTrue(self.loop._process_events.called)
373375

0 commit comments

Comments
 (0)