Increase the memory limit in the test for issue #16335.

This commit is contained in:
Serhiy Storchaka 2013-01-25 10:12:30 +02:00
parent 48c50bf4c8
commit 2f2dd992a3
1 changed files with 1 additions and 1 deletions

View File

@ -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'}'