Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r58018:ab80024fd8fd
Date: 2012-10-11 14:32 -0700
http://bitbucket.org/pypy/pypy/changeset/ab80024fd8fd/

Log:    thread -> _thread

diff --git a/pypy/module/imp/test/test_import.py 
b/pypy/module/imp/test/test_import.py
--- a/pypy/module/imp/test/test_import.py
+++ b/pypy/module/imp/test/test_import.py
@@ -1336,7 +1336,7 @@
         cls.w_tmppath = cls.space.wrap(str(udir))
 
     def test_multithreaded_import(self):
-        import sys, thread, time
+        import sys, _thread, time
         oldpath = sys.path[:]
         try:
             sys.path.insert(0, self.tmppath)
@@ -1347,7 +1347,7 @@
                 got.append(getattr(test_multithreaded_imp, 'x', '?'))
 
             for i in range(5):
-                thread.start_new_thread(check, ())
+                _thread.start_new_thread(check, ())
 
             for n in range(100):
                 for i in range(105): time.sleep(0.001)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to