mirror of
https://github.com/python/cpython
synced 2024-09-06 02:18:37 +00:00
Correct a failing test after merge from trunk.
This commit is contained in:
parent
b5daaed30d
commit
85984227ab
|
@ -66,12 +66,12 @@ def test_count(self, size):
|
|||
|
||||
@bigmemtest(minsize=_2G + 2, memuse=3)
|
||||
def test_decode(self, size):
|
||||
s = '.' * size
|
||||
s = b'.' * size
|
||||
self.assertEquals(len(s.decode('utf-8')), size)
|
||||
|
||||
@bigmemtest(minsize=_2G + 2, memuse=3)
|
||||
def test_encode(self, size):
|
||||
s = u'.' * size
|
||||
s = '.' * size
|
||||
self.assertEquals(len(s.encode('utf-8')), size)
|
||||
|
||||
@bigmemtest(minsize=_2G, memuse=2)
|
||||
|
|
Loading…
Reference in a new issue