Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8e6af6

Browse files
Increase the memory limit in the test for issue #16335.
2 parents 6c1fed5 + 5070c27 commit a8e6af6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_ucn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def test_strict_error_handling(self):
219219
@unittest.skipUnless(_testcapi.INT_MAX < _testcapi.PY_SSIZE_T_MAX,
220220
"needs UINT_MAX < SIZE_MAX")
221221
@support.bigmemtest(size=_testcapi.UINT_MAX + 1,
222-
memuse=1 + 1, dry_run=False)
222+
memuse=2 + 1, dry_run=False)
223223
def test_issue16335(self, size):
224224
# very very long bogus character name
225225
x = b'\\N{SPACE' + b'x' * (_testcapi.UINT_MAX + 1) + b'}'

0 commit comments

Comments
 (0)