Author: Manuel Jacob <m...@manueljacob.de>
Branch: py3k
Changeset: r77916:585e0e6ae1c2
Date: 2015-06-05 17:45 +0200
http://bitbucket.org/pypy/pypy/changeset/585e0e6ae1c2/

Log:    Make this test, which involves threads and signals, more likely to
        pass.

diff --git a/pypy/module/thread/test/test_thread.py 
b/pypy/module/thread/test/test_thread.py
--- a/pypy/module/thread/test/test_thread.py
+++ b/pypy/module/thread/test/test_thread.py
@@ -244,7 +244,7 @@
 
         def busy_wait():
             waiting.append(None)
-            for x in range(10):
+            for x in range(100):
                 print('tick...', x)  # <-force the GIL to be released, as
                 time.sleep(0.1)    #   time.sleep doesn't do non-translated
             waiting.pop()
@@ -252,7 +252,7 @@
         # This is normally called by app_main.py
         signal.signal(signal.SIGINT, signal.default_int_handler)
 
-        for i in range(100):
+        for i in range(10):
             print()
             print("loop", i)
             waiting = []
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to