diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-25 08:12:30 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-01-25 08:12:30 (GMT) |
commit | 2f2dd992a3b73ee320834916e678be7762c06383 (patch) | |
tree | d7bfa52fc773f33e346710743d2040cc41fb94c7 /Lib | |
parent | 48c50bf4c84636bd92ecd77572120328cd38ee51 (diff) | |
download | cpython-2f2dd992a3b73ee320834916e678be7762c06383.zip cpython-2f2dd992a3b73ee320834916e678be7762c06383.tar.gz cpython-2f2dd992a3b73ee320834916e678be7762c06383.tar.bz2 |
Increase the memory limit in the test for issue #16335.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_ucn.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ucn.py b/Lib/test/test_ucn.py index 6fae421..fbbe78b 100644 --- a/Lib/test/test_ucn.py +++ b/Lib/test/test_ucn.py @@ -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'}' |