From 52257a1bda89d2252fe8dea63ae6239d61aad542 Mon Sep 17 00:00:00 2001
From: Jeremy Lau <lauj@google.com>
Date: Tue, 1 Oct 2019 13:37:56 -0700
Subject: [PATCH] Fix a typo in coordinator_test.py. threads[1:1] is the empty
 array, so we were't actually waiting for threads[1].

PiperOrigin-RevId: 272283450
---
 tensorflow/python/training/coordinator_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tensorflow/python/training/coordinator_test.py b/tensorflow/python/training/coordinator_test.py
index 3e4ac1dfff9..f294df97b4b 100644
--- a/tensorflow/python/training/coordinator_test.py
+++ b/tensorflow/python/training/coordinator_test.py
@@ -133,7 +133,7 @@ class CoordinatorTest(test.TestCase):
       t.start()
     WaitForThreadsToRegister(coord, 2)
     # threads[1] is not registered we must pass it in.
-    coord.join(threads[1:1])
+    coord.join([threads[1]])
     for t in threads:
       self.assertFalse(t.is_alive())