Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r69763:f2bf50e43d48
Date: 2014-03-06 14:41 -0800
http://bitbucket.org/pypy/pypy/changeset/f2bf50e43d48/
Log: oops, fix
diff --git a/pypy/module/select/test/test_select.py
b/pypy/module/select/test/test_select.py
--- a/pypy/module/select/test/test_select.py
+++ b/pypy/module/select/test/test_select.py
@@ -263,11 +263,7 @@
try:
self.sock.bind(self.sockaddress)
break
- except OperationError, e: # should get a "Permission denied"
- if not e.match(space, space.getattr(w_socketmod,
space.wrap("error"))):
- raise
- print(e.errorstr(space))
- except cls.w_sock_err, e: # should get a "Permission denied"
+ except socket.error as e: # should get a "Permission denied"
print(e)
else:
raise(e)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit