summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-10-06 20:09:18 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-10-06 20:09:18 (GMT)
commitf81ad6fa5aa4cfe24256f31e5e757f3785c73313 (patch)
treee89524d9e8687a12dc7b67929d076eac89ad0f7d /Lib
parent7c46da79935dead0cadc84ff6ba847927a42ed70 (diff)
downloadcpython-f81ad6fa5aa4cfe24256f31e5e757f3785c73313.zip
cpython-f81ad6fa5aa4cfe24256f31e5e757f3785c73313.tar.gz
cpython-f81ad6fa5aa4cfe24256f31e5e757f3785c73313.tar.bz2
Make the formula for this estimate more explicit
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_bigmem.py2
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 + _(' ')