class_docstr: Tests for serialization, deserialization helpers.
class_docstr_tok: ["Tests","for","serialization",",","deserialization","helpers","."]
code: def test_serialize_non_feature_column(self):
      class NotAFeatureColumn(object):
          pass
  
      with self.assertRaisesRegex(ValueError, "is not a FeatureColumn"):
          serialization.serialize_feature_column(NotAFeatureColumn())
  
file_path: tensorflow/tensorflow/python/feature_column/serialization_test.py
imports: from tensorflow.python.feature_column import feature_column_v2
  from tensorflow.python.feature_column import serialization
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the FeatureColumnSerializationTest obj's underlying member method code with example usage: obj.test_serialize_non_feature_column() without return types