code: def test_call_raises_error_when_input_is_not_memory_block(
      self, value: Any, type_name: str
  ) -> None:
      decoder = AudioDecoder()
  
      with pytest.raises(
          ValueError,
          match=rf"^The input data must be of type `memory_block`, but is of type `{type_name}` instead\.$",
      ):
          decoder(value)
  
file_path: fairseq2/tests/unit/data/audio/test_audio_decoder.py
imports: from pathlib import Path
  from typing import Any, Final
  import pytest
  import torch
  from fairseq2.data.audio import AudioDecoder
  from fairseq2.memory import MemoryBlock
  from fairseq2.typing import DataType
  from tests.common import assert_close, device
label_desc: Use image node_id 3 for calling the TestAudioDecoder obj's underlying member method code with example usage: obj.test_call_raises_error_when_input_is_not_memory_block(value, type_name) without return types