]> granicus.if.org Git - python/commitdiff
Convert py2 print statement to print function in test skip.
authorR. David Murray <rdmurray@bitdance.com>
Mon, 26 Oct 2009 03:27:32 +0000 (03:27 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Mon, 26 Oct 2009 03:27:32 +0000 (03:27 +0000)
Lib/test/test_threading.py

index 11876b18803f1f961f6c9b7c207b3e39330a1833..f6f6b260d02be93ef3ba063d58b4aa02b830e759 100644 (file)
@@ -438,8 +438,8 @@ class ThreadJoinOnShutdown(unittest.TestCase):
         # 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()