Author: mattip <[email protected]>
Branch:
Changeset: r59449:c5b6c76270fd
Date: 2012-12-13 17:37 -0800
http://bitbucket.org/pypy/pypy/changeset/c5b6c76270fd/
Log: fix test for untranslated
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
@@ -281,6 +281,10 @@
try:
space.call_method(cls.w_sock, "bind", cls.w_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
except cls.w_sock_err, e: # should get a "Permission denied"
print e
else:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit