summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_threaded_import.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-05-25 13:05:15 (GMT)
committerGeorg Brandl <georg@python.org>2008-05-25 13:05:15 (GMT)
commit2067bfdf253e134a4144d3747300dbfcc7cc6203 (patch)
tree76613f07319d07cc4f0159769131a051504f8c69 /Lib/test/test_threaded_import.py
parent3b4b45bfe546b023383d4382af7767359390e264 (diff)
downloadcpython-2067bfdf253e134a4144d3747300dbfcc7cc6203.zip
cpython-2067bfdf253e134a4144d3747300dbfcc7cc6203.tar.gz
cpython-2067bfdf253e134a4144d3747300dbfcc7cc6203.tar.bz2
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 fbe479c..67d1505 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()
| | | | | | | | Patch by Madison May. * | mergeRaymond Hettinger2013-08-041-2/+2 |\ \ | |/ | * Silence compiler warnings for strict function prototype declarations.Raymond Hettinger2013-08-041-2/+2 | | * | Merge with 3.3Terry Jan Reedy2013-08-043-17/+10 |\ \ | |/ | * Issue #18151: Replace remaining Idle 'open...close' pairs with 'with open'.Terry Jan Reedy2013-08-043-17/+10 | | * | Merge.Alexander Belopolsky2013-08-040-0/+0 |\ \ | * \ mergeRaymond Hettinger2013-08-040-0/+0 | |\ \ | | |/ | | * Silence compiler warning for an unused declarationRaymond Hettinger2013-08-041-1/+0 | | | * | | Reuse us_per_second in delta_total_seconds.Alexander Belopolsky2013-08-041-9/+1 |/ / * | Merge.Alexander Belopolsky2013-08-041-1/+1 |\ \ | * \ mergeRaymond Hettinger2013-08-041-1/+1 | |\ \ | | |/ | | * Silence compiler warning about an uninitialized variableRaymond Hettinger2013-08-041-1/+1 | | | * | | Fixes #8860: Round half-microseconds to even in the timedelta constructor.Alexander Belopolsky2013-08-044-22/+42 |/ / | | | | | | (Original patch by Mark Dickinson.) * | Close #18635: Move class level private attribute from instance to class.Ethan Furman2013-08-042-1/+19 | | * | Null merge.Charles-François Natali2013-08-040-0/+0 |\ \ | |/ | * Issue #17684: Fix some test_socket failures due to limited FD passing supportCharles-Francois Natali2013-05-20