summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2014-01-02 11:31:00 -0600
committerMonty Taylor <mordred@inaugust.com>2014-01-02 11:31:00 -0600
commit7dd57dcf5f50271d12a6c6bba3d3ca2b3a59348c (patch)
tree3b80095e3d4ae7e802a0003797bb25f66718ef22 /tests
parentb739fb06aa484e121395d17245d420aed6def202 (diff)
parent5ce7d5f8a6f7b5a48cc1ccbfb799ff613e682d2d (diff)
downloadmysqldb1-7dd57dcf5f50271d12a6c6bba3d3ca2b3a59348c.tar.gz
Merge https://github.com/farcepest/MySQLdb1 into merge-upstream
Diffstat (limited to 'tests')
-rw-r--r--tests/test_MySQLdb_capabilities.py2
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