Added axis
diff --git a/tensorflow/python/ops/math_ops_test.py b/tensorflow/python/ops/math_ops_test.py
index ce2d7e9..11dbfd0 100644
--- a/tensorflow/python/ops/math_ops_test.py
+++ b/tensorflow/python/ops/math_ops_test.py
@@ -100,7 +100,8 @@
[5., 9., 2.],
[5.],
[]])
- self.assertAllClose(math_ops.reduce_variance(x), [0., 16., 1., 0.])
+ self.assertAllClose(math_ops.reduce_variance(x, axis=0),
+ [0., 16., 1., 0.])
def testReduceVarComplex(self):
# Ensure that complex values are handled to be consistent with numpy