summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_itertools.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-30 18:34:33 (GMT)
committerNeil Schemenauer <nas-github@arctrix.com>2019-07-30 18:34:32 (GMT)
commit382cb85401bb010ead411c0532499ffe16c3cf27 (patch)
tree832530bd865e4b21bee8541e4f715679ea56ccb5 /Lib/test/test_itertools.py
parent9265a877426af4fa5c44cc8482e0198806889350 (diff)
downloadcpython-382cb85401bb010ead411c0532499ffe16c3cf27.zip
cpython-382cb85401bb010ead411c0532499ffe16c3cf27.tar.gz
cpython-382cb85401bb010ead411c0532499ffe16c3cf27.tar.bz2
bpo-37707: Exclude expensive unit tests from PGO task (GH-15009) (#15024)
Mark some individual tests to skip when --pgo is used. The tests marked increase the PGO task time significantly and likely don't help improve optimization of the final executable. (cherry picked from commit 52a48e62c6a94577152f9301bbe5f3bc806cfcf1) Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Diffstat (limited to 'Lib/test/test_itertools.py')
-rw-r--r--Lib/test/test_itertools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_itertools.py b/Lib/test/test_itertools.py
index ea060a9..573739f 100644
--- a/Lib/test/test_itertools.py
+++ b/Lib/test/test_itertools.py
@@ -2062,6 +2062,7 @@ class RegressionTests(unittest.TestCase):
self.assertRaises(AssertionError, list, cycle(gen1()))
self.assertEqual(hist, [0,1])
+ @support.skip_if_pgo_task
def test_long_chain_of_empty_iterables(self):
# Make sure itertools.chain doesn't run into recursion limits when
# dealing with long chains of empty iterables. Even with a high