From 2f2dd992a3b73ee320834916e678be7762c06383 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Fri, 25 Jan 2013 10:12:30 +0200 Subject: Increase the memory limit in the test for issue #16335. --- Lib/test/test_ucn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_ucn.py b/Lib/test/test_ucn.py index 6fae421..fbbe78b 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'}' -- cgit v0.12