Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
50076f71
Commit
50076f71
authored
Sep 09, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add tests for Event.wait and AsyncResult.wait
parent
0b965836
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
greentest/test__asyncresult.py
greentest/test__asyncresult.py
+12
-1
No files found.
greentest/test__asyncresult.py
View file @
50076f71
import
greentest
import
gevent
from
gevent.event
import
AsyncResult
from
gevent.event
import
Event
,
AsyncResult
DELAY
=
0.01
class
TestEventWait
(
greentest
.
GenericWaitTestCase
):
def
wait
(
self
,
timeout
):
Event
().
wait
(
timeout
=
timeout
)
class
TestAsyncResultWait
(
greentest
.
GenericWaitTestCase
):
def
wait
(
self
,
timeout
):
AsyncResult
().
wait
(
timeout
=
timeout
)
class
TestAsyncResult
(
greentest
.
TestCase
):
def
test_set_exc
(
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