Kaydet (Commit) 0959554b authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix memory consumption estimate in test_unicode_repr_wide

(on Martin's buildbot it still seems a bit inaccurate)
üst 4574e62c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment