docstr: FFmpeg dispatcher can query audio data from pathlike object
code: def test_pathlike(self):
      """FFmpeg dispatcher can query audio data from pathlike object"""
      sample_rate = 16000
      dtype = "float32"
      num_channels = 2
      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 = self._info(pathlib.Path(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 io
  import itertools
  import os
  import pathlib
  import tarfile
  from contextlib import contextmanager
  from functools import partial
  from parameterized import parameterized
  from torchaudio._backend.utils import get_info_func
  from torchaudio._internal import module_utils
  from torchaudio.utils.sox_utils import get_buffer_size, set_buffer_size
  from torchaudio_unittest.backend.common import get_bits_per_sample, get_encoding
  from torchaudio_unittest.backend.dispatcher.sox.common import name_func
  from torchaudio_unittest.common_utils import get_asset_path, get_wav_data, HttpServerMixin, PytorchTestCase, save_wav, skipIfNoExec, skipIfNoFFmpeg, skipIfNoModule, sox_utils, TempDirMixin
label_desc: Use image node_id 1 for calling the TestInfo obj's underlying member method code with example usage: obj.test_pathlike() without return types