docstr: Querying audio via file object works
docstr_tok: ["Querying","audio","via","file","object","works"]
code: def test_fileobj(self, ext, dtype):
      """Querying audio via file object works"""
      sample_rate = 16000
      num_frames = 3 * sample_rate
      num_channels = 2
      with self.assertRaisesRegex(
          ValueError, "SoX backend does not support reading"
      ):
          self._query_fileobj(
              ext, dtype, sample_rate, num_channels, num_frames
          )
  
imports: import itertools
  import os
  from functools import partial
  from parameterized import parameterized
  from torchaudio._backend.utils import get_info_func
  from torchaudio._internal import module_utils
  from torchaudio_unittest.backend.common import get_encoding
  from torchaudio_unittest.common_utils import disabledInCI, get_asset_path, get_wav_data, HttpServerMixin, PytorchTestCase, save_wav, skipIfNoExec, skipIfNoModule, skipIfNoSox, skipIfNoSoxDecoder, sox_utils, TempDirMixin
  from .common import name_func
label_desc: Use image node_id 2 for calling the TestFileObject obj's underlying member method code with example usage: obj.test_fileobj(ext, dtype) without return types