python3 fix
authorAlexandre Passos <apassos@google.com>
Wed, 7 Mar 2018 00:27:56 +0000 (16:27 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Wed, 7 Mar 2018 00:35:19 +0000 (16:35 -0800)
PiperOrigin-RevId: 188100221

tensorflow/python/data/kernel_tests/dataset_constructor_op_test.py

index 1462781..ea5b41e 100644 (file)
@@ -263,7 +263,7 @@ class DatasetConstructorTest(test.TestCase):
       for i in range(3):
         results = sess.run(get_next)
         for component, result_component in zip(
-            (zip(*components[:3])[i] + expected[i]), results):
+            (list(zip(*components[:3]))[i] + expected[i]), results):
           if sparse_tensor.is_sparse(component):
             self.assertSparseValuesEqual(component, result_component)
           else: