class_docstr: Test the correctness of `self._load` for various formats
class_docstr_tok: ["Test","the","correctness","of","`","self._load","`","for","various","formats"]
docstr: `self._load` can load opus file correctly.
docstr_tok: ["`","self._load","`","can","load","opus","file","correctly","."]
code: def test_opus(self, bitrate, num_channels, compression_level):
      """`self._load` can load opus file correctly."""
      ops_path = get_asset_path(
          "io", f"{bitrate}_{compression_level}_{num_channels}ch.opus"
      )
      wav_path = self.get_temp_path(
          f"{bitrate}_{compression_level}_{num_channels}ch.opus.wav"
      )
      _convert_audio_file(ops_path, wav_path, encoder="pcm_f32le")
  
      expected, sample_rate = load_wav(wav_path)
      found, sr = self._load(ops_path)
  
      assert sample_rate == sr
      self.assertEqual(expected, found)
  
imports: import io
  import itertools
  import pathlib
  import tarfile
  from functools import partial
  from parameterized import parameterized
  from torchaudio._backend.ffmpeg import _parse_save_args
  from torchaudio._backend.utils import get_load_func
  from torchaudio._internal import module_utils
  from torchaudio_unittest.backend.dispatcher.sox.common import name_func
  from torchaudio_unittest.common_utils import disabledInCI, get_asset_path, get_wav_data, HttpServerMixin, load_wav, PytorchTestCase, save_wav, skipIfNoExec, skipIfNoFFmpeg, skipIfNoModule, sox_utils, TempDirMixin
  from .save_test import _convert_audio_file
label_desc: Use image node_id 10 for calling the TestLoad obj's underlying member method code with example usage: obj.test_opus(bitrate, num_channels, compression_level) without return types