summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2018-03-04 08:21:19 +0100
committerStefan Behnel <stefan_ml@behnel.de>2018-03-04 08:21:19 +0100
commit954e7d2a729e0cf5a30697e353716f82afcfb5b3 (patch)
treeb3c00dcac7c68c8a7fae0c01c1fc3cf7e173974c
parente4b866470469139529075e4dfa90ca13f8dbb04f (diff)
downloadcython-0.28b1.tar.gz
Reduce unnecessarily long sleep time in test.0.28b1
-rw-r--r--tests/run/py35_asyncio_async_def.srctree4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run/py35_asyncio_async_def.srctree b/tests/run/py35_asyncio_async_def.srctree
index 9de764972..9da5560b3 100644
--- a/tests/run/py35_asyncio_async_def.srctree
+++ b/tests/run/py35_asyncio_async_def.srctree
@@ -43,12 +43,12 @@ async def cy_async():
async def say():
await cb()
-async def cb(): # renaming this to "say" would prevent crash
+async def cb():
print("awaiting:")
await cy_async()
await py_async()
print("sleeping:")
- await asyncio.sleep(3)
+ await asyncio.sleep(0.5)
print("done!")