Added stub for the Queue module to be renamed in 3.0.

Use the 3.0 module name to avoid spurious warnings.
This commit is contained in:
Alexandre Vassalotti 2008-05-11 19:39:48 +00:00
parent ca3ccd15ff
commit 30ece44f2e
8 changed files with 276 additions and 268 deletions

View file

@ -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()