summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_bz2.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-01-10 11:39:27 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-01-10 11:39:27 (GMT)
commit786ac7b27d6eb36a53a91c41877f5cf86aa4f55f (patch)
tree5d5aee1b89f2d9809be9ab43364f1438bc1ce9cf /Lib/test/test_bz2.py
parentc1cb227b3fafd5cb112288e7c24466dff12d9a93 (diff)
parent4847e4e1f47bae9ed1855801c70ce7fbdecfa32a (diff)
downloadcpython-786ac7b27d6eb36a53a91c41877f5cf86aa4f55f.zip
cpython-786ac7b27d6eb36a53a91c41877f5cf86aa4f55f.tar.gz
cpython-786ac7b27d6eb36a53a91c41877f5cf86aa4f55f.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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bz2.py b/Lib/test/test_bz2.py
index cd58f31..26703f5 100644
--- a/Lib/test/test_bz2.py
+++ b/Lib/test/test_bz2.py
@@ -686,7 +686,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