Avoid hanging the test on netbsd5.

This commit is contained in:
Gregory P. Smith 2010-10-17 03:09:12 +00:00
parent 0f61dd0787
commit feedda2bab

View file

@ -485,7 +485,8 @@ class ThreadJoinOnShutdown(BaseTestCase):
# Skip platforms with known problems forking from a worker thread.
# See http://bugs.python.org/issue3863.
if sys.platform in ('freebsd4', 'freebsd5', 'freebsd6', 'os2emx'):
if sys.platform in ('freebsd4', 'freebsd5', 'freebsd6', 'netbsd5',
'os2emx'):
raise unittest.SkipTest('due to known OS bugs on ' + sys.platform)
script = """if 1:
main_thread = threading.current_thread()