Convert py2 print statement to print function in test skip.

This commit is contained in:
R. David Murray 2009-10-26 03:27:32 +00:00
parent c76bceae1a
commit 9948da007b
1 changed files with 2 additions and 2 deletions

View 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()