From: Serhiy Storchaka Date: Fri, 25 Jan 2013 08:12:30 +0000 (+0200) Subject: Increase the memory limit in the test for issue #16335. X-Git-Tag: v3.2.4rc1~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f2dd992a3b73ee320834916e678be7762c06383;p=thirdparty%2FPython%2Fcpython.git Increase the memory limit in the test for issue #16335. --- diff --git a/Lib/test/test_ucn.py b/Lib/test/test_ucn.py index 6fae421f3e33..fbbe78b3166e 100644 --- a/Lib/test/test_ucn.py +++ b/Lib/test/test_ucn.py @@ -145,7 +145,7 @@ class UnicodeNamesTest(unittest.TestCase): @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'}'