code: def test_call_raises_error_when_input_does_not_contain_sample_rate(
      self,
  ) -> None:
      converter = WaveformToFbankConverter()
  
      with pytest.raises(
          ValueError,
          match=r"^The input dictionary must contain the waveform sample rate under a key named `sample_rate`, but does not contain such key\.$",
      ):
          converter({"waveform": torch.zeros((), device=device)})
  
imports: from pathlib import Path
  from typing import Final, Sequence
  import pytest
  import torch
  from fairseq2.data.audio import AudioDecoder, AudioDecoderOutput, WaveformToFbankConverter
  from fairseq2.memory import MemoryBlock
  from tests.common import assert_equal, device
label_desc: Use image node_id 7 for calling the TestWaveformToFbankConverter obj's underlying member method code with example usage: obj.test_call_raises_error_when_input_does_not_contain_sample_rate() without return types