docstr: Test determine_ready_tensors_and_table_initializers.
  
  Args:
    create_graph_fn: A function that adds ops to a graph and returns a dict
        mapping tensor names to `Tensor` or `SparseTensor`s.
    feeds: A list of keys in the dict returned by create_graph_fn that are fed
        in the main run (but not table initialization run).
    replaced_tensors_ready: A dict whose keys are keys in the dict returned by
        create_graph_fn and values are a bools indicating whether that tensor
        is ready to be replaced in this phase.
    error_msg_regex: The expected error message.
code: def testInitializableGraphAnalyzerConstructorRaises(
      self,
      create_graph_fn,
      feeds,
      replaced_tensors_ready,
      error_msg_regex,
  ):
      """Test determine_ready_tensors_and_table_initializers.
  
      Args:
        create_graph_fn: A function that adds ops to a graph and returns a dict
            mapping tensor names to `Tensor` or `SparseTensor`s.
        feeds: A list of keys in the dict returned by create_graph_fn that are fed
            in the main run (but not table initialization run).
        replaced_tensors_ready: A dict whose keys are keys in the dict returned by
            create_graph_fn and values are a bools indicating whether that tensor
            is ready to be replaced in this phase.
        error_msg_regex: The expected error message.
      """
      with tf.compat.v1.Graph().as_default() as graph:
          tensors = create_graph_fn()
      replaced_tensors_ready = [
          (tensors[name], ready)
          for name, ready in replaced_tensors_ready.items()
      ]
      with self.assertRaisesRegexp(ValueError, error_msg_regex):
          graph_tools.InitializableGraphAnalyzer(
              graph,
              {x: tensors[x] for x in feeds},
              replaced_tensors_ready,
          )
  
imports: import abc
  import os
  import tempfile
  import tensorflow
  from tensorflow_transform import graph_tools
  from tensorflow_transform import test_case
  from tfx_bsl.types import tfx_namedtuple
  from tensorflow.python.ops import control_flow_ops
label_desc: Use image node_id 2 for calling the GraphToolsTest obj's underlying member method code with example usage: obj.testInitializableGraphAnalyzerConstructorRaises(create_graph_fn, feeds, replaced_tensors_ready, error_msg_regex) without return types