def METHOD_NAME(self, dtype, sample_rate, num_channels):
    """`sox_io_backend.info` is torchscript-able and returns the same result"""
    audio_path = self.get_temp_path(f"{dtype}_{sample_rate}_{num_channels}.wav")
    data = get_wav_data(dtype, num_channels, normalize=False, num_frames=1 * sample_rate)
    save_wav(audio_path, data, sample_rate)
    ts_info_func = torch_script(py_info_func)
    py_info = py_info_func(audio_path)
    ts_info = ts_info_func(audio_path)
    assert py_info.sample_rate == ts_info.sample_rate
    assert py_info.num_frames == ts_info.num_frames
    assert py_info.num_channels == ts_info.num_channels