Increase the memory limit in the test for issue #16335.
This commit is contained in:
commit
a8e6af6ac3
@ -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…
x
Reference in New Issue
Block a user