summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-05-11 19:59:59 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-05-11 19:59:59 (GMT)
commitf260e443ac07bc794fc9409096679b94528868e2 (patch)
tree244c7542db14c43a2fe52ce5c8b6373d17a19e7f /Lib/test/test_socket.py
parent4e3e21e2cf896295d568828f2d20dc5a25feff54 (diff)
downloadcpython-f260e443ac07bc794fc9409096679b94528868e2.zip
cpython-f260e443ac07bc794fc9409096679b94528868e2.tar.gz
cpython-f260e443ac07bc794fc9409096679b94528868e2.tar.bz2
Rename Queue module to queue.
Updated documentation to use new name. Merged revisions 63077 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r63077 | alexandre.vassalotti | 2008-05-11 15:39:48 -0400 (Sun, 11 May 2008) | 3 lines Added stub for the Queue module to be renamed in 3.0. Use the 3.0 module name to avoid spurious warnings. ........
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r--Lib/test/test_socket.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 8c5cf93..ab860dd 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -9,7 +9,7 @@ import select
import thread, threading
import time
import traceback
-import Queue
+import queue
import sys
import os
import array
@@ -96,7 +96,7 @@ class ThreadableTest:
self.server_ready = threading.Event()
self.client_ready = threading.Event()
self.done = threading.Event()
- self.queue = Queue.Queue(1)
+ self.queue = queue.Queue(1)
# Do some munging to start the client test.
methodname = self.id()