aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/math_ops_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/math_ops_test.py')
-rw-r--r--tensorflow/python/ops/math_ops_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/ops/math_ops_test.py b/tensorflow/python/ops/math_ops_test.py
index a9089d461f..9683603785 100644
--- a/tensorflow/python/ops/math_ops_test.py
+++ b/tensorflow/python/ops/math_ops_test.py
@@ -424,9 +424,9 @@ class DivAndModTest(test_util.TensorFlowTestCase):
tf_divs = array_ops.constant(divs)
tf2_result = (tf_nums // tf_divs * tf_divs + tf_nums % tf_divs).eval()
np_result = (nums // divs) * divs + (nums % divs)
- # consistentcy with numpy
+ # Consistent with numpy
self.assertAllEqual(tf_result, np_result)
- # consistentcy with two forms of divide
+ # Consistent with two forms of divide
self.assertAllEqual(tf_result, tf2_result)
# consistency for truncation form
tf3_result = (math_ops.truncatediv(nums, divs) * divs +