[Python-checkins] cpython (3.2): Increase the memory limit in the test for issue #16335.
serhiy.storchaka
python-checkins at python.org
Fri Jan 25 09:18:09 CET 2013
http://hg.python.org/cpython/rev/e3d1b68d34e3
changeset: 81697:e3d1b68d34e3
branch: 3.2
parent: 81690:5b02d622d625
user: Serhiy Storchaka <storchaka at gmail.com>
date: Fri Jan 25 10:12:30 2013 +0200
summary:
Increase the memory limit in the test for issue #16335.
files:
Lib/test/test_ucn.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_ucn.py b/Lib/test/test_ucn.py
--- a/Lib/test/test_ucn.py
+++ b/Lib/test/test_ucn.py
@@ -145,7 +145,7 @@
@unittest.skipUnless(_testcapi.INT_MAX < _testcapi.PY_SSIZE_T_MAX,
"needs UINT_MAX < SIZE_MAX")
@support.bigmemtest(size=_testcapi.UINT_MAX + 1,
- memuse=1 + 4 // len('\U00010000'), dry_run=False)
+ memuse=2 + 4 // len('\U00010000'), dry_run=False)
def test_issue16335(self, size):
# very very long bogus character name
x = b'\\N{SPACE' + b'x' * (_testcapi.UINT_MAX + 1) + b'}'
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list