aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/kernel_tests
diff options
context:
space:
mode:
authorGravatar Todd Wang <toddw@google.com>2018-09-26 09:09:31 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-26 09:13:35 -0700
commite9f76594ca1d7ea5317e0535d4a4bfffb269a1f9 (patch)
tree493babef73183138d32b50140f22e094c32bdbb0 /tensorflow/python/kernel_tests
parent5498f24a3385bdd256b8b1e41329c5841996b26d (diff)
Trivial change to softplus_op_test.py.
PiperOrigin-RevId: 214614405
Diffstat (limited to 'tensorflow/python/kernel_tests')
-rw-r--r--tensorflow/python/kernel_tests/softplus_op_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/kernel_tests/softplus_op_test.py b/tensorflow/python/kernel_tests/softplus_op_test.py
index e8dc272637..636ed4747e 100644
--- a/tensorflow/python/kernel_tests/softplus_op_test.py
+++ b/tensorflow/python/kernel_tests/softplus_op_test.py
@@ -126,7 +126,7 @@ class SoftplusTest(test.TestCase):
with self.assertRaisesRegexp(
TypeError,
"'features' has DataType int32 not in list of allowed values"):
- nn_ops.softplus(constant_op.constant(7)).eval()
+ nn_ops.softplus(constant_op.constant(42)).eval()
if __name__ == "__main__":