message: Improved the item_tst.py regression test.
diff: @@ -25,6 +25,7 @@ from tensorflow.python.framework import meta_graph
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.grappler import item
  +from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.platform import test
  @@ -59,6 +60,7 @@ class ItemTest(test.TestCase):
  a = constant_op.constant(10)
  b = constant_op.constant(20)
  c = a + b
  + z = control_flow_ops.no_op()
  train_op = ops.get_collection_ref(ops.GraphKeys.TRAIN_OP)
  train_op.append(c)
  mg = meta_graph.create_meta_graph_def(graph=g)
  @@ -69,6 +71,9 @@ class ItemTest(test.TestCase):
  for node in grappler_item.metagraph.graph_def.node:
  node_prop = op_properties[node.name]
  + if node.name == z.name:
  + self.assertEqual(0, len(node_prop))
  + else:
  self.assertEqual(1, len(node_prop))
  self.assertEqual(dtypes.int32, node_prop[0].dtype)
  self.assertEqual(tensor_shape.scalar(), node_prop[0].shape)
  