diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-06 20:09:18 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-10-06 20:09:18 (GMT) |
commit | f81ad6fa5aa4cfe24256f31e5e757f3785c73313 (patch) | |
tree | e89524d9e8687a12dc7b67929d076eac89ad0f7d | |
parent | 7c46da79935dead0cadc84ff6ba847927a42ed70 (diff) | |
download | cpython-f81ad6fa5aa4cfe24256f31e5e757f3785c73313.zip cpython-f81ad6fa5aa4cfe24256f31e5e757f3785c73313.tar.gz cpython-f81ad6fa5aa4cfe24256f31e5e757f3785c73313.tar.bz2 |
Make the formula for this estimate more explicit
-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 08a0553..2f50344 100644 --- a/Lib/test/test_bigmem.py +++ b/Lib/test/test_bigmem.py @@ -374,7 +374,7 @@ class BaseStrTest: # suffer for the list size. (Otherwise, it'd cost another 48 times # size in bytes!) Nevertheless, a list of size takes # 8*size bytes. - @bigmemtest(size=_2G + 5, memuse=10) + @bigmemtest(size=_2G + 5, memuse=2 * ascii_char_size + 8) def test_split_large(self, size): _ = self.from_latin1 s = _(' a') * size + _(' ') |