From: Antoine Pitrou Date: Thu, 6 Oct 2011 20:09:18 +0000 (+0200) Subject: Make the formula for this estimate more explicit X-Git-Tag: v3.3.0a1~1274 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f81ad6fa5aa4cfe24256f31e5e757f3785c73313;p=thirdparty%2FPython%2Fcpython.git Make the formula for this estimate more explicit --- diff --git a/Lib/test/test_bigmem.py b/Lib/test/test_bigmem.py index 08a05530e448..2f50344f8312 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 + _(' ')