summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_queue.py')
-rw-r--r--Lib/test/test_queue.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_queue.py b/Lib/test/test_queue.py
index ac382c1..bfa5596 100644
--- a/Lib/test/test_queue.py
+++ b/Lib/test/test_queue.py
@@ -243,7 +243,7 @@ def QueueJoinTest(q):
cum = 0
for i in (0,1):
threading.Thread(target=worker, args=(q,)).start()
- for i in xrange(100):
+ for i in range(100):
q.put(i)
q.join()
verify(cum==sum(range(100)), "q.join() did not block until all tasks were done")