Skip to content

Commit 1b33276

Browse files
committed
Allow more delay in test_waitfor
1 parent 6f97d14 commit 1b33276

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ async def foo():
144144
self.assertTrue(fut.done())
145145
# it should have been cancelled due to the timeout
146146
self.assertTrue(fut.cancelled())
147-
self.assertLess(t1 - t0, 0.5)
147+
# GraalVM change: allow more delay
148+
self.assertLess(t1 - t0, 1.0)
148149
self.assertEqual(foo_running, False)
149150

150151
async def test_wait_for_blocking(self):

0 commit comments

Comments
 (0)