code: def test_convert_fail(input_data, properties, exc):
      converter = VegaConverter("f", input_data, properties)
      with pytest.raises(exc):
          converter.flat_datapoints("r")
  
file_path: dvc/tests/unit/render/test_vega_converter.py
imports: from collections import OrderedDict
  import pytest
  from dvc.exceptions import DvcException
  from dvc.render import FIELD, FILENAME, REVISION
  from dvc.render.converter.vega import FieldNotFoundError, VegaConverter, _lists
label_desc: Use image node_id 3 for calling a global function with example usage: test_convert_fail(input_data, properties, exc) without return types