Some (many) tests actually pass now on Python 3. May no longer be backwards-compatible with Python < 2.6.

This commit is contained in:
adustman
2012-09-08 20:24:45 +00:00
parent fe917fcced
commit 8041cc6df6
8 changed files with 24 additions and 20 deletions

View File

@ -77,7 +77,7 @@ class test_MySQLdb(capabilities.DatabaseTest):
from MySQLdb.constants import ER
try:
self.cursor.execute("describe some_non_existent_table");
except self.connection.ProgrammingError as msg:
except self.connection.ProgrammingError as (msg,):
self.assertTrue(msg[0] == ER.NO_SUCH_TABLE)
def test_bug_3514287(self):