aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/estimator/inputs/numpy_io_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/estimator/inputs/numpy_io_test.py')
-rw-r--r--tensorflow/python/estimator/inputs/numpy_io_test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/python/estimator/inputs/numpy_io_test.py b/tensorflow/python/estimator/inputs/numpy_io_test.py
index 92d057e25d..81b201cc5c 100644
--- a/tensorflow/python/estimator/inputs/numpy_io_test.py
+++ b/tensorflow/python/estimator/inputs/numpy_io_test.py
@@ -286,8 +286,9 @@ class NumpyIoTest(test.TestCase):
x = np.arange(32, 36)
y = np.arange(4)
with self.test_session():
- with self.assertRaisesRegexp(TypeError,
- 'shuffle must be explicitly set as boolean'):
+ with self.assertRaisesRegexp(ValueError,
+ 'shuffle must be provided and explicitly '
+ 'set as boolean'):
# Default shuffle is None.
numpy_io.numpy_input_fn(x, y)