aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jacques Pienaar <jpienaar@google.com>2018-05-16 13:12:25 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-05-16 13:14:57 -0700
commit5ac249b8cb5fc8edd502f2ded7931b84f3c10f84 (patch)
treea17f6a8d71a31f9742eba6f36b5ed2bcbb4a6811
parent6e6fb2fb6f0206198465969216c1ef3f60d7e9f3 (diff)
Remove sorted as types not sortable.
PiperOrigin-RevId: 196876502
-rw-r--r--tensorflow/compiler/tests/argminmax_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/compiler/tests/argminmax_test.py b/tensorflow/compiler/tests/argminmax_test.py
index ab30aadf5c..9d3a889b1f 100644
--- a/tensorflow/compiler/tests/argminmax_test.py
+++ b/tensorflow/compiler/tests/argminmax_test.py
@@ -51,7 +51,7 @@ class ArgMinMaxTest(xla_test.XLATestCase):
def testArgMinMax(self):
# Complex numbers do not support argmin/argmax.
minmax_types = set(self.numeric_types) - set(self.complex_types)
- for dtype in sorted(minmax_types):
+ for dtype in minmax_types:
# output_type is a numpy data type that is used to specify the desired
# output type of the op as well as to convert the Python number to the
# array scalar of the type.