[Python-checkins] r67734 - in python/branches/release25-maint: Lib/test/test_threading.py Misc/NEWS
martin.v.loewis
python-checkins at python.org
Sat Dec 13 15:42:53 CET 2008
Author: martin.v.loewis
Date: Sat Dec 13 15:42:53 2008
New Revision: 67734
Log:
Backport of r66703:
Issue #3863: Disabled a unit test of fork being called from a thread
when running on platforms known to exhibit OS bugs when attempting that.
Modified:
python/branches/release25-maint/Lib/test/test_threading.py
python/branches/release25-maint/Misc/NEWS
Modified: python/branches/release25-maint/Lib/test/test_threading.py
==============================================================================
--- python/branches/release25-maint/Lib/test/test_threading.py (original)
+++ python/branches/release25-maint/Lib/test/test_threading.py Sat Dec 13 15:42:53 2008
@@ -277,6 +277,12 @@
import os
if not hasattr(os, 'fork'):
return
+ # 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
script = """if 1:
main_thread = threading.currentThread()
def worker():
Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS (original)
+++ python/branches/release25-maint/Misc/NEWS Sat Dec 13 15:42:53 2008
@@ -250,6 +250,9 @@
Tests
-----
+- Issue #3863: Disabled a unit test of fork being called from a thread
+ when running on platforms known to exhibit OS bugs when attempting that.
+
- Issue #3261: test_cookielib had an improper file encoding specified.
- Patch #2232: os.tmpfile might fail on Windows if the user has no
More information about the Python-checkins
mailing list