diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-01-10 11:37:54 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-01-10 11:37:54 (GMT) |
commit | 4847e4e1f47bae9ed1855801c70ce7fbdecfa32a (patch) | |
tree | d661b813961c03186fbff33dc46e0840de1abf99 /Lib/test/test_bz2.py | |
parent | f451112413b9ea8940c8c3a902cddf701c62d17f (diff) | |
download | cpython-4847e4e1f47bae9ed1855801c70ce7fbdecfa32a.zip cpython-4847e4e1f47bae9ed1855801c70ce7fbdecfa32a.tar.gz cpython-4847e4e1f47bae9ed1855801c70ce7fbdecfa32a.tar.bz2 |
Issue #19886: Use better estimated memory requirements for bigmem tests.
Incorrect requirements can cause memory swapping.
Diffstat (limited to 'Lib/test/test_bz2.py')
-rw-r--r-- | Lib/test/test_bz2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py index 98557f2..961053d 100644 --- a/Lib/test/test_bz2.py +++ b/Lib/test/test_bz2.py @@ -679,7 +679,7 @@ class BZ2DecompressorTest(BaseTest): self.assertRaises(EOFError, bz2d.decompress, b"anything") self.assertRaises(EOFError, bz2d.decompress, b"") - @bigmemtest(size=_4G + 100, memuse=3) + @bigmemtest(size=_4G + 100, memuse=3.3) def testDecompress4G(self, size): # "Test BZ2Decompressor.decompress() with >4GiB input" blocksize = 10 * 1024 * 1024 |