mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Convert py2 print statement to print function in test skip.
This commit is contained in:
parent
c76bceae1a
commit
9948da007b
1 changed files with 2 additions and 2 deletions
|
@ -438,8 +438,8 @@ class ThreadJoinOnShutdown(unittest.TestCase):
|
||||||
# Skip platforms with known problems forking from a worker thread.
|
# Skip platforms with known problems forking from a worker thread.
|
||||||
# See http://bugs.python.org/issue3863.
|
# See http://bugs.python.org/issue3863.
|
||||||
if sys.platform in ('freebsd4', 'freebsd5', 'freebsd6', 'os2emx'):
|
if sys.platform in ('freebsd4', 'freebsd5', 'freebsd6', 'os2emx'):
|
||||||
print >>sys.stderr, ('Skipping test_3_join_in_forked_from_thread'
|
print('Skipping test_3_join_in_forked_from_thread'
|
||||||
' due to known OS bugs on'), sys.platform
|
' due to known OS bugs on', sys.platform, file=sys.stderr)
|
||||||
return
|
return
|
||||||
script = """if 1:
|
script = """if 1:
|
||||||
main_thread = threading.current_thread()
|
main_thread = threading.current_thread()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue