summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2009-07-22 04:43:33 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2009-07-22 04:43:33 (GMT)
commita64ba363cac270d78369834172b66022fa1a464c (patch)
treeb979b1ce2b81c52cd1ae20725cc46b21527ded7d
parentb66c67d255b70ace25081a94cd30ffeee4b51e14 (diff)
downloadcpython-a64ba363cac270d78369834172b66022fa1a464c.zip
cpython-a64ba363cac270d78369834172b66022fa1a464c.tar.gz
cpython-a64ba363cac270d78369834172b66022fa1a464c.tar.bz2
Remove erroneous print statement.
-rw-r--r--Lib/test/test_threading.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_threading.py b/Lib/test/test_threading.py
index c7a2213..3fe64a5 100644
--- a/Lib/test/test_threading.py
+++ b/Lib/test/test_threading.py
@@ -414,9 +414,9 @@ 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
- return
+ raise unittest.SkipTest(
+ 'test_3_join_in_forked_from_thread due to known OS bugs on ' +
+ sys.platform)
script = """if 1:
main_thread = threading.current_thread()
def worker():