Преглед на файлове

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