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)
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to