diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-09-07 02:38:15 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-09-07 02:38:15 (GMT) |
commit | 22d0698d3b034f4f4314aa793da7225a5da640ba (patch) | |
tree | f37ff8f491d40b22f8828d7f7a6c1912df6ff869 /Lib/test/test_multiprocessing_fork.py | |
parent | a571120410bf7a92ca612068cf1a754d5dca614e (diff) | |
download | cpython-22d0698d3b034f4f4314aa793da7225a5da640ba.zip cpython-22d0698d3b034f4f4314aa793da7225a5da640ba.tar.gz cpython-22d0698d3b034f4f4314aa793da7225a5da640ba.tar.bz2 |
Adds test.support.PGO and skips tests that are not useful for PGO.
Diffstat (limited to 'Lib/test/test_multiprocessing_fork.py')
-rw-r--r-- | Lib/test/test_multiprocessing_fork.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_multiprocessing_fork.py b/Lib/test/test_multiprocessing_fork.py index 2bf4e75..9f22500 100644 --- a/Lib/test/test_multiprocessing_fork.py +++ b/Lib/test/test_multiprocessing_fork.py @@ -1,6 +1,12 @@ import unittest import test._test_multiprocessing +from test import support + +if support.PGO: + raise unittest.SkipTest("test is not helpful for PGO") + + test._test_multiprocessing.install_tests_in_module_dict(globals(), 'fork') if __name__ == '__main__': |