[pypy-commit] pypy win32-cleanup2: more precise exception handling (antocuni)
mattip
noreply at buildbot.pypy.org
Sun Apr 8 15:56:00 CEST 2012
Author: Matti Picus <matti.picus at gmail.com>
Branch: win32-cleanup2
Changeset: r54255:c0ded41a61e0
Date: 2012-04-08 16:55 +0300
http://bitbucket.org/pypy/pypy/changeset/c0ded41a61e0/
Log: more precise exception handling (antocuni)
diff --git a/pypy/module/_socket/test/test_sock_app.py b/pypy/module/_socket/test/test_sock_app.py
--- a/pypy/module/_socket/test/test_sock_app.py
+++ b/pypy/module/_socket/test/test_sock_app.py
@@ -619,7 +619,7 @@
# test sendall() timeout
try:
cli.sendall('foobar'*70)
- except:
+ except timeout:
pass
# done
cli.close()
More information about the pypy-commit
mailing list