code: def test_infer_dtype(value, expected_type):
      assert infer_dtype(value, skipna=False) == expected_type
  
imports: import types
  from packaging.version import Version
  from importlib.metadata import version
  import numpy
  import pandas
  import pytest
  import altair
  from altair.utils.core import parse_shorthand, update_nested, infer_encoding_types
  from altair.utils.core import infer_dtype
label_desc: Use image node_id 1 for calling a global function with example usage: test_infer_dtype(value, expected_type) without return types