code: def test_pytorch_dataloader():
      dataset = DummyDataset(100)
      dataloader = DataLoader(dataset, batch_size=None, num_workers=1)
      queue = multiprocessing.Queue()
      _worker(dataloader, queue)
      assert len(set(_queue_to_list(queue))) == 100
  
file_path: qlib/tests/rl/test_data_queue.py
imports: import multiprocessing
  import time
  import numpy
  import pandas
  from torch.utils.data import Dataset, DataLoader
  from qlib.rl.utils.data_queue import DataQueue
label_desc: Use image node_id 3 for calling a global function with example usage: test_pytorch_dataloader() without return types