code: def test_load_num_sequence_text(loader_type: str, tmp_path: Path):
      p = tmp_path / "dummy.txt"
      if "csv" in loader_type:
          delimiter = ","
      else:
          delimiter = " "
  
      with p.open("w") as f:
          f.write("abc " + delimiter.join(["0", "1", "2"]) + "\n")
          f.write("def " + delimiter.join(["3", "4", "5"]) + "\n")
      desired = {"abc": np.array([0, 1, 2]), "def": np.array([3, 4, 5])}
      if loader_type == "dummy":
          with pytest.raises(ValueError):
              load_num_sequence_text(p, loader_type=loader_type)
          return
      else:
          target = load_num_sequence_text(p, loader_type=loader_type)
      for k in desired:
          np.testing.assert_array_equal(target[k], desired[k])
  
file_path: espnet/test/espnet2/fileio/test_read_text.py
imports: from pathlib import Path
  import numpy
  import pytest
  from espnet2.fileio.read_text import load_num_sequence_text, read_2columns_text, read_label, read_multi_columns_text
label_desc: Use image node_id 4 for calling a global function with example usage: test_load_num_sequence_text(loader_type, tmp_path) without return types