Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
954e7d2a
Commit
954e7d2a
authored
Mar 04, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce unnecessarily long sleep time in test.
parent
e4b86647
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/run/py35_asyncio_async_def.srctree
tests/run/py35_asyncio_async_def.srctree
+2
-2
No files found.
tests/run/py35_asyncio_async_def.srctree
View file @
954e7d2a
...
@@ -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!")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment