From 25d70e655a5efa89857542eccc19f03d53cc1171 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Mon, 11 Oct 2010 23:19:23 -0700 Subject: [PATCH] Fine, be picky about types, Python, see if I care. --- tests/mysqldb_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mysqldb_test.py b/tests/mysqldb_test.py index 4709c4f..8bc1b61 100644 --- a/tests/mysqldb_test.py +++ b/tests/mysqldb_test.py @@ -57,7 +57,7 @@ class MySQLdbTester(LimitedTestCase): self.drop_db() except Exception: 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.execute("create database "+dbname) db.close()