class_docstr: Reduce
class_docstr_tok: ["Reduce"]
code: def test_failed(self):
      in_que = DataQueue(
          [("num1", ColumnType.QUEUE), ("num2", ColumnType.QUEUE)]
      )
      in_que.put(("a", 1))
      in_que.put((3, 1))
      in_que.seal()
      out_que1 = DataQueue(
          [("num1", ColumnType.SCALAR), ("num2", ColumnType.SCALAR)]
      )
      out_que2 = DataQueue([("num1", ColumnType.SCALAR)])
      info = copy.deepcopy(self.node_info)
      info["outputs"] = ("num1", "num2")
      node = create_node(
          NodeRepr(uid="test_node", **info),
          self.op_pool,
          [in_que],
          [out_que1, out_que2],
      )
      self.assertTrue(node.initialize())
      f = self.thread_pool.submit(node.process)
      f.result()
      self.assertTrue(node.status == NodeStatus.FAILED)
      self.assertTrue(out_que1.sealed)
      self.assertTrue(out_que2.sealed)
      self.assertTrue(out_que1.size == 0)
      self.assertTrue(out_que2.size == 0)
  
imports: import unittest
  import time
  import copy
  import uuid
  from functools import reduce
  from concurrent.futures import ThreadPoolExecutor
  from towhee.runtime.node_repr import NodeRepr
  from towhee.runtime.nodes import create_node, NodeStatus
  from towhee.runtime.data_queue import DataQueue, ColumnType, Empty
  from towhee.runtime.operator_manager import OperatorPool
label_desc: Use image node_id 7 for calling the TestReduce obj's underlying member method code with example usage: obj.test_failed() without return types