message: Updates error messages for using wrap_function.
diff: @@ -121,8 +121,8 @@ class VariableScopeTest(test.TestCase):
  set(expected_names), set([v.name for v in vs._vars.values()]))
  # TODO(mihaimaruseac): Not converted to use wrap_function because of
  - # ValueError: Operation name: "tower0/foo/v/Assign" ... is not an element of
  - # this graph.
  + # TypeError: Expected tf.group() expected Tensor arguments not 'None' with
  + # type '<type 'NoneType'>'
  @test_util.run_in_graph_and_eager_modes
  def testVarScopeInitializer(self):
  init = init_ops.constant_initializer(0.3)
  @@ -266,7 +266,8 @@ class VariableScopeTest(test.TestCase):
  self.assertFalse(ops.get_collection(ops.GraphKeys.TRAINABLE_VARIABLES))
  # TODO(mihaimaruseac): Not converted to use wrap_function because of
  - # ValueError: Operation name: "v4/Assign" ... is not an element of this graph.
  + # TypeError: Expected tf.group() expected Tensor arguments not 'None' with
  + # type '<type 'NoneType'>'.
  @test_util.run_in_graph_and_eager_modes
  def testInitFromNonTensorValue(self):
  v = variable_scope.get_variable("v4", initializer=4, dtype=dtypes.int32)
  @@ -284,7 +285,8 @@ class VariableScopeTest(test.TestCase):
  variable_scope.get_variable("x4", initializer={})
  # TODO(mihaimaruseac): Not converted to use wrap_function because of
  - # ValueError: Operation name: "xx0/Assign" ...is not an element of this graph.
  + # InvalidArgumentError=: You must feed a value for placeholder tensor
  + # 'ReadVariableOp/resource' with dtype resource
  @test_util.run_in_graph_and_eager_modes
  def testInitFromNonInitializer(self):
  # Test various dtypes with zeros initializer as following:
  @@ -343,7 +345,7 @@ class VariableScopeTest(test.TestCase):
  self.assertFalse(v_tower.value().device.startswith(caching_device))
  # TODO(mihaimaruseac): Not converted to use wrap_function because of
  - # ValueError: Operation name: ".../Assign"... is not an element of this graph.
  + # AttributeError: Tensor.name is meaningless when eager execution is enabled.
  @test_util.run_in_graph_and_eager_modes
  def testVarScopeRegularizer(self):
  init = init_ops.constant_initializer(0.3)
  @@ -503,7 +505,8 @@ class VariableScopeTest(test.TestCase):
  sess.run(add)
  # TODO(mihaimaruseac): Not converted to use wrap_function because of
  - # ValueError: Operation name: ".../Assign"... is not an element of this graph.
  + # TypeError: Expected tf.group() expected Tensor arguments not 'None' with
  + # type '<type 'NoneType'>'.
  @test_util.run_in_graph_and_eager_modes
  def testGetVariableScope(self):
  # Test the get_variable_scope() function and setting properties of result.
  