code: def test_dataset(self, test_data_dir):
      manifest_path = os.path.join(
          test_data_dir, "tts/mini_ljspeech/manifest.json"
      )
      sup_path = os.path.join(test_data_dir, "tts/mini_ljspeech/sup")
  
      dataset = TTSDataset(
          manifest_filepath=manifest_path,
          sample_rate=22050,
          sup_data_types=["pitch"],
          sup_data_path=sup_path,
          text_tokenizer=EnglishPhonemesTokenizer(
              punct=True,
              stresses=True,
              chars=True,
              space=" ",
              apostrophe=True,
              pad_with_space=True,
              g2p=EnglishG2p(),
          ),
      )
  
      dataloader = torch.utils.data.DataLoader(
          dataset, 2, collate_fn=dataset._collate_fn
      )
      data, _, _, _, _, _ = next(iter(dataloader))
  
file_path: NeMo/tests/collections/tts/test_torch_tts.py
imports: import json
  import os
  from pathlib import Path
  import pytest
  import torch
  from nemo.collections.common.tokenizers.text_to_speech.tts_tokenizers import EnglishPhonemesTokenizer
  from nemo.collections.tts.data.dataset import TTSDataset
  from nemo.collections.tts.g2p.models.en_us_arpabet import EnglishG2p
  from nemo.collections.tts.parts.utils.tts_dataset_utils import get_base_dir
label_desc: Use image node_id 1 for calling the TestTTSDataset obj's underlying member method code with example usage: obj.test_dataset(test_data_dir) without return types