We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59b2fad + f05af7c commit 1921a9aCopy full SHA for 1921a9a
tests/python/test_event_loop.py
@@ -46,7 +46,7 @@ def to_raise(msg):
46
with pytest.raises(asyncio.exceptions.TimeoutError):
47
await asyncio.wait_for(pm.eval("new Promise((resolve) => setTimeout(resolve, '100'))"), timeout=0.09)
48
# Number("1 second") -> NaN -> delay turns to be 0s
49
- await asyncio.wait_for(pm.eval("new Promise((resolve) => setTimeout(resolve, '1 second'))"), timeout=0.05) # won't be precisely 0s
+ await asyncio.wait_for(pm.eval("new Promise((resolve) => setTimeout(resolve, '1 second'))"), timeout=0.5) # won't be precisely 0s
50
51
# passing an invalid ID to `clearTimeout` should silently do nothing; no exception is thrown.
52
pm.eval("clearTimeout(NaN)")
0 commit comments