Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /branches/MySQLdb-1.2/MySQLdb/tests/capabilities.py [r671] .. [r672] Maximize Restore

  Switch to side-by-side view

--- a/branches/MySQLdb-1.2/MySQLdb/tests/capabilities.py
+++ b/branches/MySQLdb-1.2/MySQLdb/tests/capabilities.py
@@ -24,8 +24,9 @@
         db = self.db_module.connect(*self.connect_args, **self.connect_kwargs)
         self.connection = db
         self.cursor = db.cursor()
+        # TODO: this needs to be re-evaluated for Python 3
         self.BLOBText = ''.join([chr(i) for i in range(256)] * 100);
-        self.BLOBUText = ''.join([unichr(i) for i in range(16384)])
+        self.BLOBUText = u''.join([unichr(i) for i in range(16384)])
         self.BLOBBinary = self.db_module.Binary(''.join([chr(i) for i in range(256)] * 16))
 
     leak_test = True