Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r61300:35075dd16ef9
Date: 2013-02-15 18:53 -0500
http://bitbucket.org/pypy/pypy/changeset/35075dd16ef9/

Log:    modify this test so it would have failed untranslated without
        1de5c08faeca

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
@@ -220,18 +220,18 @@
         import signal
 
         def f():
-            for x in range(50):
+            for x in range(5):
                 if waiting:
                     thread.interrupt_main()
                     return
                 print 'tock...', x  # <-force the GIL to be released, as
-                time.sleep(0.01)    #   time.sleep doesn't do non-translated
+                time.sleep(0.1)    #   time.sleep doesn't do non-translated
 
         def busy_wait():
             waiting.append(None)
-            for x in range(100):
+            for x in range(10):
                 print 'tick...', x  # <-force the GIL to be released, as
-                time.sleep(0.01)    #   time.sleep doesn't do non-translated
+                time.sleep(0.1)    #   time.sleep doesn't do non-translated
             waiting.pop()
 
         # This is normally called by app_main.py
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to