summaryrefslogtreecommitdiff
path: root/Lib/test/test_threaded_import.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-25 13:05:15 +0000
committerGeorg Brandl <georg@python.org>2008-05-25 13:05:15 +0000
commitba49da238771a3c928b28edb12bfd4c8bb26cd8e (patch)
tree8011cba61f286b8878bbbdc7640c8d088ad9bc75 /Lib/test/test_threaded_import.py
parentb36e122ece0f8ab43fa285ec3a6c726b268e4d72 (diff)
downloadcpython-ba49da238771a3c928b28edb12bfd4c8bb26cd8e.tar.gz
Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.
Diffstat (limited to 'Lib/test/test_threaded_import.py')
-rw-r--r--Lib/test/test_threaded_import.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_threaded_import.py b/Lib/test/test_threaded_import.py
index fbe479cd30..67d1505b96 100644
--- a/Lib/test/test_threaded_import.py
+++ b/Lib/test/test_threaded_import.py
@@ -5,7 +5,7 @@
# complains several times about module random having no attribute
# randrange, and then Python hangs.
-import thread
+import _thread as thread
from test.support import verbose, TestSkipped, TestFailed
critical_section = thread.allocate_lock()