Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
27e1240a
Commit
27e1240a
authored
Apr 18, 2016
by
Victor Stinner
Browse files
Options
Browse Files
Download
Plain Diff
Merge 3.5 (test_asyncio)
parents
791ac54a
c1b57860
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Lib/test/test_asyncio/test_tasks.py
Lib/test/test_asyncio/test_tasks.py
+3
-1
No files found.
Lib/test/test_asyncio/test_tasks.py
View file @
27e1240a
...
@@ -2395,7 +2395,9 @@ class TimeoutTests(test_utils.TestCase):
...
@@ -2395,7 +2395,9 @@ class TimeoutTests(test_utils.TestCase):
resp
=
yield
from
long_running_task
()
resp
=
yield
from
long_running_task
()
self
.
assertEqual
(
resp
,
'done'
)
self
.
assertEqual
(
resp
,
'done'
)
dt
=
self
.
loop
.
time
()
-
t0
dt
=
self
.
loop
.
time
()
-
t0
self
.
assertTrue
(
0.09
<
dt
<
0.11
,
dt
)
# tolerate a time delta for clocks with bad resolution
# and slow buildbots
self
.
assertTrue
(
0.09
<
dt
<
0.15
,
dt
)
self
.
loop
.
run_until_complete
(
go
())
self
.
loop
.
run_until_complete
(
go
())
def
test_raise_runtimeerror_if_no_task
(
self
):
def
test_raise_runtimeerror_if_no_task
(
self
):
...
...
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