summaryrefslogtreecommitdiff
path: root/tests/test_task.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_task.py')
-rw-r--r--tests/test_task.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_task.py b/tests/test_task.py
index 1a86245..6466823 100644
--- a/tests/test_task.py
+++ b/tests/test_task.py
@@ -34,7 +34,7 @@ class TestThreadedTaskDispatcher(unittest.TestCase):
L = []
inst.start_new_thread = lambda *x: L.append(x)
inst.set_thread_count(1)
- self.assertEqual(L, [(inst.handler_thread, (0,))])
+ self.assertEqual(L, [(inst.handler_thread, 0)])
def test_set_thread_count_increase_with_existing(self):
inst = self._makeOne()
@@ -42,7 +42,7 @@ class TestThreadedTaskDispatcher(unittest.TestCase):
inst.threads = {0}
inst.start_new_thread = lambda *x: L.append(x)
inst.set_thread_count(2)
- self.assertEqual(L, [(inst.handler_thread, (1,))])
+ self.assertEqual(L, [(inst.handler_thread, 1)])
def test_set_thread_count_decrease(self):
inst = self._makeOne()