mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Adds test.support.PGO and skips tests that are not useful for PGO.
This commit is contained in:
parent
a571120410
commit
22d0698d3b
11 changed files with 39 additions and 5 deletions
|
@ -16,6 +16,9 @@ from test.support.script_helper import (
|
|||
make_pkg, make_script, make_zip_pkg, make_zip_script,
|
||||
assert_python_ok)
|
||||
|
||||
if support.PGO:
|
||||
raise unittest.SkipTest("test is not helpful for PGO")
|
||||
|
||||
# Look up which start methods are available to test
|
||||
import multiprocessing
|
||||
AVAILABLE_START_METHODS = set(multiprocessing.get_all_start_methods())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue