summaryrefslogtreecommitdiffstats
path: root/Lib/test/crashers/multithreaded_close.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/crashers/multithreaded_close.py')
-rw-r--r--Lib/test/crashers/multithreaded_close.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/crashers/multithreaded_close.py b/Lib/test/crashers/multithreaded_close.py
index 5224341..f862d28 100644
--- a/Lib/test/crashers/multithreaded_close.py
+++ b/Lib/test/crashers/multithreaded_close.py
@@ -6,9 +6,9 @@
# http://bugs.python.org/issue595601
# http://bugs.python.org/issue815646
-import thread
+import _thread
while 1:
f = open("multithreaded_close.tmp", "w")
- thread.start_new_thread(f.close, ())
+ _thread.start_new_thread(f.close, ())
f.close()