summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xml_etree_c.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_xml_etree_c.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_xml_etree_c.py')
-rw-r--r--Lib/test/test_xml_etree_c.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_xml_etree_c.py b/Lib/test/test_xml_etree_c.py
index b3ff7ae..816aa86 100644
--- a/Lib/test/test_xml_etree_c.py
+++ b/Lib/test/test_xml_etree_c.py
@@ -13,10 +13,8 @@ cET_alias = import_fresh_module('xml.etree.cElementTree',
class MiscTests(unittest.TestCase):
# Issue #8651.
- @support.bigmemtest(size=support._2G + 100, memuse=1)
+ @support.bigmemtest(size=support._2G + 100, memuse=1, dry_run=False)
def test_length_overflow(self, size):
- if size < support._2G + 100:
- self.skipTest("not enough free memory, need at least 2 GB")
data = b'x' * size
parser = cET.XMLParser()
try: