Fix memory consumption estimate in test_unicode_repr_wide
(on Martin's buildbot it still seems a bit inaccurate)
This commit is contained in:
parent
4574e62c6e
commit
0959554b39
|
@ -715,7 +715,7 @@ class StrTest(unittest.TestCase, BaseStrTest):
|
||||||
finally:
|
finally:
|
||||||
r = s = None
|
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):
|
def test_unicode_repr_wide(self, size):
|
||||||
char = "\U0001DCBA"
|
char = "\U0001DCBA"
|
||||||
s = char * size
|
s = char * size
|
||||||
|
|
Loading…
Reference in New Issue