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

@ -11,6 +11,9 @@ import struct
from test import support
from io import BytesIO
if support.PGO:
raise unittest.SkipTest("test is not helpful for PGO")
try:
import threading
except ImportError: