[Python-checkins] r75708 - python/branches/release31-maint/Lib/test/test_threading.py

r.david.murray python-checkins at python.org
Mon Oct 26 04:27:33 CET 2009


Author: r.david.murray
Date: Mon Oct 26 04:27:32 2009
New Revision: 75708

Log:
Convert py2 print statement to print function in test skip.


Modified:
   python/branches/release31-maint/Lib/test/test_threading.py

Modified: python/branches/release31-maint/Lib/test/test_threading.py
==============================================================================
--- python/branches/release31-maint/Lib/test/test_threading.py	(original)
+++ python/branches/release31-maint/Lib/test/test_threading.py	Mon Oct 26 04:27:32 2009
@@ -438,8 +438,8 @@
         # Skip platforms with known problems forking from a worker thread.
         # See http://bugs.python.org/issue3863.
         if sys.platform in ('freebsd4', 'freebsd5', 'freebsd6', 'os2emx'):
-            print >>sys.stderr, ('Skipping test_3_join_in_forked_from_thread'
-                                 ' due to known OS bugs on'), sys.platform
+            print('Skipping test_3_join_in_forked_from_thread'
+                  ' due to known OS bugs on', sys.platform, file=sys.stderr)
             return
         script = """if 1:
             main_thread = threading.current_thread()


More information about the Python-checkins mailing list