summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2008-05-11 19:39:48 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2008-05-11 19:39:48 (GMT)
commit30ece44f2e5397e8501380349fd5278e6f64f555 (patch)
tree769eb0873f3fdeeb6be8bbf1b661418fbf56d48c /Lib/test/test_socket.py
parentca3ccd15ffa92423dac6cdda82507eb45347c1d4 (diff)
downloadcpython-30ece44f2e5397e8501380349fd5278e6f64f555.zip
cpython-30ece44f2e5397e8501380349fd5278e6f64f555.tar.gz
cpython-30ece44f2e5397e8501380349fd5278e6f64f555.tar.bz2
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 48c9346..81ef6d3 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()