message: Make TypeError more explicit on _assertAllCloseRecursive
diff: @@ -1146,6 +1146,7 @@ class TensorFlowTestCase(googletest.TestCase):
  del path[-1]
  # a and b are ndarray like objects
  else:
  + try:
  self._assertArrayLikeAllClose(
  a,
  b,
  @@ -1153,6 +1154,11 @@ class TensorFlowTestCase(googletest.TestCase):
  atol=atol,
  msg="Mismatched value: a%s is different from b%s." % (path_str,
  path_str))
  + except TypeError as e:
  + msg = "Error: a%s has %s, but b%s has %s" % (
  + path_str, type(a), path_str, type(b))
  + e.args = ((e.args[0] + ' : ' + msg,) + e.args[1:])
  + raise
  def assertAllClose(self, a, b, rtol=1e-6, atol=1e-6):
  """Asserts that two structures of numpy arrays, have near values.
  