Browse Source

Tests passing on Py2.6

Ask Solem 11 năm trước cách đây
mục cha
commit
3ec94b8225
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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()