Author: Brian Kearns <[email protected]>
Branch:
Changeset: r60509:47b3810089ca
Date: 2013-01-26 14:50 -0500
http://bitbucket.org/pypy/pypy/changeset/47b3810089ca/
Log: demonstrate more consistently the intermittent failure in
untranslated test_interrupt_main
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
@@ -231,5 +231,6 @@
# This is normally called by app_main.py
signal.signal(signal.SIGINT, signal.default_int_handler)
- thread.start_new_thread(f, ())
- raises(KeyboardInterrupt, busy_wait)
+ for i in range(100):
+ thread.start_new_thread(f, ())
+ raises(KeyboardInterrupt, busy_wait)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit