Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 5650c80

Browse files
author
Ryan Sepassi
committed
Fix translate_test Py3 zip compatibility
PiperOrigin-RevId: 187055306
1 parent b9b4dad commit 5650c80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensor2tensor/data_generators/translate_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def setUpClass(cls):
4747

4848
en_data = [str(i) for i in range(10, 40)]
4949
de_data = [str(i) for i in range(100, 130)]
50-
data = zip(en_data, de_data)
50+
data = list(zip(en_data, de_data))
5151

5252
for i, dataset in enumerate(cls.DATASETS):
5353
tar_file = dataset[0]

0 commit comments

Comments
 (0)