Skip to content

Commit 2f2dd99

Browse files
Increase the memory limit in the test for issue #16335.
1 parent 48c50bf commit 2f2dd99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_ucn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def test_strict_error_handling(self):
145145
@unittest.skipUnless(_testcapi.INT_MAX < _testcapi.PY_SSIZE_T_MAX,
146146
"needs UINT_MAX < SIZE_MAX")
147147
@support.bigmemtest(size=_testcapi.UINT_MAX + 1,
148-
memuse=1 + 4 // len('\U00010000'), dry_run=False)
148+
memuse=2 + 4 // len('\U00010000'), dry_run=False)
149149
def test_issue16335(self, size):
150150
# very very long bogus character name
151151
x = b'\\N{SPACE' + b'x' * (_testcapi.UINT_MAX + 1) + b'}'

0 commit comments

Comments
 (0)