summaryrefslogtreecommitdiff
path: root/test/git/async/test_thread.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-06 12:48:25 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-06 12:48:25 +0200
commitec28ad575ce1d7bb6a616ffc404f32bbb1af67b2 (patch)
tree90003f8f93becbb0b8aacd4c2ff7119842fa8003 /test/git/async/test_thread.py
parentb72e2704022d889f116e49abf3e1e5d3e3192d3b (diff)
downloadgitpython-ec28ad575ce1d7bb6a616ffc404f32bbb1af67b2.tar.gz
thread: adjusted worker thread not to provide an output queue anymore - this is handled by the task system
graph: implemented it including test according to the pools requirements pool: implemented set_pool_size
Diffstat (limited to 'test/git/async/test_thread.py')
-rw-r--r--test/git/async/test_thread.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/git/async/test_thread.py b/test/git/async/test_thread.py
index ca306cc0..2ea8d1ff 100644
--- a/test/git/async/test_thread.py
+++ b/test/git/async/test_thread.py
@@ -37,9 +37,7 @@ class TestThreads( TestCase ):
# test different method types
standalone_func = lambda *args, **kwargs: worker.fun(*args, **kwargs)
for function in ("fun", TestWorker.fun, worker.fun, standalone_func):
- rval = worker.call(function, 1, this='that')
- assert isinstance(rval, Queue)
- assert rval.get() is True
+ worker.call(function, 1, this='that')
worker.make_assertion()
# END for each function type