Commit 954e7d2a authored by Stefan Behnel's avatar Stefan Behnel

Reduce unnecessarily long sleep time in test.

parent e4b86647
...@@ -43,12 +43,12 @@ async def cy_async(): ...@@ -43,12 +43,12 @@ async def cy_async():
async def say(): async def say():
await cb() await cb()
async def cb(): # renaming this to "say" would prevent crash async def cb():
print("awaiting:") print("awaiting:")
await cy_async() await cy_async()
await py_async() await py_async()
print("sleeping:") print("sleeping:")
await asyncio.sleep(3) await asyncio.sleep(0.5)
print("done!") print("done!")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment