diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2007-11-30 23:45:17 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2007-11-30 23:45:17 (GMT) |
commit | 85984227ab7bc6b0625a897be49a4677c4f0eb47 (patch) | |
tree | 0f3f901ff6192b186c3a9862129c7ff1a12a5a04 /Lib/test/test_bigmem.py | |
parent | b5daaed30d7c54ba1f516289f3a7a30a864133af (diff) | |
download | cpython-85984227ab7bc6b0625a897be49a4677c4f0eb47.zip cpython-85984227ab7bc6b0625a897be49a4677c4f0eb47.tar.gz cpython-85984227ab7bc6b0625a897be49a4677c4f0eb47.tar.bz2 |
Correct a failing test after merge from trunk.
Diffstat (limited to 'Lib/test/test_bigmem.py')
-rw-r--r-- | Lib/test/test_bigmem.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_bigmem.py b/Lib/test/test_bigmem.py index 652a523..27e1ecf 100644 --- a/Lib/test/test_bigmem.py +++ b/Lib/test/test_bigmem.py @@ -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) |