aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/op_def_library_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/op_def_library_test.py')
-rw-r--r--tensorflow/python/ops/op_def_library_test.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/python/ops/op_def_library_test.py b/tensorflow/python/ops/op_def_library_test.py
index 72de4586a3..ed2341b2bc 100644
--- a/tensorflow/python/ops/op_def_library_test.py
+++ b/tensorflow/python/ops/op_def_library_test.py
@@ -201,7 +201,9 @@ class OpDefLibraryTest(test_util.TensorFlowTestCase):
with self.assertRaises(TypeError) as cm:
self._lib.apply_op("Simple", a=[self.Tensor(types.int32)])
- self.assertStartsWith(cm.exception.message, "Expected int32, got")
+ self.assertStartsWith(
+ cm.exception.message,
+ "Expected int32, got list containing Tensors instead.")
def testReservedInput(self):
self._add_op("name: 'ReservedInput' "