@@ -747,7 +747,6 @@ class chain(Signature):
)
prev_res = prev_prev_res
-
if is_last_task:
# chain(task_id=id) means task id is set for the last task
# in the chain. If the chord is part of a chord/group
@@ -1,6 +1,7 @@
from __future__ import absolute_import, unicode_literals
import pytest
from celery import chain, group, uuid
+from celery.exceptions import TimeoutError
from .tasks import add, collect_ids, ids
TIMEOUT = 120
@@ -516,7 +516,6 @@ class test_chain(CanvasCase):
node = node.parent
class test_group(CanvasCase):
def test_repr(self):