code: def test_construction_bad_input_types(self):
      with self.assertRaises(TypeError):
          Pipeline(1)
  
      Pipeline({})
  
      with self.assertRaises(TypeError):
          Pipeline({}, 1)
  
      with self.assertRaises(TypeError):
          Pipeline({}, SomeFactor())
  
      with self.assertRaises(TypeError):
          Pipeline({"open": USEquityPricing.open})
  
      Pipeline({}, SomeFactor() > 5)
  
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 2 for calling the PipelineTestCase obj's underlying member method code with example usage: obj.test_construction_bad_input_types() without return types