Kaydet (Commit) feedda2b authored tarafından Gregory P. Smith's avatar Gregory P. Smith

Avoid hanging the test on netbsd5.

üst 0f61dd07
...@@ -485,7 +485,8 @@ class ThreadJoinOnShutdown(BaseTestCase): ...@@ -485,7 +485,8 @@ class ThreadJoinOnShutdown(BaseTestCase):
# 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', 'netbsd5',
'os2emx'):
raise unittest.SkipTest('due to known OS bugs on ' + sys.platform) raise unittest.SkipTest('due to known OS bugs on ' + sys.platform)
script = """if 1: script = """if 1:
main_thread = threading.current_thread() main_thread = threading.current_thread()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment