code: def test_inputs_to_string(
      dataset: str,
      revision: str,
      config: str,
      split: str,
      prefix: str,
      expected: str,
  ) -> None:
      result = inputs_to_string(
          dataset=dataset,
          revision=revision,
          config=config,
          split=split,
          prefix=prefix,
      )
      assert result == expected
  
file_path: datasets-server/libs/libcommon/tests/test_utils.py
imports: from contextlib import nullcontext
  from typing import Any
  import numpy
  import pandas
  import pytest
  from libcommon.exceptions import DatasetInBlockListError
  from libcommon.utils import inputs_to_string, is_image_url, orjson_dumps, raise_if_blocked
label_desc: Use image node_id 1 for calling a global function with example usage: test_inputs_to_string(dataset, revision, config, split, prefix, expected) without return types