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
ec9bccd0
Commit
ec9bccd0
authored
Aug 13, 2009
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test_queue.py: re-enable tests for JoinableQueue
parent
d7ee03c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
greentest/test_queue.py
greentest/test_queue.py
+6
-4
No files found.
greentest/test_queue.py
View file @
ec9bccd0
...
...
@@ -160,9 +160,10 @@ class BaseQueueTest(unittest.TestCase, BlockingTestMixin):
q
.
put
(
None
)
# instruct the threads to close
q
.
join
()
# verify that you can join twice
def
DISABLE_
test_queue_task_done
(
self
):
def
test_queue_task_done
(
self
):
# Test to make sure a queue task completed successfully.
q
=
self
.
type2test
()
q
=
Queue
.
JoinableQueue
()
# self.type2test()
# XXX the same test in subclasses
try
:
q
.
task_done
()
except
ValueError
:
...
...
@@ -170,10 +171,11 @@ class BaseQueueTest(unittest.TestCase, BlockingTestMixin):
else
:
self
.
fail
(
"Did not detect task count going negative"
)
def
DISABLE_
test_queue_join
(
self
):
def
test_queue_join
(
self
):
# Test that a queue join()s successfully, and before anything else
# (done twice for insurance).
q
=
self
.
type2test
()
q
=
Queue
.
JoinableQueue
()
# self.type2test()
# XXX the same test in subclass
self
.
queue_join_test
(
q
)
self
.
queue_join_test
(
q
)
try
:
...
...
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