mirror of https://github.com/python/cpython
Fix memory constraint for test_decodeascii
This commit is contained in:
parent
37484dc324
commit
0673088ded
|
@ -118,7 +118,7 @@ class StrTest(unittest.TestCase):
|
||||||
except MemoryError:
|
except MemoryError:
|
||||||
pass # acceptable on 32-bit
|
pass # acceptable on 32-bit
|
||||||
|
|
||||||
@precisionbigmemtest(size=_2G-1, memuse=2)
|
@precisionbigmemtest(size=_2G-1, memuse=4)
|
||||||
def test_decodeascii(self, size):
|
def test_decodeascii(self, size):
|
||||||
return self.basic_encode_test(size, 'ascii', c='A')
|
return self.basic_encode_test(size, 'ascii', c='A')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue