Explorar o código

Value should be 0 as there is a single release (2-3+1=0)

Ionel Cristian Mărieș %!s(int64=11) %!d(string=hai) anos
pai
achega
b9672c53ae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      celery/tests/worker/test_hub.py

+ 1 - 1
celery/tests/worker/test_hub.py

@@ -54,7 +54,7 @@ class test_LaxBoundedSemaphore(Case):
         self.assertFalse(c3.called)
 
         x.release()
-        self.assertEqual(x.value, 1)
+        self.assertEqual(x.value, 0)
         c3.assert_called_with(3)
 
     def test_bounded(self):