Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r63287:e2745fcf0ffe
Date: 2013-04-12 13:47 -0400
http://bitbucket.org/pypy/pypy/changeset/e2745fcf0ffe/

Log:    unhandled exception in thread should do exactly this

diff --git a/rpython/rlib/test/test_rsocket.py 
b/rpython/rlib/test/test_rsocket.py
--- a/rpython/rlib/test/test_rsocket.py
+++ b/rpython/rlib/test/test_rsocket.py
@@ -165,12 +165,8 @@
     s2 = RSocket(AF_INET, SOCK_STREAM)
     s2.settimeout(10.0) # test one side with timeouts so select is used, 
shouldn't affect test
     def connecting():
-        try:
-            s2.connect(addr)
-            lock.release()
-        except:
-            import traceback
-            traceback.print_exc()
+        s2.connect(addr)
+        lock.release()
     lock = thread.allocate_lock()
     lock.acquire()
     thread.start_new_thread(connecting, ())
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to