class_docstr: Given `format` parameter, `so.load` can load files without extension
class_docstr_tok: ["Given","`","format","`","parameter",",","`","so.load","`","can","load","files","without","extension"]
code: def _make_file(self, format_):
      sample_rate = 8000
      path_with_ext = self.get_temp_path(f"test.{format_}")
      data = get_wav_data("float32", num_channels=2).numpy().T
      soundfile.write(path_with_ext, data, sample_rate)
      expected = soundfile.read(path_with_ext, dtype="float32")[0].T
      path = os.path.splitext(path_with_ext)[0]
      os.rename(path_with_ext, path)
      return path, expected
  
imports: import os
  import tarfile
  from unittest.mock import patch
  import torch
  from parameterized import parameterized
  from torchaudio._internal import module_utils
  from torchaudio.backend import soundfile_backend
  from torchaudio_unittest.common_utils import get_wav_data, load_wav, normalize_wav, PytorchTestCase, save_wav, skipIfNoModule, TempDirMixin
  from .common import dtype2subtype, parameterize, skipIfFormatNotSupported
label_desc: Use image node_id 1 for calling the TestLoadFormat obj's underlying member method code with example usage: obj._make_file(format_) and returns: path,  expected