docstr: `sox_io_backend.info` can check wav file with channels more than 2 correctly
docstr_tok: ["`","sox_io_backend.info","`","can","check","wav","file","with","channels","more","than","2","correctly"]
code: def test_wav_multiple_channels(
      self, dtype, sample_rate, num_channels
  ):
      """`sox_io_backend.info` can check wav file with channels more than 2 correctly"""
      duration = 1
      path = self.get_temp_path("data.wav")
      data = get_wav_data(
          dtype,
          num_channels,
          normalize=False,
          num_frames=duration * sample_rate,
      )
      save_wav(path, data, sample_rate)
      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 == sox_utils.get_bit_depth(dtype)
      assert info.encoding == get_encoding("wav", dtype)
  
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 2 for calling the TestInfo obj's underlying member method code with example usage: obj.test_wav_multiple_channels(dtype, sample_rate, num_channels) without return types