소스 검색

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()