[pypy-commit] pypy default: unhandled exception in thread should do exactly this
bdkearns
noreply at buildbot.pypy.org
Fri Apr 12 19:53:44 CEST 2013
Author: Brian Kearns <bdkearns at gmail.com>
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, ())
More information about the pypy-commit
mailing list