Fine, be picky about types, Python, see if I care.

This commit is contained in:
Ryan Williams
2010-10-11 23:19:23 -07:00
parent 80e879386b
commit 25d70e655a

View File

@@ -57,7 +57,7 @@ class MySQLdbTester(LimitedTestCase):
self.drop_db() self.drop_db()
except Exception: except Exception:
pass pass
dbname = 'test_%d_%d' % (os.getpid(), time.time()*1000) dbname = 'test_%d_%d' % (os.getpid(), int(time.time()*1000))
db = MySQLdb.connect(**auth).cursor() db = MySQLdb.connect(**auth).cursor()
db.execute("create database "+dbname) db.execute("create database "+dbname)
db.close() db.close()