mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Increase the memory limit in the test for issue #16335.
This commit is contained in:
commit
a8e6af6ac3
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ class UnicodeNamesTest(unittest.TestCase):
|
||||||
@unittest.skipUnless(_testcapi.INT_MAX < _testcapi.PY_SSIZE_T_MAX,
|
@unittest.skipUnless(_testcapi.INT_MAX < _testcapi.PY_SSIZE_T_MAX,
|
||||||
"needs UINT_MAX < SIZE_MAX")
|
"needs UINT_MAX < SIZE_MAX")
|
||||||
@support.bigmemtest(size=_testcapi.UINT_MAX + 1,
|
@support.bigmemtest(size=_testcapi.UINT_MAX + 1,
|
||||||
memuse=1 + 1, dry_run=False)
|
memuse=2 + 1, dry_run=False)
|
||||||
def test_issue16335(self, size):
|
def test_issue16335(self, size):
|
||||||
# very very long bogus character name
|
# very very long bogus character name
|
||||||
x = b'\\N{SPACE' + b'x' * (_testcapi.UINT_MAX + 1) + b'}'
|
x = b'\\N{SPACE' + b'x' * (_testcapi.UINT_MAX + 1) + b'}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue