From: Serhiy Storchaka Date: Fri, 25 Jan 2013 08:13:37 +0000 (+0200) Subject: Increase the memory limit in the test for issue #16335. X-Git-Tag: v3.3.1rc1~301 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5070c27a8f1ccc887c5cf60fd9993f0df3234f17;p=python Increase the memory limit in the test for issue #16335. --- 5070c27a8f1ccc887c5cf60fd9993f0df3234f17 diff --cc Lib/test/test_ucn.py index f949761ab3,fbbe78b316..2e6374561f --- a/Lib/test/test_ucn.py +++ b/Lib/test/test_ucn.py @@@ -219,7 -145,7 +219,7 @@@ class UnicodeNamesTest(unittest.TestCas @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 + 4 // len('\U00010000'), 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'}'