code: def test_invalid_data_type():
      with pytest.raises(
          ValueError,
          match=r'"\(fd " is not one of the valid encoding data types',
      ):
          parse_shorthand(r"blah:(fd ")
  
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 14 for calling a global function with example usage: test_invalid_data_type() without return types