summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_threading.py
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-10-26 03:27:32 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-10-26 03:27:32 (GMT)
commit9948da007bdede8ee745635104cc09ab8a19b14f (patch)
tree8ea920e6ab16ceab39840d39db58c5dc352edc4a /Lib/test/test_threading.py
parentc76bceae1ab7cca8d1aabe2294c3b77bc1e8c8c8 (diff)
downloadcpython-9948da007bdede8ee745635104cc09ab8a19b14f.zip
cpython-9948da007bdede8ee745635104cc09ab8a19b14f.tar.gz
cpython-9948da007bdede8ee745635104cc09ab8a19b14f.tar.bz2
Convert py2 print statement to print function in test skip.
Diffstat (limited to 'Lib/test/test_threading.py')
-rw-r--r--Lib/test/test_threading.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index 11876b1..f6f6b26 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -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()