code: def test_constructor_error(
      self,
      columns,
      feature_spec,
      error_msg,
      error_type=ValueError,
      **kwargs,
  ):
      schema = schema_utils.schema_from_feature_spec(feature_spec)
      with self.assertRaisesRegexp(error_type, error_msg):
          csv_coder.CsvCoder(columns, schema, **kwargs)
  
file_path: transform/tensorflow_transform/coders/csv_coder_test.py
imports: import pickle
  import tensorflow
  from tensorflow_transform.coders import csv_coder
  from tensorflow_transform import test_case
  from tensorflow_transform.tf_metadata import schema_utils
label_desc: Use image node_id 2 for calling the TestCSVCoder obj's underlying member method code with example usage: obj.test_constructor_error(columns, feature_spec, error_msg, error_type) without return types