class_docstr: DataQueue test
code: def _internal_seal(self, DataQueueClass):
      input_que = DataQueueClass(
          [("url", ColumnType.SCALAR), ("image", ColumnType.QUEUE)]
      )
      self.assertTrue(input_que.put(("1", "2")))
      input_que.seal()
      self.assertFalse(input_que.put(("1", "2")))
  
      input_que = DataQueueClass(
          [("url", ColumnType.SCALAR), ("image", ColumnType.QUEUE)]
      )
      self.assertTrue(input_que.put(("1", "2")))
      self.assertTrue(input_que.put(("1", "2")))
      self.assertEqual(input_que.size, 2)
      input_que.clear_and_seal()
      self.assertFalse(input_que.put(("1", "2")))
      self.assertEqual(input_que.size, 0)
      self.assertEqual(input_que.get(), None)
      self.assertEqual(input_que.get_dict(), None)
  
imports: import unittest
  import threading
  import time
  from functools import partial
  from towhee.runtime.data_queue import DataQueue, ColumnType, Empty
label_desc: Use image node_id 7 for calling the TestDataQueue obj's underlying member method code with example usage: obj._internal_seal(DataQueueClass) without return types