From ec28ad575ce1d7bb6a616ffc404f32bbb1af67b2 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 6 Jun 2010 12:48:25 +0200 Subject: 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 --- test/git/async/test_thread.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/git/async/test_thread.py') 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 -- cgit v1.2.1