Explorar el Código

Tests passing on Py2.6

Ask Solem hace 11 años
padre
commit
3ec94b8225
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      celery/tests/worker/test_worker.py

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

@@ -640,7 +640,7 @@ class test_Consumer(AppCase):
         def effect():
             if connect.call_count > 1:
                 return
-            raise ChannelError()
+            raise ChannelError('error')
         connect.side_effect = effect
         l.connect()
         connect.assert_called_with()