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

@ -21,6 +21,9 @@ try:
except ImportError:
threading = None
if support.PGO:
raise unittest.SkipTest("test is not helpful for PGO")
mswindows = (sys.platform == "win32")
#