浏览代码

Windows tests are actually creating pools

Ask Solem 9 年之前
父节点
当前提交
def92d580f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      celery/tests/worker/test_worker.py

+ 2 - 2
celery/tests/worker/test_worker.py

@@ -1188,5 +1188,5 @@ class test_WorkController(AppCase):
         pool.register_with_event_loop(w, w.hub)
         if sys.platform != 'win32':
             self.assertIsInstance(w.semaphore, LaxBoundedSemaphore)
-        P = w.pool
-        P.start()
+            P = w.pool
+            P.start()