Correct a failing test after merge from trunk.

This commit is contained in:
Amaury Forgeot d'Arc 2007-11-30 23:45:17 +00:00
parent b5daaed30d
commit 85984227ab
1 changed files with 2 additions and 2 deletions

View File

@ -66,12 +66,12 @@ class StrTest(unittest.TestCase):
@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)