Fix memory consumption estimate in test_unicode_repr_wide

(on Martin's buildbot it still seems a bit inaccurate)
This commit is contained in:
Antoine Pitrou 2011-10-07 02:35:00 +02:00
parent 4574e62c6e
commit 0959554b39
1 changed files with 1 additions and 1 deletions

View File

@ -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