Commit 5255b86f authored by Christian Heimes's avatar Christian Heimes

skip multiprocessing main handling test when Python is built without threads

parent a960599b
......@@ -15,6 +15,8 @@ from test.script_helper import (
assert_python_ok, assert_python_failure, temp_dir,
spawn_python, kill_python)
# Skip tests if _multiprocessing wasn't built.
_multiprocessing = support.import_module('_multiprocessing')
# Look up which start methods are available to test
import multiprocessing
AVAILABLE_START_METHODS = set(multiprocessing.get_all_start_methods())
......
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