mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
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:
parent
ca3ccd15ff
commit
30ece44f2e
8 changed files with 276 additions and 268 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue