Adds test.support.PGO and skips tests that are not useful for PGO.

This commit is contained in:
Steve Dower 2016-09-06 19:38:15 -07:00
parent a571120410
commit 22d0698d3b
11 changed files with 39 additions and 5 deletions

View file

@ -1,6 +1,11 @@
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(), 'spawn')
if __name__ == '__main__':