docstr: `sox_io_backend.info` can check gsm file correctly
docstr_tok: ["`","sox_io_backend.info","`","can","check","gsm","file","correctly"]
code: def test_gsm(self):
      """`sox_io_backend.info` can check gsm file correctly"""
      duration = 1
      num_channels = 1
      sample_rate = 8000
      path = self.get_temp_path("data.gsm")
      sox_utils.gen_audio_file(
          path,
          sample_rate=sample_rate,
          num_channels=num_channels,
          duration=duration,
      )
      info = sox_io_backend.info(path)
      assert info.sample_rate == sample_rate
      assert info.num_channels == num_channels
      assert info.bits_per_sample == 0
      assert info.encoding == "GSM"
  
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 11 for calling the TestInfo obj's underlying member method code with example usage: obj.test_gsm() without return types