aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/kernel_tests/slice_op_test.py
diff options
context:
space:
mode:
authorGravatar shaohua zhang <opencici2006@163.com>2018-08-21 14:57:16 +0800
committerGravatar GitHub <noreply@github.com>2018-08-21 14:57:16 +0800
commitc74bfd040c7212a3016a546cd140d5be18d7b347 (patch)
tree6ea2fe40331f5d4fe8697c6f884547ac9f987ff2 /tensorflow/python/kernel_tests/slice_op_test.py
parentaba7fcaf87f8d4099212db2e3bffad1dbab168a2 (diff)
parenteaef34c40f2acba3e47b3d630325633a5391d36a (diff)
Merge branch 'master' into shaohua/fix_gcc6.3_build_link_issue
Diffstat (limited to 'tensorflow/python/kernel_tests/slice_op_test.py')
-rw-r--r--tensorflow/python/kernel_tests/slice_op_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/kernel_tests/slice_op_test.py b/tensorflow/python/kernel_tests/slice_op_test.py
index 402f67619b..4a1fc1d9a9 100644
--- a/tensorflow/python/kernel_tests/slice_op_test.py
+++ b/tensorflow/python/kernel_tests/slice_op_test.py
@@ -283,7 +283,7 @@ class SliceTest(test.TestCase):
# unintended behavior is prevented.
c = constant_op.constant(5.0)
with self.assertRaisesWithPredicateMatch(
- TypeError, lambda e: "Tensor objects are not iterable" in str(e)):
+ TypeError, lambda e: "Tensor objects are only iterable" in str(e)):
for _ in c:
pass