docstr: `sox_io_backend.info` can check flac file correctly
docstr_tok: ["`","sox_io_backend.info","`","can","check","flac","file","correctly"]
code: def test_flac(self, sample_rate, num_channels, compression_level):
      """`sox_io_backend.info` can check flac file correctly"""
      duration = 1
      path = self.get_temp_path("data.flac")
      sox_utils.gen_audio_file(
          path,
          sample_rate,
          num_channels,
          compression=compression_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 == 24  # FLAC standard
      assert info.encoding == "FLAC"
  
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 4 for calling the TestInfo obj's underlying member method code with example usage: obj.test_flac(sample_rate, num_channels, compression_level) without return types