diff options
author | Monty Taylor <mordred@inaugust.com> | 2014-01-02 11:31:00 -0600 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2014-01-02 11:31:00 -0600 |
commit | 7dd57dcf5f50271d12a6c6bba3d3ca2b3a59348c (patch) | |
tree | 3b80095e3d4ae7e802a0003797bb25f66718ef22 /tests | |
parent | b739fb06aa484e121395d17245d420aed6def202 (diff) | |
parent | 5ce7d5f8a6f7b5a48cc1ccbfb799ff613e682d2d (diff) | |
download | mysqldb1-7dd57dcf5f50271d12a6c6bba3d3ca2b3a59348c.tar.gz |
Merge https://github.com/farcepest/MySQLdb1 into merge-upstream
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_MySQLdb_capabilities.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_MySQLdb_capabilities.py b/tests/test_MySQLdb_capabilities.py index ebec1e6..ead6982 100644 --- a/tests/test_MySQLdb_capabilities.py +++ b/tests/test_MySQLdb_capabilities.py @@ -77,7 +77,7 @@ class test_MySQLdb(capabilities.DatabaseTest): try:
self.cursor.execute("describe some_non_existent_table");
except self.connection.ProgrammingError, msg:
- self.assertTrue(msg[0] == ER.NO_SUCH_TABLE)
+ self.assertEquals(msg[0], ER.NO_SUCH_TABLE)
def test_bug_3514287(self):
c = self.cursor
|