Fine, be picky about types, Python, see if I care.
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user