summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xml_etree_c.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-01-10 11:37:54 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-01-10 11:37:54 (GMT)
commit4847e4e1f47bae9ed1855801c70ce7fbdecfa32a (patch)
treed661b813961c03186fbff33dc46e0840de1abf99 /Lib/test/test_xml_etree_c.py
parentf451112413b9ea8940c8c3a902cddf701c62d17f (diff)
downloadcpython-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_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 bcaa724..d04b7dc 100644
--- a/Lib/test/test_xml_etree_c.py
+++ b/Lib/test/test_xml_etree_c.py
@@ -12,10 +12,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: