code: def test_add(self):
      p = Pipeline()
      f = SomeFactor()
  
      p.add(f, "f")
      self.assertEqual(p.columns, {"f": f})
  
      p.add(f > 5, "g")
      self.assertEqual(p.columns, {"f": f, "g": f > 5})
  
      with self.assertRaises(TypeError):
          p.add(f, 1)
  
      with self.assertRaises(TypeError):
          p.add(USEquityPricing.open, "open")
  
imports: import inspect
  from unittest import TestCase
  from mock import patch
  from catalyst.pipeline import Factor, Filter, Pipeline
  from catalyst.pipeline.data import USEquityPricing
  from catalyst.pipeline.graph import display_graph
  from catalyst.utils.numpy_utils import float64_dtype
label_desc: Use image node_id 3 for calling the PipelineTestCase obj's underlying member method code with example usage: obj.test_add() without return types