diff options
| author | Georg Brandl <georg@python.org> | 2008-05-25 07:20:14 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2008-05-25 07:20:14 (GMT) |
| commit | a6168f9e0a0ff77910e783df36f5dd4b5dfa7372 (patch) | |
| tree | 5424d6e36503bda00ee3a63638737a9973b4a4fb /Lib/test/test_dummy_thread.py | |
| parent | 8107290fa186bd5efa2a9c158000fd578d228a6c (diff) | |
| download | cpython-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.py | 6 |
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 "\ |
