summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dummy_thread.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-25 07:20:14 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-25 07:20:14 (GMT)
commita6168f9e0a0ff77910e783df36f5dd4b5dfa7372 (patch)
tree5424d6e36503bda00ee3a63638737a9973b4a4fb /Lib/test/test_dummy_thread.py
parent8107290fa186bd5efa2a9c158000fd578d228a6c (diff)
downloadcpython-a6168f9e0a0ff77910e783df36f5dd4b5dfa7372.zip
cpython-a6168f9e0a0ff77910e783df36f5dd4b5dfa7372.tar.gz
cpython-a6168f9e0a0ff77910e783df36f5dd4b5dfa7372.tar.bz2
Queue renaming reversal part 3: move module into place and
change imports and other references. Closes #2925.
Diffstat (limited to 'Lib/test/test_dummy_thread.py')
-rw-r--r--Lib/test/test_dummy_thread.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_dummy_thread.py b/Lib/test/test_dummy_thread.py
index fa87af9..f274e0a 100644
--- a/Lib/test/test_dummy_thread.py
+++ b/Lib/test/test_dummy_thread.py
@@ -7,7 +7,7 @@ implementation as its sole argument.
"""
import dummy_thread as _thread
import time
-import queue
+import Queue
import random
import unittest
from test import test_support
@@ -124,7 +124,7 @@ class ThreadTests(unittest.TestCase):
"""Use to test _thread.start_new_thread() passes args properly."""
queue.put((arg1, arg2))
- testing_queue = queue.Queue(1)
+ testing_queue = Queue.Queue(1)
_thread.start_new_thread(arg_tester, (testing_queue, True, True))
result = testing_queue.get()
self.failUnless(result[0] and result[1],
@@ -148,7 +148,7 @@ class ThreadTests(unittest.TestCase):
queue.put(_thread.get_ident())
thread_count = 5
- testing_queue = queue.Queue(thread_count)
+ testing_queue = Queue.Queue(thread_count)
if test_support.verbose:
print
print "*** Testing multiple thread creation "\