Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r65990:7ceed94ec733
Date: 2013-08-07 10:47 +0200
http://bitbucket.org/pypy/pypy/changeset/7ceed94ec733/

Log:    Add some extra prints in the test

diff --git a/pypy/module/__pypy__/test/test_signal.py 
b/pypy/module/__pypy__/test/test_signal.py
--- a/pypy/module/__pypy__/test/test_signal.py
+++ b/pypy/module/__pypy__/test/test_signal.py
@@ -37,6 +37,7 @@
             except BaseException, e:
                 interrupted.append(e)
             finally:
+                print 'subthread stops, interrupted=%r' % (interrupted,)
                 done.append(None)
 
         # This is normally called by app_main.py
@@ -52,11 +53,13 @@
             try:
                 done = []
                 interrupted = []
+                print '--- start ---'
                 thread.start_new_thread(subthread, ())
                 for j in range(10):
                     if len(done): break
                     print '.'
                     time.sleep(0.1)
+                print 'main thread loop done'
                 assert len(done) == 1
                 assert len(interrupted) == 1
                 assert 'KeyboardInterrupt' in interrupted[0].__class__.__name__
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to