[pypy-commit] pypy default: fix test for untranslated
mattip
noreply at buildbot.pypy.org
Sat Dec 15 20:32:40 CET 2012
Author: mattip <matti.picus at gmail.com>
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:
More information about the pypy-commit
mailing list