[pypy-commit] pypy s390x-backend: modified test to see if an empty print differs from a print with newline

plan_rich pypy.commits at gmail.com
Wed Feb 3 04:53:05 EST 2016


Author: Richard Plangger <planrichi at gmail.com>
Branch: s390x-backend
Changeset: r82052:18bd2d236f85
Date: 2016-02-03 10:52 +0100
http://bitbucket.org/pypy/pypy/changeset/18bd2d236f85/

Log:	modified test to see if an empty print differs from a print with
	newline

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
@@ -287,7 +287,8 @@
             t = thread.start_new_thread(pollster.poll, ())
             try:
                 time.sleep(0.3)
-                for i in range(5): print '',  # to release GIL untranslated
+                # TODO restore print '', if this is not the reason
+                for i in range(5): print 'release gil select'  # to release GIL untranslated
                 # trigger ufds array reallocation
                 for fd in rfds:
                     pollster.unregister(fd)


More information about the pypy-commit mailing list