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

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


http://hg.python.org/cpython/rev/43907b88ce93
changeset:   81698:43907b88ce93
branch:      3.3
parent:      81695:d0175f782211
parent:      81697:e3d1b68d34e3
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Fri Jan 25 10:13:37 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