diff options
author | Neil Schemenauer <nas-github@arctrix.com> | 2019-07-30 18:08:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-30 18:08:18 (GMT) |
commit | 52a48e62c6a94577152f9301bbe5f3bc806cfcf1 (patch) | |
tree | f19f86065e0217b3db53f90995cd6e806596f83b /Lib/test/test_lzma.py | |
parent | 27eeaf0f2c9bd53a0fbdfdf38ee759e971221f8d (diff) | |
download | cpython-52a48e62c6a94577152f9301bbe5f3bc806cfcf1.zip cpython-52a48e62c6a94577152f9301bbe5f3bc806cfcf1.tar.gz cpython-52a48e62c6a94577152f9301bbe5f3bc806cfcf1.tar.bz2 |
bpo-37707: Exclude expensive unit tests from PGO task (GH-15009)
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.
Diffstat (limited to 'Lib/test/test_lzma.py')
-rw-r--r-- | Lib/test/test_lzma.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_lzma.py b/Lib/test/test_lzma.py index 3dc2c1e..117de0a 100644 --- a/Lib/test/test_lzma.py +++ b/Lib/test/test_lzma.py @@ -333,6 +333,7 @@ class CompressorDecompressorTestCase(unittest.TestCase): # Test with inputs larger than 4GiB. + @support.skip_if_pgo_task @bigmemtest(size=_4G + 100, memuse=2) def test_compressor_bigmem(self, size): lzc = LZMACompressor() @@ -344,6 +345,7 @@ class CompressorDecompressorTestCase(unittest.TestCase): finally: ddata = None + @support.skip_if_pgo_task @bigmemtest(size=_4G + 100, memuse=3) def test_decompressor_bigmem(self, size): lzd = LZMADecompressor() |