docstr: This test is expecting the UUT to fail because we ask for more channels
  than available in the input signal.
docstr_tok: ["This","test","is","expecting","the","UUT","to","fail","because","we","ask","for","more","channels","than","available","in","the","input","signal","."]
code: def test_select_more_channels_than_available(
      self,
      num_channels: int,
      channel_selector: Type[Union[str, int, List[int]]],
  ):
      """This test is expecting the UUT to fail because we ask for more channels
      than available in the input signal.
      """
      num_samples = 1000
      signal_in = np.random.rand(self.num_samples, num_channels)
  
      # expect failure since we ask for more channels than available
      with pytest.raises(ValueError):
          # UUT
          signal_out = select_channels(signal_in, channel_selector)
  
imports: import os
  from collections import namedtuple
  from typing import List, Type, Union
  import librosa
  import matplotlib.pyplot
  import numpy
  import pytest
  import scipy
  import soundfile
  import torch
  from nemo.collections.asr.parts.preprocessing.segment import AudioSegment
  from nemo.collections.asr.parts.utils.audio_utils import SOUND_VELOCITY
  from nemo.collections.asr.parts.utils.audio_utils import calculate_sdr_numpy, convmtx_mc_numpy, db2mag, estimated_coherence, generate_approximate_noise_field, get_segment_start, mag2db, pow2db, rms, select_channels, theoretical_coherence, toeplitz
label_desc: Use image node_id 3 for calling the TestSelectChannels obj's underlying member method code with example usage: obj.test_select_more_channels_than_available(num_channels, channel_selector) without return types