diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-07 00:35:00 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-07 00:35:00 (GMT) |
commit | 0959554b39912e428d22f3b7dcb455862c60bced (patch) | |
tree | 57dac18aae5db39a4a7efb1abd3cab56c5fe5518 | |
parent | 4574e62c6e0f52369a67ffae0984004f9aac2ba5 (diff) | |
download | cpython-0959554b39912e428d22f3b7dcb455862c60bced.zip cpython-0959554b39912e428d22f3b7dcb455862c60bced.tar.gz cpython-0959554b39912e428d22f3b7dcb455862c60bced.tar.bz2 |
Fix memory consumption estimate in test_unicode_repr_wide
(on Martin's buildbot it still seems a bit inaccurate)
-rw-r--r-- | Lib/test/test_bigmem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bigmem.py b/Lib/test/test_bigmem.py index 4d7535c..28e69a0 100644 --- a/Lib/test/test_bigmem.py +++ b/Lib/test/test_bigmem.py @@ -715,7 +715,7 @@ class StrTest(unittest.TestCase, BaseStrTest): finally: r = s = None - @bigmemtest(size=_2G // 5 + 1, memuse=ucs4_char_size + ascii_char_size * 10) + @bigmemtest(size=_2G // 5 + 1, memuse=ucs4_char_size * 2 + ascii_char_size * 10) def test_unicode_repr_wide(self, size): char = "\U0001DCBA" s = char * size |