diff -r 5f06f6a623be Lib/test/test_multiprocessing_main_handling.py --- a/Lib/test/test_multiprocessing_main_handling.py Thu Dec 19 12:47:38 2013 -0800 +++ b/Lib/test/test_multiprocessing_main_handling.py Thu Dec 19 22:32:44 2013 +0100 @@ -18,6 +18,7 @@ # We look inside the context module to find out which # start methods we can check from multiprocessing.context import _concrete_contexts +from multiprocessing.reduction import HAVE_SEND_HANDLE verbose = support.verbose @@ -272,6 +273,8 @@ start_method = 'fork' main_in_children_source = test_source +@unittest.skipUnless(HAVE_SEND_HANDLE, + 'forkserver start method not available') class ForkServerCmdLineTest(MultiProcessingCmdLineMixin, unittest.TestCase): start_method = 'forkserver' main_in_children_source = test_source_main_skipped_in_children

AltStyle によって変換されたページ (->オリジナル) /