docstr: `sox_io_backend.info` can check vorbis file correctly
docstr_tok: ["`","sox_io_backend.info","`","can","check","vorbis","file","correctly"]
code: def test_vorbis(self, sample_rate, num_channels, quality_level):
      """`sox_io_backend.info` can check vorbis file correctly"""
      duration = 1
      path = self.get_temp_path("data.vorbis")
      sox_utils.gen_audio_file(
          path,
          sample_rate,
          num_channels,
          compression=quality_level,
          duration=duration,
      )
      info = sox_io_backend.info(path)
      assert info.sample_rate == sample_rate
      assert info.num_frames == sample_rate * duration
      assert info.num_channels == num_channels
      assert (
          info.bits_per_sample == 0
      )  # bit_per_sample is irrelevant for compressed formats
      assert info.encoding == "VORBIS"
  
imports: import itertools
  from parameterized import parameterized
  from torchaudio.backend import sox_io_backend
  from torchaudio_unittest.backend.common import get_encoding
  from torchaudio_unittest.common_utils import get_asset_path, get_wav_data, PytorchTestCase, save_wav, skipIfNoExec, skipIfNoSox, skipIfNoSoxDecoder, sox_utils, TempDirMixin
  from .common import name_func
label_desc: Use image node_id 5 for calling the TestInfo obj's underlying member method code with example usage: obj.test_vorbis(sample_rate, num_channels, quality_level) without return types