Author: Brian Kearns <[email protected]>
Branch: stdlib-2.7.6
Changeset: r69667:84d26c43b3d2
Date: 2014-03-04 05:11 -0500
http://bitbucket.org/pypy/pypy/changeset/84d26c43b3d2/

Log:    try to make this test more robust

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
@@ -271,7 +271,8 @@
             t = threading.Thread(target=pollster.poll)
             t.start()
             try:
-                time.sleep(0.5); print '',  # print to release GIL untranslated
+                for i in range(5):
+                    time.sleep(0.1); print '',  # print to release GIL 
untranslated
                 # trigger ufds array reallocation
                 for fd in rfds:
                     pollster.unregister(fd)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to