mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue