diff options
Diffstat (limited to 'tensorflow/python/framework/op_def_library_test.py')
-rw-r--r-- | tensorflow/python/framework/op_def_library_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/python/framework/op_def_library_test.py b/tensorflow/python/framework/op_def_library_test.py index 0fc7f0b353..715e863b78 100644 --- a/tensorflow/python/framework/op_def_library_test.py +++ b/tensorflow/python/framework/op_def_library_test.py @@ -1462,7 +1462,8 @@ class OpDefLibraryTest(test_util.TensorFlowTestCase): with self.assertRaises(TypeError) as cm: self._lib.apply_op("RefIn", a=2) self.assertEqual(str(cm.exception), - "Input 'a' of 'RefIn' Op requires l-value input") + "'RefIn' Op requires that input 'a' be a mutable tensor " + + "(e.g.: a tf.Variable)") input_a = self._lib.apply_op("RefOut", T=dtypes.int32, name="t") input_b = self._lib.apply_op("RefOut", T=dtypes.int32, name="u") |