[Python-checkins] cpython (merge 3.3 -> default): Increase the memory limit in the test for issue #16335.

serhiy.storchaka python-checkins at python.org
Fri Jan 25 09:18:12 CET 2013


http://hg.python.org/cpython/rev/fcdb35b114ab
changeset: 81699:fcdb35b114ab
parent: 81696:7cc65344b027
parent: 81698:43907b88ce93
user: Serhiy Storchaka <storchaka at gmail.com>
date: Fri Jan 25 10:13:57 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
@@ -219,7 +219,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 + 1, dry_run=False)
+ memuse=2 + 1, 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

AltStyle によって変換されたページ (->オリジナル) /