[Python-3000-checkins] r59252 - python/branches/py3k/Lib/test/test_bigmem.py

amaury.forgeotdarc python-3000-checkins at python.org
Sat Dec 1 00:45:17 CET 2007


Author: amaury.forgeotdarc
Date: Sat Dec  1 00:45:17 2007
New Revision: 59252

Modified:
   python/branches/py3k/Lib/test/test_bigmem.py
Log:
Correct a failing test after merge from trunk.


Modified: python/branches/py3k/Lib/test/test_bigmem.py
==============================================================================
--- python/branches/py3k/Lib/test/test_bigmem.py	(original)
+++ python/branches/py3k/Lib/test/test_bigmem.py	Sat Dec  1 00:45:17 2007
@@ -66,12 +66,12 @@
 
     @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)


More information about the Python-3000-checkins mailing list