Author: Brian Kearns <[email protected]>
Branch: stdlib-2.7.6
Changeset: r69635:95d6e2b29471
Date: 2014-03-03 02:13 -0500
http://bitbucket.org/pypy/pypy/changeset/95d6e2b29471/

Log:    skip this test if platform doesnt have select.poll

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
@@ -215,6 +215,8 @@
 
     def test_poll_arguments(self):
         import select
+        if not hasattr(select, 'poll'):
+            skip("no select.poll() on this platform")
         pollster = select.poll()
         pollster.register(1)
         exc = raises(OverflowError, pollster.register, 0, 32768) # SHRT_MAX + 1
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to