code: def test_raise_exception_on_missing_pitch_sup_data_type_if_use_voiced(
      self, test_data_dir, sup_data_type
  ):
      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")
      with pytest.raises(ValueError):
          dataset = TTSDataset(
              manifest_filepath=manifest_path,
              sample_rate=22050,
              sup_data_types=[sup_data_type],
              sup_data_path=sup_path,
              window="hann",
              text_tokenizer=EnglishPhonemesTokenizer(
                  punct=True,
                  stresses=True,
                  chars=True,
                  space=" ",
                  apostrophe=True,
                  pad_with_space=True,
                  g2p=EnglishG2p(),
              ),
          )
  
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 4 for calling the TestTTSDataset obj's underlying member method code with example usage: obj.test_raise_exception_on_missing_pitch_sup_data_type_if_use_voiced(test_data_dir, sup_data_type) without return types